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

Thermodynamic models with hPolynomial

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2016, 06:07
Default Thermodynamic models with hPolynomial
  #1
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
Hi all,
Does anyone know how to define hPolynomial in the thermo choice (within the thermophysicalProperties file) ?
An example file would be veeeery helpfull
Adrien
adrieno is offline   Reply With Quote

Old   April 15, 2016, 08:09
Default
  #2
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
Hi again,

I've found one example that I post right here for anyone who would need.



Code:
 
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       polynomial;
    thermo          hPolynomial;
    equationOfState icoPolynomial;
    specie          specie;
    energy          sensibleEnthalpy;
}

dpdt            no; 

// Cooler - water
// Data from H2O_NIST
// Values for 590 < T < 619 (K)
// Data for viscosity (mu), kappa, Cp and rho were fitted for polynomials
// of 6th order.

mixture
{
    specie
    {
        // Water mol weight [g/mol]
        nMoles          1;
        molWeight       18.02; 
    }

    transport
    {
      // *** polynomial
      // mu [Pa.s]
      // kappa [W/m/K]

     muCoeffs<8> (0.477756 -0.00337294 7.80884e-06 -2.59645e-09 -1.64495e-11 2.49614e-14 -1.10764e-17 0);
     kappaCoeffs<8> (1456.92 -10.2864 0.0238197 -7.80437e-06 -5.02923e-08 7.60632e-11 -3.36662e-14 0);
    }

    thermodynamics
    {
      // *** hPolynomial
      // Cp = [J/kg/K]
      Hf  0;
      Sf  0;
      CpCoeffs<8> (-7.56975e08 5.24432e06 -11530.9 1.22828 0.0308639 -4.34995e-05 1.88346e-08 0);
    }

    equationOfState
    {
      // *** icoPolynomial
      // rho = [Kg/m^3]
      rhoCoeffs<8> (4.02745e06 -27520.6 57.8951 0.00610405 -0.000187407 2.52756e-07 -1.08057e-10 0);
    }
}
One more question :
Do you know if in the code in the thermodynamics definition:

Hf 0;
Sf 0;

are some placeholders or not ?

Thank you,

Adrien
adrieno 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Eddy Viscosity Models and Reynolds Stress Models JuPa CFX 1 August 20, 2013 18:56
error message cuteapathy CFX 14 March 20, 2012 06:45
Mach 6 Thermodynamic, Turbulence Models? Aya FLUENT 0 December 28, 2000 00:11


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