OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

phase Class Reference

Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture for interface-capturing multi-phase simulations. More...

Inheritance diagram for phase:
Collaboration diagram for phase:

List of all members.


Classes

class  iNew
 Return a pointer to a new phase created on freestore. More...

Public Member Functions

 phase (const word &name, const dictionary &phaseDict, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components.
autoPtr< phaseclone () const
 Return clone.
const wordname () const
 Return name.
const wordkeyword () const
const viscosityModelnuModel () const
 Return const-access to phase1 viscosityModel.
tmp< volScalarFieldnu () const
 Return the kinematic laminar viscosity.
const dimensionedScalarrho () const
 Return const-access to phase1 density.
void correct ()
 Correct the phase properties.
bool read (const dictionary &phaseDict)
 Read base transportProperties dictionary.

Detailed Description

Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture for interface-capturing multi-phase simulations.

Source files

Definition at line 48 of file phase.H.


Constructor & Destructor Documentation

phase ( const word name,
const dictionary phaseDict,
const volVectorField U,
const surfaceScalarField phi 
)

Construct from components.


Member Function Documentation

autoPtr<phase> clone (  )  const

Return clone.

Reimplemented from DimensionedField< scalar, volMesh >.

const word& name (  )  const [inline]

Return name.

Reimplemented from IOobject.

Definition at line 107 of file phase.H.

const word& keyword (  )  const [inline]

Definition at line 112 of file phase.H.

const viscosityModel& nuModel (  )  const [inline]

Return const-access to phase1 viscosityModel.

Definition at line 118 of file phase.H.

tmp<volScalarField> nu (  )  const [inline]

Return the kinematic laminar viscosity.

Definition at line 124 of file phase.H.

const dimensionedScalar& rho (  )  const [inline]

Return const-access to phase1 density.

Definition at line 130 of file phase.H.

void correct (  ) 

Correct the phase properties.

bool read ( const dictionary phaseDict  ) 

Read base transportProperties dictionary.


The documentation for this class was generated from the following file:
  • applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/phase/phase.H
Copyright © 2000-2009 OpenCFD Ltd