FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Abstract class for barotropic compressibility models. More...

#include <barotropicCompressibilityModel/barotropicCompressibilityModel.H>


Detailed Description

Abstract class for barotropic compressibility models.

Source files

Definition at line 61 of file barotropicCompressibilityModel.H.

Inheritance diagram for barotropicCompressibilityModel:
Collaboration diagram for barotropicCompressibilityModel:

List of all members.

Public Member Functions

 TypeName ("barotropicCompressibilityModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, barotropicCompressibilityModel, dictionary,(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName),(compressibilityProperties, gamma, psiName))
 barotropicCompressibilityModel (const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
 Construct from components.
virtual  ~barotropicCompressibilityModel ()
const dictionary &  compressibilityProperties () const
 Return the phase transport properties dictionary.
const volScalarField &  psi () const
 Return the compressibility.
virtual void  correct ()=0
 Correct the compressibility.
virtual bool  read (const dictionary &compressibilityProperties)=0
 Read compressibilityProperties dictionary.

Static Public Member Functions

static autoPtr
< barotropicCompressibilityModel >  
New (const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
 Return a reference to the selected compressibility model.

Protected Member Functions

 barotropicCompressibilityModel (const barotropicCompressibilityModel &)
 Disallow copy construct.
void  operator= (const barotropicCompressibilityModel &)
 Disallow default bitwise assignment.

Protected Attributes

dictionary  compressibilityProperties_
volScalarField  psi_
const volScalarField &  gamma_

Constructor & Destructor Documentation

Disallow copy construct.

barotropicCompressibilityModel ( const dictionary &   compressibilityProperties,
const volScalarField &   gamma,
const word &   psiName = "psi"  
)

Construct from components.

Definition at line 42 of file barotropicCompressibilityModel.C.

virtual ~barotropicCompressibilityModel (  ) [inline, virtual]

Definition at line 129 of file barotropicCompressibilityModel.H.


Member Function Documentation

void operator= ( const barotropicCompressibilityModel &    ) [protected]

Disallow default bitwise assignment.

TypeName ( "barotropicCompressibilityModel"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
barotropicCompressibilityModel   ,
dictionary   ,
(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName)   ,
(compressibilityProperties, gamma, psiName)    
)
Foam::autoPtr< Foam::barotropicCompressibilityModel > New ( const dictionary &   compressibilityProperties,
const volScalarField &   gamma,
const word &   psiName = "psi"  
) [static]

Return a reference to the selected compressibility model.

Definition at line 32 of file newBarotropicCompressibilityModel.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and dictionary::lookup().

const dictionary& compressibilityProperties (  ) const [inline]

Return the phase transport properties dictionary.

Definition at line 136 of file barotropicCompressibilityModel.H.

References barotropicCompressibilityModel::compressibilityProperties_.

const volScalarField& psi (  ) const [inline]

Return the compressibility.

Definition at line 142 of file barotropicCompressibilityModel.H.

References barotropicCompressibilityModel::psi_.

virtual void correct (  ) [pure virtual]

Correct the compressibility.

Implemented in Chung, linear, and Wallis.

bool read ( const dictionary &   compressibilityProperties  ) [pure virtual]

Read compressibilityProperties dictionary.

Implemented in Chung, linear, and Wallis.

Definition at line 67 of file barotropicCompressibilityModel.C.

Referenced by Wallis::read(), Chung::read(), and linear::read().


Member Data Documentation

const volScalarField& gamma_ [protected]

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