MaxwellStefan< BasicThermophysicalTransportModel > Class Template Reference
Inheritance diagram for MaxwellStefan< BasicThermophysicalTransportModel >:
Collaboration diagram for MaxwellStefan< BasicThermophysicalTransportModel >:

Public Types

typedef BasicThermophysicalTransportModel::alphaField alphaField
 
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
 
typedef BasicThermophysicalTransportModel::thermoModel thermoModel
 

Public Member Functions

 MaxwellStefan (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from a momentum transport model and a thermo model. More...
 
virtual ~MaxwellStefan ()
 Destructor. More...
 
virtual bool read ()
 Read thermophysicalTransport dictionary. More...
 
virtual tmp< volScalarFieldDEff (const volScalarField &Yi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< scalarFieldDEff (const volScalarField &Yi, const label patchi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< surfaceScalarFieldq () const
 Return the heat flux [W/m^2]. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< surfaceScalarFieldj (const volScalarField &Yi) const
 Return the specie flux for the given specie mass-fraction [kg/m^2/s]. More...
 
virtual tmp< fvScalarMatrixdivj (volScalarField &Yi) const
 Return the source term for the given specie mass-fraction equation. More...
 
virtual void correct ()
 Update the diffusion coefficients and flux corrections. More...
 

Detailed Description

template<class BasicThermophysicalTransportModel>
class Foam::MaxwellStefan< BasicThermophysicalTransportModel >

Definition at line 72 of file MaxwellStefan.H.

Member Typedef Documentation

◆ alphaField

typedef BasicThermophysicalTransportModel::alphaField alphaField

Definition at line 154 of file MaxwellStefan.H.

◆ momentumTransportModel

typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 158 of file MaxwellStefan.H.

◆ thermoModel

typedef BasicThermophysicalTransportModel::thermoModel thermoModel

Definition at line 161 of file MaxwellStefan.H.

Constructor & Destructor Documentation

◆ MaxwellStefan()

MaxwellStefan ( const word type,
const momentumTransportModel momentumTransport,
const thermoModel thermo 
)

Construct from a momentum transport model and a thermo model.

Definition at line 43 of file MaxwellStefan.C.

◆ ~MaxwellStefan()

virtual ~MaxwellStefan ( )
inlinevirtual

Destructor.

Definition at line 176 of file MaxwellStefan.H.

Member Function Documentation

◆ read()

bool read ( )
virtual

Read thermophysicalTransport dictionary.

Reimplemented in MaxwellStefanFourier< laminarThermophysicalTransportModel >.

Definition at line 94 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ DEff() [1/2]

tmp< volScalarField > DEff ( const volScalarField Yi) const
virtual

Effective mass diffusion coefficient.

for a given specie mass-fraction [kg/m/s] This is the self-diffusion coefficient

Definition at line 184 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::DEff(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::read(), and MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ DEff() [2/2]

tmp< scalarField > DEff ( const volScalarField Yi,
const label  patchi 
) const
virtual

Effective mass diffusion coefficient.

for a given specie mass-fraction for patch [kg/m/s]

Definition at line 200 of file MaxwellStefan.C.

◆ q()

tmp< surfaceScalarField > q ( ) const
virtual

Return the heat flux [W/m^2].

Definition at line 215 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ divq()

tmp< fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 294 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::q(), and MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ j()

tmp< surfaceScalarField > j ( const volScalarField Yi) const
virtual

Return the specie flux for the given specie mass-fraction [kg/m^2/s].

Definition at line 370 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::divq(), and MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ divj()

tmp< fvScalarMatrix > divj ( volScalarField Yi) const
virtual

Return the source term for the given specie mass-fraction equation.

Definition at line 383 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::j(), and MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

◆ correct()

void correct ( )
virtual

Update the diffusion coefficients and flux corrections.

Transform the binary mass diffusion coefficients into the

the generalised Fick's law diffusion coefficients

Definition at line 576 of file MaxwellStefan.C.

Referenced by MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::~MaxwellStefan().

Here is the caller graph for this function:

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