CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   chtMultiRegionFoam, error while when defining the thermodynamic properties (http://www.cfd-online.com/Forums/openfoam-solving/106938-chtmultiregionfoam-error-while-when-defining-thermodynamic-properties.html)

nakor September 12, 2012 15:22

chtMultiRegionFoam, error while when defining the thermodynamic properties
 
Hello,

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

Adding to thermoFluid

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

My thermophysicalpropertiesfiles is defined as follow :
Code:

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



mixture
{
    specie
    {
        nMoles          1;
        molWeight      28.9;
    }
    thermodynamics
    {
        Cp              1000;
        Hf              0;
    }
    transport
    {
        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,
Romain


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