CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2024, 13:33
Default chtMultiRegionFoam
  #1
New Member
 
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2
kac24 is on a distinguished road
Hi,

I wrote a very similar post a couple of days ago on pre-processing forum. I went through a range of issues and here >

Case is supposed to simulate heat transfer in standard heating pipe (copper, 15mm diameter).


The error that I am getting is:
--> FOAM FATAL ERROR: (openfoam-2306)

failed lookup of phi (objectRegistry pipe)
available objects of type surfaceScalarField:
0()


From const Type& Foam:bjectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricF>
in file /home/k/kac24/codes/v2306-alice3/OpenFOAM-v2306/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line>

FOAM exiting

The case is very similar to tutorial case tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater

The commands I am using are:
blockMesh
topoSet
restore0Dir
splitMeshRegions -cellZones -overwrite
changeDictionary -region water
changeDictionary -region pipe
chtMultiRegionFoam

(the last one mostly because I can't get parallel to work)

My suspition is with boundary condition for p_rgh:

inlet
{
type fixedFluxPressure;
}
Attached Files
File Type: zip 0.zip (43.4 KB, 3 views)
File Type: zip constant.zip (4.7 KB, 2 views)
File Type: zip system.zip (6.8 KB, 2 views)
kac24 is offline   Reply With Quote

Old   February 23, 2024, 15:28
Default
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello!

The values of p & prgh in your case have both the value 0.

That means it is absolutely vacuum.

Increase them to the 1e5.

Take a look to the tutorial:

multiRegionHeater

Most likely stored here:

/usr/lib/openfoam/openfoam2306/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/

and use the default setups.

Regards
Peter
peterhess is offline   Reply With Quote

Old   February 26, 2024, 12:29
Default
  #3
New Member
 
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2
kac24 is on a distinguished road
Thank you for your help, I really appreciate it. Unfortunately, after changing the pressure I still encounter the same error. Do you have any other ideas?
kac24 is offline   Reply With Quote

Old   February 28, 2024, 05:43
Default
  #4
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Upload the case please and let me have a closer look.
The whole case please.
Regards
Peter
peterhess is offline   Reply With Quote

Old   February 29, 2024, 07:35
Default
  #5
New Member
 
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2
kac24 is on a distinguished road
I have finally managed to solve it:

The issue was:

file: solid/T

outlet
{
type inletOutlet;
inletValue uniform 333.15;
value uniform 333.15;
}

patch outlet is called outlet only because it was easier for me to call it that for the sake of fluid region.

inletOutlet boundary condition can not be used in solid region.
kac24 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
chtMultiRegionFoam solver stops without any error amol_patel OpenFOAM Running, Solving & CFD 4 July 5, 2024 02:41
pimpleControl class for chtMultiRegionFoam Solver Mitomi OpenFOAM Programming & Development 0 April 26, 2023 20:51
Help with PIMPLE algorithm in chtMultiregionFoam Chris T OpenFOAM Running, Solving & CFD 0 August 30, 2022 09:49
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 07:34
Embed explicitSetValue in chtMultiRegionFoam samiam1000 OpenFOAM 2 April 18, 2012 06:14


All times are GMT -4. The time now is 01:12.