Simplified linear viscous stress momentum transport model base class. More...


Public Types | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Member Functions | |
| ClassName ("simplified") | |
| Runtime type information. More... | |
| simplifiedViscousStress (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 | ~simplifiedViscousStress () |
| Destructor. More... | |
| virtual bool | read ()=0 |
| Re-read model coefficients if they have changed. 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... | |
| virtual void | correct ()=0 |
| Solve the turbulence equations and correct the turbulence viscosity. More... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
Protected Member Functions | |
| template<class RhoFieldType > | |
| tmp< fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
Simplified linear viscous stress momentum transport model base class.
For incompressible uniform viscosity flow in which the transpose and dilatation terms in the linear stress model are formally zero.
This model can also be useful for complex surface film cases in which the transpose and dilatation terms are relatively very small compared to the wall surface stress and can safely be ignored avoiding potentially large numerical errors around sharp corners.
Definition at line 55 of file simplifiedViscousStress.H.
| typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 74 of file simplifiedViscousStress.H.
| typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 75 of file simplifiedViscousStress.H.
| simplifiedViscousStress | ( | const word & | modelName, |
| const alphaField & | alpha, | ||
| const rhoField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const viscosity & | viscosity | ||
| ) |
Construct from components.
Definition at line 33 of file simplifiedViscousStress.C.
|
inlinevirtual |
Destructor.
Definition at line 98 of file simplifiedViscousStress.H.
|
protected |
Return the source term for the momentum equation.
| ClassName | ( | "simplified" | ) |
Runtime type information.
|
pure virtual |
Re-read model coefficients if they have changed.
Definition at line 61 of file simplifiedViscousStress.C.
References Foam::blockMeshTools::read().

|
virtual |
Return the effective surface stress.
Definition at line 69 of file simplifiedViscousStress.C.
References Foam::fvc::interpolate(), GeometricField< Type, GeoMesh, PrimitiveField >::New(), nuEff, and Foam::fvc::snGrad().

|
virtual |
Return the source term for the momentum equation.
Definition at line 104 of file simplifiedViscousStress.C.
References U.
|
virtual |
Return the source term for the momentum equation.
Definition at line 115 of file simplifiedViscousStress.C.
|
pure virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Definition at line 126 of file simplifiedViscousStress.C.
References Foam::MULES::correct().

| Foam::tmp<Foam::fvVectorMatrix> DivDevTau | ( | const RhoFieldType & | rho, |
| volVectorField & | U | ||
| ) | const |
Definition at line 87 of file simplifiedViscousStress.C.
References Foam::fvc::interpolate(), Foam::fvm::laplacian(), nuEff, rho, and U.
