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

Degree/size of polynomials for thermo and transport (OF 2.2)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2013, 05:46
Default Degree/size of polynomials for thermo and transport (OF 2.2)
  #1
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17
markusrehm is on a distinguished road
Hi all,

I would like to have a variable density for water the only combination that allows that to me is:

Code:
Valid rhoThermo types are:

type         mixture                    transport   thermo       equationOfState           specie  energy                   
...
heRhoThermo  pureMixture                polynomial  hPolynomial  icoPolynomial             specie  sensibleEnthalpy        
heRhoThermo  pureMixture                polynomial  hPolynomial  icoPolynomial             specie  sensibleInternalEnergy  
...
So I used the following combination:
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       polynomial; 
    thermo          hPolynomial; 
    equationOfState icoPolynomial; 
    specie          specie;
    energy          sensibleEnthalpy;
}
That works fine if I define the polynomials like
Code:
CpCoeffs<8>               ( 4200 0 0 0 0 0 0 0 );     //[J/kg/K]
But how would I define a different degree for a polynomial, e.g.
Code:
CpCoeffs<1>               ( 4200 );     //[J/kg/K]
Since I do not need the accuracy, especially for cp and I think the poly evaluation eats up a lot of time.

Regards,
Markus.
markusrehm 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
Tcp transport error Adriana FLUENT 1 December 21, 2012 06:31
Re: Can I simulate sediment transport with FLUENT li li FLUENT 0 October 21, 2003 21:42


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