|
[Sponsors] |
February 23, 2024, 13:33 |
chtMultiRegionFoam
|
#1 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
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; } |
|
February 23, 2024, 15:28 |
|
#2 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
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 |
|
February 26, 2024, 12:29 |
|
#3 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
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?
|
|
February 28, 2024, 05:43 |
|
#4 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
Upload the case please and let me have a closer look.
The whole case please. Regards Peter |
|
February 29, 2024, 07:35 |
|
#5 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
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. |
|
|
|
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 |