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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 12, 2013, 04: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: 178
Rep Power: 8
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

Thread Tools
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 On
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 20:42


All times are GMT -4. The time now is 02:09.