CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionFoam - Thermophysical Properties error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2015, 04:30
Default chtMultiRegionFoam - Thermophysical Properties error
  #1
Member
 
Join Date: Nov 2014
Posts: 36
Rep Power: 11
Tscar is on a distinguished road
Hello,
may I ask how can I fix following error? Unfortunately, I was not able to find right answer in already existing threads.

My case is a flow in vertical pipe. Lower inlet air has a higher temperature and by buyoncy the air goes up. I already modeled the case with buoyantBoussinesqPimpleFoam and now i would like to add heat transfer from air to the solid pipe (wich has uniform outer temperature).

I created multi region mesh in Salome and i used following commands to export the mesh to openfoam and to create solid and fluid regions

ideasUnvToFoam meshname.unv
splitMeshRegions -cellZones -overwrite

Code:
Create time

Create fluid mesh for region fluid for time = 0

Create solid mesh for region solid for time = 0

*** Reading fluid mesh thermophysical properties for region fluid

    Adding to thermoFluid

Selecting thermodynamics package 
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3   Foam::heRhoThermo<Foam::rhoThermo,  Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie>  >, Foam::sensibleEnthalpy> > > >::calculate() at ??:?
#4    Foam::rhoThermo::addfvMeshConstructorToTable<Foam::heRhoThermo<Foam::rhoThermo,   Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie>  >, Foam::sensibleEnthalpy> > > > >::New(Foam::fvMesh  const&, Foam::word const&) at ??:?
#5   Foam::autoPtr<Foam::rhoThermo>  Foam::basicThermo::New<Foam::rhoThermo>(Foam::fvMesh const&,  Foam::word const&) at ??:?
#6  Foam::rhoThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#7  ? at ??:?
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? at ??:?
Problems appears to be in the thermophysicalProperties dictionary for fluid region.

Thank you.
Tscar is offline   Reply With Quote

Old   August 26, 2015, 04:37
Default
  #2
Member
 
Join Date: Nov 2014
Posts: 36
Rep Power: 11
Tscar is on a distinguished road
I forgot to add my termophysicalProperties file

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            heRhoThermo;    
    mixture         pureMixture;    
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

mixture
{
    specie
    {
        nMoles      1;
        molWeight   28.9;
    }
    thermodynamics
    {
        Cp          1004.5;
        Hf          274228.5;
    }
    transport
    {
        mu          1.71969e-05;    //13.3*1.293e-6
        Pr          0.715;
    }
}


// ************************************************************************* //
Tscar is offline   Reply With Quote

Old   August 27, 2015, 08:24
Default
  #3
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Are you solving in parallel? If so you have to add values for temperature and pressure to all boundary fields, especially the processor fields. Otherwise you will have division by zero in the first iteration of the ideal gas law.

Cheers

Fabian
fabian_roesler is offline   Reply With Quote

Old   September 23, 2021, 11:34
Default
  #4
New Member
 
Majid Mansouri
Join Date: Apr 2020
Posts: 1
Rep Power: 0
manbo is on a distinguished road
Hi!
I'm experiencing the same issue after almost seven years with version 8 of openfoam. Did you at last find what was wrong back then?
manbo is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 19:54.