|
[Sponsors] |
February 13, 2024, 09:00 |
error bad lookup of thermophysicalProperties
|
#1 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
Hi, I am having issues with this error, the way I idenify it it is that openfoam think ,my fluid (water) phase is solid. I have already spent two days trying to solve it, and now I am asking for help.
Solver used: chtMultiRegionSimpleFoam --> FOAM FATAL ERROR: (openfoam-2306) bad lookup of thermophysicalProperties (objectRegistry water) expected a solidThermo, found a heRhoThermo<pureMixture<const<hConst<rhoConst<spec ie>>,sensibleEnthalpy>>> From const Type& Foam:bjectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::solidThermo] in file /home/k/kac24/codes/v2306-alice3/OpenFOAM-v2306/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 558. FOAM exiting |
|
February 13, 2024, 09:29 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,248
Rep Power: 29 |
Hello,
How is defined your constant/regionProperties file? |
|
February 13, 2024, 09:57 |
constant/regionProperties
|
#3 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
constant/regionProperties
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2306 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object regionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // regions ( fluid (water) solid (pipe) ); // ************************************************** *********************** // |
|
February 13, 2024, 10:08 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,248
Rep Power: 29 |
Alright, then maybe there is something wrong in your boundary conditions.
Not sure where, but I would start by looking at the T file for water. |
|
February 13, 2024, 10:22 |
|
#5 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2306 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 333.15; //boiler supplied 60 [degC] =333.15[K] boundaryField { inlet { type fixedValue; value uniform 333.15; } outlet { type inletOutlet; inletValue uniform 333.15; value uniform 333.15; } water_to_pipe { type compressible::turbulentTemperatureCoupledBaffleMix ed; Tnbr T; thicknessLayers (0.7); kappaLayers (0.6); kappaMethod solidThermo; kappa kappa; value uniform 333.15; } } I see my mistake in kappaMethod Thank you |
|
February 13, 2024, 11:36 |
|
#6 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
/var/spool/slurmd/job744965/slurm_script: line 23: source: /home/k/kac24/codes/v2306-alice3/OpenFOAM-v2306/applications/solvers: is a directory
--> 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::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>] in file /home/k/kac24/codes/v2306-alice3/OpenFOAM-v2306/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 571. FOAM exiting unfortunately now I am getting this error |
|
February 13, 2024, 12:26 |
|
#7 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,248
Rep Power: 29 |
It could be a function object issue, but there is not enough information in your post to really know.
|
|
February 14, 2024, 11:36 |
|
#8 |
New Member
Karol Celinski
Join Date: Feb 2024
Location: UK
Posts: 13
Rep Power: 2 |
My case is attached
|
|
February 14, 2024, 11:59 |
|
#9 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,248
Rep Power: 29 |
Hello,
I don't know if this is the actual case you are running but I am not able to reproduce your error with the files you provided so I cannot really help. Yann |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam restarting simulation, stops at first Time loop | syntex | OpenFOAM Running, Solving & CFD | 4 | April 5, 2019 12:20 |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 06:25 |
DPMFoam - Serious Error --particle-laden flow in simple geometric config | benz25 | OpenFOAM Running, Solving & CFD | 27 | December 19, 2017 21:47 |
Convergence on anisotropic tetahedral meshes | pbo | OpenFOAM Running, Solving & CFD | 12 | December 14, 2010 12:59 |
Buoyancydriven cavity flow | anita | OpenFOAM Running, Solving & CFD | 3 | March 26, 2008 11:24 |