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 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 UpdateableMeshObject< fvMesh >
 UpdateableMeshObject (regIOobject &io, const fvMesh &mesh)
 
- Public Member Functions inherited from DistributeableMeshObject< Mesh >
 DistributeableMeshObject (regIOobject &io, const Mesh &mesh)
 
- Public Member Functions inherited from MoveableMeshObject< Mesh >
 MoveableMeshObject (regIOobject &io, const Mesh &mesh)
 
- Public Member Functions inherited from GeometricMeshObject< Mesh >
 GeometricMeshObject (regIOobject &io, const Mesh &mesh)
 
- Public Member Functions inherited from TopologicalMeshObject< Mesh >
 TopologicalMeshObject (regIOobject &io, const Mesh &mesh)
 
virtual ~TopologicalMeshObject ()=default
 Virtual destructor to make class polymorphic. 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 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 composition, 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 490 of file MaxwellStefan.C.

References composition, fluidMulticomponentThermo::composition(), basicSpecieMixture::index(), 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 506 of file MaxwellStefan.C.

References composition, fluidMulticomponentThermo::composition(), basicSpecieMixture::index(), patchi, basicSpecieMixture::rho(), 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 724 of file MaxwellStefan.C.

References composition, fluidMulticomponentThermo::composition(), Foam::fvc::div(), basicSpecieMixture::index(), 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 737 of file MaxwellStefan.C.

◆ movePoints()

bool movePoints
virtual

Update for mesh motion.

Implements MoveableMeshObject< Mesh >.

Definition at line 745 of file MaxwellStefan.C.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update topology using the given map.

Implements UpdateableMeshObject< fvMesh >.

Definition at line 752 of file MaxwellStefan.C.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements UpdateableMeshObject< fvMesh >.

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


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