MaxwellStefan< BasicThermophysicalTransportModel > Class Template Reference

Base class for multi-component Maxwell Stefan generalised Fick's law diffusion coefficients based temperature gradient heat flux model with optional Soret thermal diffusion of species. More...

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 predict ()
 Update the diffusion coefficients and flux corrections. More...
 
virtual bool movePoints ()
 Update for mesh motion. More...
 
virtual void topoChange (const polyTopoChangeMap &map)
 Update topology using the given map. More...
 
virtual void mapMesh (const polyMeshMap &map)
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &map)
 Redistribute or update using the given distribution map. More...
 
- Public Member Functions inherited from TopoChangeableMeshObject< fvMesh >
 TopoChangeableMeshObject (Type &mo)
 
- Public Member Functions inherited from DistributeableMeshObject< Mesh >
template<class Type >
 DistributeableMeshObject (Type &mo)
 
- Public Member Functions inherited from MoveableMeshObject< Mesh >
template<class Type >
 MoveableMeshObject (Type &mo)
 
- Public Member Functions inherited from DeletableMeshObject< Mesh >
template<class Type >
 DeletableMeshObject (Type &mo)
 
virtual ~DeletableMeshObject ()=default
 Virtual destructor to make class polymorphic. More...
 

Detailed Description

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

Base class for multi-component Maxwell Stefan generalised Fick's law diffusion coefficients based temperature gradient heat flux model with optional Soret thermal diffusion of species.

The binary mass diffusion coefficients are specified as Function2<scalar>s of pressure and temperature but independent of composition.

The heat flux source is implemented as an implicit energy correction to the temperature gradient based flux source. At convergence the energy correction is 0.

References:

    Taylor, R., & Krishna, R. (1993).
    Multicomponent mass transfer (Vol. 2).
    John Wiley & Sons.

    Merk, H. J. (1959).
    The macroscopic equations for simultaneous heat and mass transfer
    in isotropic, continuous and closed systems.
    Applied Scientific Research,
    Section A, 8(1), 73-99.
Source files

Definition at line 72 of file MaxwellStefan.H.

Member Typedef Documentation

◆ alphaField

typedef BasicThermophysicalTransportModel::alphaField alphaField

Definition at line 164 of file MaxwellStefan.H.

◆ momentumTransportModel

typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 168 of file MaxwellStefan.H.

◆ thermoModel

typedef BasicThermophysicalTransportModel::thermoModel thermoModel

Definition at line 171 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 350 of file MaxwellStefan.C.

References forAll, and thermo.

◆ ~MaxwellStefan()

virtual ~MaxwellStefan ( )
inlinevirtual

Destructor.

Definition at line 186 of file MaxwellStefan.H.

Member Function Documentation

◆ read()

◆ 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 501 of file MaxwellStefan.C.

References GeometricField< Type, PatchField, GeoMesh >::New(), rho, and thermo.

Here is the call 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 515 of file MaxwellStefan.C.

References patchi, multicomponentThermo::specieIndex(), and thermo.

Here is the call graph for this function:

◆ q()

◆ divq()

◆ j()

◆ divj()

tmp< fvScalarMatrix > divj ( volScalarField Yi) const
virtual

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

Definition at line 720 of file MaxwellStefan.C.

References Foam::fvc::div(), DimensionedField< Type, GeoMesh >::mesh(), and thermo.

Here is the call graph for this function:

◆ predict()

void predict
virtual

Update the diffusion coefficients and flux corrections.

Definition at line 732 of file MaxwellStefan.C.

◆ movePoints()

bool movePoints
virtual

Update for mesh motion.

Implements MoveableMeshObject< Mesh >.

Definition at line 740 of file MaxwellStefan.C.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update topology using the given map.

Implements TopoChangeableMeshObject< fvMesh >.

Definition at line 747 of file MaxwellStefan.C.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements TopoChangeableMeshObject< fvMesh >.

Definition at line 759 of file MaxwellStefan.C.

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Redistribute or update using the given distribution map.

Implements DistributeableMeshObject< Mesh >.

Definition at line 771 of file MaxwellStefan.C.


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