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...


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< volScalarField > | D (const volScalarField &Yi) const |
| Mass diffusivity. More... | |
| virtual tmp< scalarField > | D (const volScalarField &Yi, const label patchi) const |
| Mass diffusivity. More... | |
| virtual tmp< volScalarField > | DEff (const volScalarField &Yi) const |
| Effective mass diffusion coefficient. More... | |
| virtual tmp< scalarField > | DEff (const volScalarField &Yi, const label patchi) const |
| Effective mass diffusion coefficient. More... | |
| virtual tmp< surfaceScalarField > | q () const |
| Return the heat flux [W/m^2]. More... | |
| virtual tmp< scalarField > | q (const label patchi) const |
| Return the patch heat flux [W/m^2]. More... | |
| virtual tmp< fvScalarMatrix > | divq (volScalarField &he) const |
| Return the source term for the energy equation. More... | |
| virtual tmp< surfaceScalarField > | j (const volScalarField &Yi) const |
| Return the specie flux for the given specie mass-fraction [kg/m^2/s]. More... | |
| virtual tmp< scalarField > | j (const volScalarField &Yi, const label patchi) const |
| Return the specie flux. More... | |
| virtual tmp< fvScalarMatrix > | divj (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) | |
| virtual void | swap (fvMesh &otherMesh) |
| Swap mesh. More... | |
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... | |
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.
Definition at line 79 of file MaxwellStefan.H.
| typedef BasicThermophysicalTransportModel::alphaField alphaField |
Definition at line 177 of file MaxwellStefan.H.
| typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel |
Definition at line 181 of file MaxwellStefan.H.
| typedef BasicThermophysicalTransportModel::thermoModel thermoModel |
Definition at line 184 of file MaxwellStefan.H.
| MaxwellStefan | ( | const word & | type, |
| const momentumTransportModel & | momentumTransport, | ||
| const thermoModel & | thermo | ||
| ) |
Construct from a momentum transport model and a thermo model.
Definition at line 392 of file MaxwellStefan.C.
|
inlinevirtual |
Destructor.
Definition at line 199 of file MaxwellStefan.H.
|
virtual |
Read thermophysicalTransport dictionary.
Reimplemented in MaxwellStefanFourier< laminarThermophysicalTransportModel >.
Definition at line 441 of file MaxwellStefan.C.
References Foam::dimDynamicViscosity, Foam::dimKinematicViscosity, Foam::dimPressure, Foam::dimTemperature, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), Foam::blockMeshTools::read(), List< T >::size(), multicomponentThermo::species(), dictionary::subDict(), thermo, and WarningInFunction.

|
virtual |
Mass diffusivity.
for a given specie mass-fraction [kg/m/s]
Definition at line 544 of file MaxwellStefan.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::New(), rho, and thermo.

|
virtual |
Mass diffusivity.
for a given specie mass-fraction for patch [kg/m/s]
Definition at line 559 of file MaxwellStefan.C.
References patchi, multicomponentThermo::specieIndex(), and thermo.

|
virtual |
Effective mass diffusion coefficient.
for a given specie mass-fraction [kg/m/s]
Definition at line 572 of file MaxwellStefan.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::New(), rho, and thermo.

|
virtual |
Effective mass diffusion coefficient.
for a given specie mass-fraction for patch [kg/m/s]
Definition at line 586 of file MaxwellStefan.C.
References patchi, multicomponentThermo::specieIndex(), and thermo.

|
virtual |
Return the heat flux [W/m^2].
Definition at line 600 of file MaxwellStefan.C.
References alpha(), multicomponentThermo::defaultSpecie(), Foam::dimArea, Foam::dimEnergy, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::dimMass, Foam::dimTime, forAll, IOobject::groupName(), Foam::fvc::interpolate(), mesh, GeometricField< Type, GeoMesh, PrimitiveField >::New(), p, fluidThermo::p(), tmp< T >::ref(), UPtrList< T >::size(), Foam::fvc::snGrad(), basicThermo::T(), Foam::T(), thermo, Y, and multicomponentThermo::Y().

|
virtual |
Return the patch heat flux [W/m^2].
Definition at line 674 of file MaxwellStefan.C.
References alpha(), multicomponentThermo::defaultSpecie(), forAll, p, fluidThermo::p(), patchi, tmp< T >::ref(), UPtrList< T >::size(), basicThermo::T(), Foam::T(), thermo, Y, and multicomponentThermo::Y().

|
virtual |
Return the source term for the energy equation.
Definition at line 729 of file MaxwellStefan.C.
References alpha(), multicomponentThermo::defaultSpecie(), Foam::dimArea, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::dimMass, Foam::dimTime, Foam::fvc::div(), forAll, Foam::fvc::interpolate(), Foam::fvc::laplacian(), Foam::fvm::laplacianCorrection(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), GeometricField< Type, GeoMesh, PrimitiveField >::New(), p, fluidThermo::p(), tmp< T >::ref(), Foam::fvm::Su(), basicThermo::T(), Foam::T(), thermo, Y, and multicomponentThermo::Y().

|
virtual |
Return the specie flux for the given specie mass-fraction [kg/m^2/s].
Definition at line 801 of file MaxwellStefan.C.
References multicomponentThermo::defaultSpecie(), Foam::dimArea, Foam::dimMass, Foam::dimTime, forAll, IOobject::groupName(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), Foam::name(), GeometricField< Type, GeoMesh, PrimitiveField >::New(), tmp< T >::ref(), multicomponentThermo::specieIndex(), thermo, Y, and multicomponentThermo::Y().

|
virtual |
Return the specie flux.
for the given specie mass-fraction for patch [kg/m^2/s]
Definition at line 848 of file MaxwellStefan.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), multicomponentThermo::defaultSpecie(), forAll, patchi, tmp< T >::ref(), UPtrList< T >::size(), multicomponentThermo::specieIndex(), thermo, Y, and multicomponentThermo::Y().

|
virtual |
Return the source term for the given specie mass-fraction equation.
Definition at line 886 of file MaxwellStefan.C.
References Foam::fvc::div(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), and thermo.

|
virtual |
Update the diffusion coefficients and flux corrections.
Definition at line 898 of file MaxwellStefan.C.
|
virtual |
Update for mesh motion.
Implements MoveableMeshObject< Mesh >.
Definition at line 906 of file MaxwellStefan.C.
|
virtual |
Update topology using the given map.
Implements TopoChangeableMeshObject< fvMesh >.
Definition at line 913 of file MaxwellStefan.C.
References forAll.
|
virtual |
Update from another mesh using the given map.
Implements TopoChangeableMeshObject< fvMesh >.
Definition at line 932 of file MaxwellStefan.C.
References forAll.
|
virtual |
Redistribute or update using the given distribution map.
Implements DistributeableMeshObject< Mesh >.
Definition at line 951 of file MaxwellStefan.C.
References forAll.