CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   chtMultiRegionFoam, error while when defining the thermodynamic properties (

nakor September 12, 2012 15:22

chtMultiRegionFoam, error while when defining the thermodynamic properties

I seem to have an error while defining my fluid thermophisycal properties.

Adding to thermoFluid

Selecting thermodynamics package hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/"
#1 *Foam::sigFpe::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/"
#2 * in "/lib/x86_64-linux-gnu/"
#3 *Foam::hsRhoThermo<Foam::pureMixture<Foam::constTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::calculate() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/"

My thermophysicalpropertiesfiles is defined as follow :

thermoType    hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;

        nMoles          1;
        molWeight      28.9;
        Cp              1000;
        Hf              0;
        mu              1.8e-05;
        Pr              0.7;

// ************************************************************************* //

I did try to replace my fluid region by a solid one, and I could avoid this error.
So I guess that hRhoThermo... is using a constant which is null and ill defined but I can not find which one. Any idea of where I should be looking ?

I can run the tutorial with the same law (hRhoThermo<pureMixture...), so something is wrong with one of my boundary condition, or constant file.
I did copy the whole tutorial chtmultiregionsimplefoam, and then I replaced the polymesh folder, and run my own blockMesh, snappyhexmesh, toposet, and splitMeshRegion.

Thanks in advance,

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