CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   failed lookup of phaseProperties (https://www.cfd-online.com/Forums/openfoam-solving/251217-failed-lookup-phaseproperties.html)

morphadron August 2, 2023 13:41

failed lookup of phaseProperties
 
Hello all, I'm working on simulating a conjugate heat transfer problem that also involves multiphase fluids, both evaporation and condensation. The solver that I'm using is chtMultiRegionTwoPhaseEulerFoam.

The geometry is a cylindrical tube that consists of four different regions: fluid inside the encapsulated tube (separated as liquid and vapor phases with setFields), a heater and condenser section, touching to the outer sections of wall as well as the enclosure of the wall.

I have created all the boundaries and meshes for different regions as well as thermophysical properties files according to the tutorial in OpenFoam version 2212, SolidQuenching_2D. phaseProperties file is also included for the two phase fluid.

The error that I'm receiving is interesting. I searched online and could not find anything such as this. I created a "solid" region, called* "cooler", attached with a fixedMultiPhaseHeatFlux boundary condition at the outer surface to remove heat, from which the condensation of the fluid will occur through the conduction of walls in between.

direction of heat should be right to left
( heat removal <- cooler <- wall <- vapor phase)
convection conduction convection


Openfoam gives an error, attached below;

================

Solving for solid region cooler


--> FOAM FATAL ERROR: (openfoam-2212 patch=230110)

failed lookup of phaseProperties (objectRegistry cooler)
available objects of type phaseSystem:
0()


From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::phaseSystem]
in file /usr/src/packages/BUILD/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 571.

FOAM exiting

============

From this error, I understand it is trying to access phaseProperties file of the "cooler" region, defined above. But the cooler region is a solid structure, and it doesn't make any sense for me that it's asking for two-phase properties for it.

I have checked all of the files, and still could not resolve the problem.

If you could help or suggest any solutions, I would be glad.

Jialin September 5, 2023 06:30

Hi,

Did u solved the problem, i have meet same issu.
but failed lookup a flied like this

failed lookup of schmelz (objectRegistry schmelz)
available objects of type volScalarField:
....

morphadron September 5, 2023 10:02

Unfortunately, no. Problem still persists for me.


All times are GMT -4. The time now is 15:38.