k-epsilon model for the gas-phase in a two-phase system supporting phase-inversion. More...


Public Types | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from kEpsilon< BasicMomentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from linearViscousStress< BasicMomentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Member Functions | |
| TypeName ("continuousGasKEpsilon") | |
| Runtime type information. More... | |
| continuousGasKEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName) | |
| Construct from components. More... | |
| continuousGasKEpsilon (const continuousGasKEpsilon &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~continuousGasKEpsilon () |
| Destructor. More... | |
| virtual bool | read () |
| Re-read model coefficients if they have changed. More... | |
| const momentumTransportModel & | liquidTurbulence () const |
| Return the turbulence model for the liquid phase. More... | |
| virtual tmp< volScalarField > | nuEff () const |
| Return the effective viscosity. More... | |
| virtual tmp< volScalarField > | rhoEff () const |
| Return the effective density for the stress. More... | |
| virtual tmp< volSymmTensorField > | R () const |
| Return the Reynolds stress tensor [m^2/s^2]. More... | |
| void | operator= (const continuousGasKEpsilon &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from kEpsilon< BasicMomentumTransportModel > | |
| TypeName ("kEpsilon") | |
| Runtime type information. More... | |
| kEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName) | |
| Construct from components. More... | |
| kEpsilon (const kEpsilon &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~kEpsilon () |
| Destructor. More... | |
| tmp< volScalarField > | DkEff () const |
| Return the effective diffusivity for k. More... | |
| tmp< volScalarField > | DepsilonEff () const |
| Return the effective diffusivity for epsilon. More... | |
| virtual tmp< volScalarField > | k () const |
| Return the turbulence kinetic energy. More... | |
| virtual tmp< volScalarField > | epsilon () const |
| Return the turbulence kinetic energy dissipation rate. More... | |
| virtual tmp< volScalarField > | omega () const |
| Return the turbulence specific dissipation rate. More... | |
| virtual void | correct () |
| Solve the turbulence equations and correct the turbulence viscosity. More... | |
| void | operator= (const kEpsilon &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > > | |
| eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
| Construct from components. More... | |
| virtual | ~eddyViscosity () |
| Destructor. More... | |
| virtual tmp< volScalarField > | nut () const |
| Return the turbulence viscosity. More... | |
| virtual tmp< scalarField > | nut (const label patchi) const |
| Return the turbulence viscosity on patch. More... | |
| virtual void | validate () |
| Validate the turbulence fields after construction. More... | |
Public Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
| linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
| Construct from components. More... | |
| virtual | ~linearViscousStress () |
| Destructor. More... | |
| virtual tmp< surfaceVectorField > | devTau () const |
| Return the effective surface stress. More... | |
| virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
| virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
Protected Member Functions | |
| virtual void | correctNut () |
| Correct the eddy-viscosity nut. More... | |
| tmp< volScalarField > | phaseTransferCoeff () const |
| virtual tmp< fvScalarMatrix > | kSource () const |
| Source term for the k equation. More... | |
| virtual tmp< fvScalarMatrix > | epsilonSource () const |
| Source term for the epsilon equation. More... | |
Protected Member Functions inherited from kEpsilon< BasicMomentumTransportModel > | |
| tmp< volScalarField > | boundEpsilon () |
| Bound epsilon and return Cmu*sqr(k) for nut. More... | |
Protected Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
| template<class RhoFieldType > | |
| tmp< fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
Protected Attributes | |
| dimensionedScalar | alphaInversion_ |
Protected Attributes inherited from kEpsilon< BasicMomentumTransportModel > | |
| dimensionedScalar | Cmu_ |
| dimensionedScalar | C1_ |
| dimensionedScalar | C2_ |
| dimensionedScalar | C3_ |
| dimensionedScalar | sigmak_ |
| dimensionedScalar | sigmaEps_ |
| volScalarField | k_ |
| volScalarField | epsilon_ |
Protected Attributes inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > > | |
| volScalarField | nut_ |
k-epsilon model for the gas-phase in a two-phase system supporting phase-inversion.
In the limit that the gas-phase fraction approaches zero a contribution from the other phase is blended into the k and epsilon equations up to the phase-fraction of alphaInversion at which point phase-inversion is considered to have occurred and the model reverts to the pure single-phase form.
This model is unpublished and is provided as a stable numerical framework on which a more physical model may be built.
The default model coefficients are
continuousGasKEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 0;
sigmak 1.0;
sigmaEps 1.3;
alphaInversion 0.7;
}
Definition at line 75 of file continuousGasKEpsilon.H.
| typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 105 of file continuousGasKEpsilon.H.
| typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 106 of file continuousGasKEpsilon.H.
| continuousGasKEpsilon | ( | const alphaField & | alpha, |
| const rhoField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const viscosity & | viscosity, | ||
| const word & | type = typeName |
||
| ) |
Construct from components.
Definition at line 43 of file continuousGasKEpsilon.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 132 of file continuousGasKEpsilon.H.
|
protectedvirtual |
Correct the eddy-viscosity nut.
Reimplemented from kEpsilon< BasicMomentumTransportModel >.
Definition at line 103 of file continuousGasKEpsilon.C.
References kEpsilon< BasicMomentumTransportModel >::correctNut(), dispersedVirtualMassModel::Cvm(), phaseModel::d(), momentumTransportModel::epsilon(), Foam::exp(), phaseModel::fluid(), momentumTransportModel::k(), phaseSystem::lookupInterfacialModel(), Foam::min(), dictionary::New(), momentumTransportModel::nut(), omega, phaseSystem::otherPhase(), phaseModel::rho(), liquid::rho(), and Foam::sqr().

|
protected |
Definition at line 209 of file continuousGasKEpsilon.C.
References alpha(), momentumTransportModel::epsilon(), momentumTransportModel::k(), Foam::max(), Foam::min(), rho, and U.

|
protectedvirtual |
Source term for the k equation.
Reimplemented from kEpsilon< BasicMomentumTransportModel >.
Definition at line 232 of file continuousGasKEpsilon.C.
References momentumTransportModel::k(), and Foam::fvm::Sp().

|
protectedvirtual |
Source term for the epsilon equation.
Reimplemented from kEpsilon< BasicMomentumTransportModel >.
Definition at line 245 of file continuousGasKEpsilon.C.
References momentumTransportModel::epsilon(), and Foam::fvm::Sp().

| TypeName | ( | "continuousGasKEpsilon< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Reimplemented from kEpsilon< BasicMomentumTransportModel >.
Definition at line 87 of file continuousGasKEpsilon.C.
| const momentumTransportModel & liquidTurbulence |
Return the turbulence model for the liquid phase.
Definition at line 141 of file continuousGasKEpsilon.C.
References phaseModel::fluid(), liquidProperties::name(), phaseSystem::otherPhase(), and U.

|
virtual |
Return the effective viscosity.
Definition at line 161 of file continuousGasKEpsilon.C.
References Foam::max(), Foam::min(), and GeometricField< Type, GeoMesh, PrimitiveField >::New().

|
virtual |
Return the effective density for the stress.
Definition at line 188 of file continuousGasKEpsilon.C.
References dispersedVirtualMassModel::Cvm(), phaseModel::fluid(), phaseSystem::lookupInterfacialModel(), GeometricField< Type, GeoMesh, PrimitiveField >::New(), phaseSystem::otherPhase(), phaseModel::rho(), and liquid::rho().

|
virtual |
Return the Reynolds stress tensor [m^2/s^2].
Reimplemented from eddyViscosity< RASModel< BasicMomentumTransportModel > >.
Definition at line 258 of file continuousGasKEpsilon.C.
References Foam::dev(), Foam::fvc::grad(), Foam::I, k, GeometricField< Type, GeoMesh, PrimitiveField >::New(), and Foam::twoSymm().

|
delete |
Disallow default bitwise assignment.
|
protected |
Definition at line 92 of file continuousGasKEpsilon.H.