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

A two-phase incompressible transportModel. More...

#include <incompressibleTransportModels/twoPhaseMixture.H>


Detailed Description

A two-phase incompressible transportModel.

Source files

Definition at line 52 of file twoPhaseMixture.H.

Inheritance diagram for twoPhaseMixture:
Collaboration diagram for twoPhaseMixture:

List of all members.

Public Member Functions

 twoPhaseMixture (const volVectorField &U, const surfaceScalarField &phi, const word &alpha1Name="alpha1")
 Construct from components.
 ~twoPhaseMixture ()
const word  phase1Name () const
const word  phase2Name () const
const viscosityModel &  nuModel1 () const
 Return const-access to phase1 viscosityModel.
const viscosityModel &  nuModel2 () const
 Return const-access to phase2 viscosityModel.
const dimensionedScalar &  rho1 () const
 Return const-access to phase1 density.
const dimensionedScalar &  rho2 () const
 Return const-access to phase2 density.
tmp< volScalarField >  mu () const
 Return the dynamic laminar viscosity.
tmp< surfaceScalarField >  muf () const
 Return the face-interpolated dynamic laminar viscosity.
virtual tmp< volScalarField >  nu () const
 Return the kinematic laminar viscosity.
tmp< surfaceScalarField >  nuf () const
 Return the face-interpolated kinematic laminar viscosity.
virtual void  correct ()
 Correct the laminar viscosity.
virtual bool  read ()
 Read base transportProperties dictionary.

Protected Member Functions

void  calcNu ()
 Calculate and return the laminar viscosity.

Protected Attributes

word  phase1Name_
word  phase2Name_
autoPtr< viscosityModel >  nuModel1_
autoPtr< viscosityModel >  nuModel2_
dimensionedScalar  rho1_
dimensionedScalar  rho2_
const volVectorField &  U_
const surfaceScalarField &  phi_
const volScalarField &  alpha1_
volScalarField  nu_

Constructor & Destructor Documentation

twoPhaseMixture ( const volVectorField &   U,
const surfaceScalarField &   phi,
const word &   alpha1Name = "alpha1"  
)

Construct from components.

Definition at line 58 of file twoPhaseMixture.C.

~twoPhaseMixture (  ) [inline]

Definition at line 98 of file twoPhaseMixture.H.


Member Function Documentation

void calcNu (  ) [protected]
const word phase1Name (  ) const [inline]

Definition at line 104 of file twoPhaseMixture.H.

References twoPhaseMixture::phase1Name_.

const word phase2Name (  ) const [inline]

Definition at line 109 of file twoPhaseMixture.H.

References twoPhaseMixture::phase2Name_.

const viscosityModel& nuModel1 (  ) const [inline]

Return const-access to phase1 viscosityModel.

Definition at line 115 of file twoPhaseMixture.H.

References twoPhaseMixture::nuModel1_.

const viscosityModel& nuModel2 (  ) const [inline]

Return const-access to phase2 viscosityModel.

Definition at line 121 of file twoPhaseMixture.H.

References twoPhaseMixture::nuModel2_.

const dimensionedScalar& rho1 (  ) const [inline]

Return const-access to phase1 density.

Definition at line 127 of file twoPhaseMixture.H.

References twoPhaseMixture::rho1_.

const dimensionedScalar& rho2 (  ) const [inline]

Return const-access to phase2 density.

Definition at line 133 of file twoPhaseMixture.H.

References twoPhaseMixture::rho2_.

tmp< surfaceScalarField > muf (  ) const
virtual tmp<volScalarField> nu (  ) const [inline, virtual]

Return the kinematic laminar viscosity.

Implements transportModel.

Definition at line 145 of file twoPhaseMixture.H.

References twoPhaseMixture::nu_.

tmp< surfaceScalarField > nuf (  ) const
virtual void correct (  ) [inline, virtual]

Correct the laminar viscosity.

Implements transportModel.

Reimplemented in Kunz, Merkle, phaseChangeTwoPhaseMixture, and SchnerrSauer.

Definition at line 154 of file twoPhaseMixture.H.

References twoPhaseMixture::calcNu().


Member Data Documentation

word phase1Name_ [protected]

Definition at line 60 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase1Name(), and twoPhaseMixture::read().

word phase2Name_ [protected]

Definition at line 61 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::phase2Name(), and twoPhaseMixture::read().

const volVectorField& U_ [protected]

Definition at line 69 of file twoPhaseMixture.H.

const surfaceScalarField& phi_ [protected]

Definition at line 70 of file twoPhaseMixture.H.

volScalarField nu_ [protected]

Definition at line 74 of file twoPhaseMixture.H.

Referenced by twoPhaseMixture::calcNu(), and twoPhaseMixture::nu().


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