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

Boussinesq equation of state combined with polynomial viscosity

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By TomasDenk
  • 3 Post By Marpole

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2018, 06:02
Default Boussinesq equation of state combined with polynomial viscosity
  #1
Member
 
Tomas Denk
Join Date: May 2017
Posts: 30
Rep Power: 9
TomasDenk is on a distinguished road
Hi,

I'd like to solve a case where fluid density and viscosity depend on temperature. There are also some walls so I use chtMultiRegionSimpleFoam application.

When I set up thermophysical properties of the fluid like this:
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       polynomial;
    thermo          hPolynomial;
    equationOfState Boussinesq;
    specie          specie;
    energy          sensibleEnthalpy;
}
I get FOAM FATAL ERROR: Unknown rhoTherm type, followed by listing of valid combinations. I can either use combination sutherland-janaf-Boussineq or polynomial-hPolynomial-icoPolynomial (for transport-thermo-equasionOfState respectively), however, I'd prefer not to.

Naive attempt to add another valid combination by adding
Code:
makeThermos
(
    rhoThermo,
    heRhoThermo,
    pureMixture,
    polynomialTransport,
    sensibleEnthalpy,
    hPolynomialThermo,
    Boussinesq,
    specie
);
to $FOAM_SRC/thermophysicalModels/basic/rhoThermo/rhoThermos.C did not help. Can someone explain why?

Is there a way to use combination of polynomial mu and Cp along with Boussinesq approximation?
parthigcar and Naaren like this.
TomasDenk is offline   Reply With Quote

Old   October 29, 2020, 08:41
Default
  #2
New Member
 
Join Date: Jul 2019
Posts: 11
Rep Power: 7
Jan995 is on a distinguished road
Hi.

Did you find a proper solution to your problem?
Jan995 is offline   Reply With Quote

Old   October 29, 2020, 15:25
Default Re: polynomial
  #3
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10
Marpole is on a distinguished road
You can use polynomial.
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       polynomial;
    thermo          hPolynomial;
    equationOfState icoPolynomial;
    specie          specie;
    energy          sensibleInternalEnergy;
}
For the equation of state, Boussinesq equation can be approximated by a polynomial. See Peric's book on page 15,
\rho = (\rho_0 + \rho_0 \beta T_0) - \rho_0 \beta T
TomasDenk, Jan995 and parthigcar like this.
__________________
Charles L.
Marpole is offline   Reply With Quote

Old   October 30, 2020, 04:16
Default
  #4
Member
 
Tomas Denk
Join Date: May 2017
Posts: 30
Rep Power: 9
TomasDenk is on a distinguished road
Interesting, thanks for this tip, I haven't thought of that.
TomasDenk is offline   Reply With Quote

Reply

Tags
boussinesq approximation, thermophysical model


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
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 03:54
continuity equation was diverging in transient state stenber FLUENT 0 March 19, 2016 23:37
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 18:00
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 14:32
Lid-Driven-Cavity (thermodyn. equation of state)? Simonee Main CFD Forum 4 March 18, 2014 07:34


All times are GMT -4. The time now is 06:24.