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

thermophysicalProperties

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2012, 07:48
Default thermophysicalProperties
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
Dear All,

how about thermophysicalProperties dictionary?

How can I modify it if - for instance - I'd like to use water instead of air?

Code:
air 
{ 
    specie 
    { 
        nMoles          1; 
        molWeight       28.96; 
    } 
    thermodynamics 
    { 
        Cp              1004.5; 
        Hf              2.544e+06; 
    } 
    transport 
    { 
        mu              1.8e-05; 
        Pr              0.7; 
    } 
}
Could you help? Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   December 26, 2012, 14:40
Thumbs up
  #2
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by samiam1000 View Post
Dear All,

how about thermophysicalProperties dictionary?

How can I modify it if - for instance - I'd like to use water instead of air?

Code:
air 
{ 
    specie 
    { 
        nMoles          1; 
        molWeight       28.96; 
    } 
    thermodynamics 
    { 
        Cp              1004.5; 
        Hf              2.544e+06; 
    } 
    transport 
    { 
        mu              1.8e-05; 
        Pr              0.7; 
    } 
}
Could you help? Thanks a lot,
Samuele
the best way to copy this file from this tutorial case

tutorials/heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/constant/bottomWater/thermophysicalProperties

it is like this
Code:
thermoType
hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<incompressible>>>>>;

mixture
{
    specie
    {
        nMoles          1;
        molWeight       18;
    }
    equationOfState
    {
        rho             1000;
    }
    thermodynamics
    {
        Cp              4181;
        Hf              0;
    }
    transport
    {
        mu              959e-6;
        Pr              6.62;
    }
}
happy Foaming
Ahmed Khattab is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 01:29.