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 > | 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< 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< 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 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... | |
Definition at line 72 of file MaxwellStefan.H.
typedef BasicThermophysicalTransportModel::alphaField alphaField |
Definition at line 164 of file MaxwellStefan.H.
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel |
Definition at line 168 of file MaxwellStefan.H.
typedef BasicThermophysicalTransportModel::thermoModel thermoModel |
Definition at line 171 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 350 of file MaxwellStefan.C.
References composition, forAll, and thermo.
|
inlinevirtual |
Destructor.
Definition at line 186 of file MaxwellStefan.H.
|
virtual |
Read thermophysicalTransport dictionary.
Reimplemented in MaxwellStefanFourier< laminarThermophysicalTransportModel >.
Definition at line 401 of file MaxwellStefan.C.
References composition, fluidMulticomponentThermo::composition(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, dictionary::found(), Foam::blockMeshTools::read(), List< T >::size(), basicSpecieMixture::species(), dictionary::subDict(), thermo, and WarningInFunction.
|
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.
|
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.
|
virtual |
Return the heat flux [W/m^2].
Definition at line 522 of file MaxwellStefan.C.
References alpha(), composition, fluidMulticomponentThermo::composition(), basicSpecieMixture::defaultSpecie(), Foam::dimArea, Foam::dimEnergy, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimMass, Foam::dimTime, forAll, Foam::constant::atomic::group, IOobject::groupName(), basicSpecieMixture::Hs(), Foam::fvc::interpolate(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), Foam::fvc::snGrad(), Foam::T(), thermo, Y, and basicSpecieMixture::Y().
|
virtual |
Return the source term for the energy equation.
Definition at line 600 of file MaxwellStefan.C.
References alpha(), composition, fluidMulticomponentThermo::composition(), basicSpecieMixture::defaultSpecie(), Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimMass, Foam::dimTime, Foam::fvc::div(), forAll, he(), basicSpecieMixture::Hs(), Foam::fvc::interpolate(), Foam::fvc::laplacian(), Foam::fvm::laplacianCorrection(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), Foam::fvm::Su(), Foam::T(), thermo, Y, and basicSpecieMixture::Y().
|
virtual |
Return the specie flux for the given specie mass-fraction [kg/m^2/s].
Definition at line 676 of file MaxwellStefan.C.
References composition, fluidMulticomponentThermo::composition(), basicSpecieMixture::defaultSpecie(), Foam::dimArea, Foam::dimMass, Foam::dimTime, forAll, Foam::constant::atomic::group, IOobject::groupName(), basicSpecieMixture::index(), DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), thermo, Y, and basicSpecieMixture::Y().
|
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.
|
virtual |
Update the diffusion coefficients and flux corrections.
Definition at line 737 of file MaxwellStefan.C.
|
virtual |
Update for mesh motion.
Implements MoveableMeshObject< Mesh >.
Definition at line 745 of file MaxwellStefan.C.
|
virtual |
Update topology using the given map.
Implements UpdateableMeshObject< fvMesh >.
Definition at line 752 of file MaxwellStefan.C.
|
virtual |
Update from another mesh using the given map.
Implements UpdateableMeshObject< fvMesh >.
Definition at line 764 of file MaxwellStefan.C.
|
virtual |
Redistribute or update using the given distribution map.
Implements DistributeableMeshObject< Mesh >.
Definition at line 776 of file MaxwellStefan.C.