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

RhoConst (rho = const) of state. More...

Public Member Functions

 rhoConst (const Specie &sp, const scalar rho)
 
 rhoConst (const dictionary &dict)
 
 rhoConst (const word &name, const rhoConst &)
 
autoPtr< rhoConstclone () 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 rhoConst &)
 
void operator*= (const scalar)
 

Static Public Member Functions

static word typeName ()
 

Static Public Attributes

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

Friends

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

Detailed Description

RhoConst (rho = const) of state.

Source files

Definition at line 48 of file rhoConst.H.

Constructor & Destructor Documentation

◆ rhoConst() [1/3]

rhoConst ( const Specie &  sp,
const scalar  rho 
)
inline

Definition at line 27 of file rhoConstI.H.

◆ rhoConst() [2/3]

rhoConst ( const dictionary dict)

Definition at line 27 of file rhoConst.C.

◆ rhoConst() [3/3]

rhoConst ( const word name,
const rhoConst  
)
inline

Member Function Documentation

◆ clone()

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

Definition at line 53 of file rhoConstI.H.

References Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 114 of file rhoConst.H.

◆ rho()

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

Definition at line 62 of file rhoConstI.H.

◆ H()

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

Definition at line 69 of file rhoConstI.H.

◆ Cp()

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

Definition at line 76 of file rhoConstI.H.

◆ E()

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

Definition at line 83 of file rhoConstI.H.

◆ Cv()

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

Definition at line 90 of file rhoConstI.H.

◆ S()

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

Definition at line 97 of file rhoConstI.H.

◆ psi()

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

Definition at line 104 of file rhoConstI.H.

◆ Z()

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

Definition at line 111 of file rhoConstI.H.

◆ CpMCv()

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

Definition at line 118 of file rhoConstI.H.

◆ write()

void write ( Ostream os) const

Definition at line 37 of file rhoConst.C.

References Ostream::beginBlock(), Ostream::endBlock(), os(), Foam::vtk::write(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ operator+=()

void operator+= ( const rhoConst )
inline

Definition at line 127 of file rhoConstI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 143 of file rhoConstI.H.

References s.

Friends And Related Function Documentation

◆ operator+

rhoConst operator+ ( const rhoConst ,
const rhoConst  
)
friend

◆ operator*

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

◆ operator==

rhoConst operator== ( const rhoConst ,
const rhoConst  
)
friend

◆ operator

Ostream& operator ( Ostream ,
const rhoConst  
)
friend

Member Data Documentation

◆ incompressible

const bool incompressible = true
static

Definition at line 123 of file rhoConst.H.

◆ isochoric

const bool isochoric = true
static

Definition at line 126 of file rhoConst.H.


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