Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
Boussinesq Class Reference

Incompressible gas equation of state using the Boussinesq approximation for the density as a function of temperature only: More...

Public Member Functions

 Boussinesq (const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
 
 Boussinesq (const dictionary &dict)
 
 Boussinesq (const word &name, const Boussinesq &)
 
autoPtr< Boussinesqclone () const
 
scalar rho (scalar p, scalar T) const
 
scalar H (const scalar p, const scalar T) const
 
scalar Cp (scalar p, scalar T) const
 
scalar E (const scalar p, const scalar T) const
 
scalar Cv (scalar p, scalar T) const
 
scalar S (const scalar p, const scalar T) const
 
scalar psi (scalar p, scalar T) const
 
scalar Z (scalar p, scalar T) const
 
scalar CpMCv (scalar p, scalar T) const
 
void write (Ostream &os) const
 
void operator= (const Boussinesq &)
 
void operator+= (const Boussinesq &)
 
void operator*= (const scalar)
 

Static Public Member Functions

static autoPtr< BoussinesqNew (const dictionary &dict)
 
static word typeName ()
 

Static Public Attributes

static const bool incompressible = true
 
static const bool isochoric = false
 

Friends

Boussinesq operator+ (const Boussinesq &, const Boussinesq &)
 
Boussinesq operator* (const scalar s, const Boussinesq &)
 
Boussinesq operator== (const Boussinesq &, const Boussinesq &)
 
Ostreamoperator (Ostream &, const Boussinesq &)
 

Detailed Description

Incompressible gas equation of state using the Boussinesq approximation for the density as a function of temperature only:

    rho = rho0*(1 - beta*(T - T0))
Source files

Definition at line 53 of file Boussinesq.H.

Constructor & Destructor Documentation

◆ Boussinesq() [1/3]

Boussinesq ( const Specie &  sp,
const scalar  rho0,
const scalar  T0,
const scalar  beta 
)
inline

Definition at line 28 of file BoussinesqI.H.

◆ Boussinesq() [2/3]

Boussinesq ( const dictionary dict)

Definition at line 28 of file Boussinesq.C.

◆ Boussinesq() [3/3]

Boussinesq ( const word name,
const Boussinesq  
)
inline

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::Boussinesq< Specie > > clone ( ) const
inline

Definition at line 55 of file BoussinesqI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::Boussinesq< Specie > > New ( const dictionary dict)
inlinestatic

Definition at line 64 of file BoussinesqI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 141 of file Boussinesq.H.

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const
inline

Definition at line 76 of file BoussinesqI.H.

References Foam::T().

Here is the call graph for this function:

◆ H()

Foam::scalar H ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 86 of file BoussinesqI.H.

◆ Cp()

Foam::scalar Cp ( scalar  p,
scalar  T 
) const
inline

Definition at line 93 of file BoussinesqI.H.

◆ E()

Foam::scalar E ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 99 of file BoussinesqI.H.

◆ Cv()

Foam::scalar Cv ( scalar  p,
scalar  T 
) const
inline

Definition at line 106 of file BoussinesqI.H.

◆ S()

Foam::scalar S ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 114 of file BoussinesqI.H.

◆ psi()

Foam::scalar psi ( scalar  p,
scalar  T 
) const
inline

Definition at line 125 of file BoussinesqI.H.

◆ Z()

Foam::scalar Z ( scalar  p,
scalar  T 
) const
inline

Definition at line 136 of file BoussinesqI.H.

◆ CpMCv()

Foam::scalar CpMCv ( scalar  p,
scalar  T 
) const
inline

Definition at line 147 of file BoussinesqI.H.

◆ write()

void write ( Ostream os) const

Definition at line 42 of file Boussinesq.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

◆ operator=()

void operator= ( const Boussinesq )
inline

Definition at line 160 of file BoussinesqI.H.

References Foam::constant::physicoChemical::b.

◆ operator+=()

void operator+= ( const Boussinesq )
inline

Definition at line 174 of file BoussinesqI.H.

References Foam::constant::physicoChemical::b, Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 194 of file BoussinesqI.H.

References s.

Friends And Related Function Documentation

◆ operator+

Boussinesq operator+ ( const Boussinesq ,
const Boussinesq  
)
friend

◆ operator*

Boussinesq operator* ( const scalar  s,
const Boussinesq  
)
friend

◆ operator==

Boussinesq operator== ( const Boussinesq ,
const Boussinesq  
)
friend

◆ operator

Ostream& operator ( Ostream ,
const Boussinesq  
)
friend

Member Data Documentation

◆ incompressible

const bool incompressible = true
static

Definition at line 152 of file Boussinesq.H.

◆ isochoric

const bool isochoric = false
static

Definition at line 155 of file Boussinesq.H.


The documentation for this class was generated from the following files: