Base class for solution control classes. More...
Public Member Functions | |
TypeName ("incompressibleVars") | |
Run-time type information. More... | |
incompressibleVars (fvMesh &mesh, solverControl &SolverControl) | |
Construct from mesh. More... | |
incompressibleVars (const incompressibleVars &vs) | |
Copy constructor. More... | |
virtual autoPtr< variablesSet > | clone () const |
Clone the incompressibleVars. More... | |
virtual | ~incompressibleVars ()=default |
Destructor. More... | |
const volScalarField & | p () const |
Return const reference to pressure. More... | |
volScalarField & | p () |
Return reference to pressure. More... | |
const volVectorField & | U () const |
Return const reference to velocity. More... | |
volVectorField & | U () |
Return reference to velocity. More... | |
const surfaceScalarField & | phi () const |
Return const reference to volume flux. More... | |
surfaceScalarField & | phi () |
Return reference to volume flux. More... | |
const volScalarField & | pInst () const |
Return const reference to pressure. More... | |
volScalarField & | pInst () |
Return reference to pressure. More... | |
const volVectorField & | UInst () const |
Return const reference to velocity. More... | |
volVectorField & | UInst () |
Return reference to velocity. More... | |
const surfaceScalarField & | phiInst () const |
Return const reference to volume flux. More... | |
surfaceScalarField & | phiInst () |
Return reference to volume flux. More... | |
const singlePhaseTransportModel & | laminarTransport () const |
Return const reference to transport model. More... | |
singlePhaseTransportModel & | laminarTransport () |
Return reference to transport model. More... | |
const autoPtr< incompressible::turbulenceModel > & | turbulence () const |
Return const reference to the turbulence model. More... | |
autoPtr< incompressible::turbulenceModel > & | turbulence () |
Return reference to the turbulence model. More... | |
const autoPtr< incompressible::RASModelVariables > & | RASModelVariables () const |
Return const reference to the turbulence model variables. More... | |
autoPtr< incompressible::RASModelVariables > & | RASModelVariables () |
Return reference to the turbulence model variables. More... | |
void | restoreInitValues () |
Restore field values to the initial ones. More... | |
void | resetMeanFields () |
Reset mean fields to zero. More... | |
void | computeMeanFields () |
Compute mean fields on the fly. More... | |
void | correctBoundaryConditions () |
correct boundaryconditions for all volFields More... | |
bool | storeInitValues () const |
Return storeInitValues bool. More... | |
bool | computeMeanFields () const |
Return computeMeanFields bool. More... | |
const volScalarField & | T () const |
volScalarField & | T () |
Return reference to the temperature. More... | |
*virtual void | transfer (variablesSet &vars) |
Transfer the fields of another variablesSet to this. More... | |
bool | write () const |
Write dummy turbulent fields to allow for continuation in multi-point, turbulent runs. More... | |
Public Member Functions inherited from variablesSet | |
TypeName ("variablesSet") | |
Run-time type information. More... | |
variablesSet (fvMesh &mesh, const dictionary &dict) | |
Construct from mesh and solver name. More... | |
virtual | ~variablesSet ()=default |
Destructor. More... | |
const word & | solverName () const |
Return solver name. More... | |
bool | useSolverNameForFields () const |
Append solver name to fields? More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | allocateField (const fvMesh &mesh, const word &baseName, const word &solverName, const bool useSolverNameForFields) |
template<class Type > | |
void | renameTurbulenceField (GeometricField< Type, fvPatchField, volMesh > &baseField, const word &solverName) |
Turbulence model always reads fields with the prescribed name If a custom name is supplied, check whether this field exists, copy it to the field known by the turbulence model and re-name the latter. More... | |
tmp< surfaceScalarField > | allocateFluxField (const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields) |
Protected Member Functions | |
void | setFields () |
Read fields and set turbulence. More... | |
void | setInitFields () |
Set initial fields if necessary. More... | |
void | setMeanFields () |
Set mean fields if necessary. More... | |
void | renameTurbulenceFields () |
Rename turbulence fields if necessary. More... | |
void | correctNonTurbulentBoundaryConditions () |
Update boundary conditions of mean-flow. More... | |
void | correctTurbulentBoundaryConditions () |
Update boundary conditions of turbulent fields. More... | |
void | operator= (const incompressibleVars &) |
No copy assignment. More... | |
Protected Member Functions inherited from variablesSet | |
template<class Type , template< class > class PatchField, class GeoMesh > | |
autoPtr< GeometricField< Type, PatchField, GeoMesh > > | allocateRenamedField (const autoPtr< GeometricField< Type, PatchField, GeoMesh >> &bf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | swapAndRename (autoPtr< GeometricField< Type, PatchField, GeoMesh >> &p1, autoPtr< GeometricField< Type, PatchField, GeoMesh >> &p2) |
Swap autoPtrs and rename managed fields. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from variablesSet | |
template<class Type > | |
static void | setField (autoPtr< GeometricField< Type, fvPatchField, volMesh >> &fieldPtr, const fvMesh &mesh, const word &baseName, const word &solverName, const bool useSolverNameForFields) |
Read vol fields. More... | |
static void | setFluxField (autoPtr< surfaceScalarField > &fieldPtr, const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields) |
Set flux field. More... | |
static tmp< volVectorField > | autoCreateMeshMovementField (const fvMesh &mesh, const word &name, const dimensionSet &dims) |
Auto create variable for mesh movement. More... | |
template<class Type , template< class > class PatchField, class GeoMesh > | |
static void | nullifyField (GeometricField< Type, PatchField, GeoMesh > &fieldPtr) |
Nullify field and old times, if present. More... | |
incompressibleVars | ( | fvMesh & | mesh, |
solverControl & | SolverControl | ||
) |
Construct from mesh.
Definition at line 224 of file incompressibleVars.C.
Referenced by incompressibleVars::clone().
incompressibleVars | ( | const incompressibleVars & | vs | ) |
Copy constructor.
turbulence_ and laminarTransport_ are uninitialized since there is no clear way (and possibly no usage) of cloning them. The resulting incompressibleVars is hence incomplete. Additionally, copied fields have the original name, appended with the timeName, to avoid database collisions. To be used as storing space during the solutiuon of the unsteady adjoint equations
Definition at line 259 of file incompressibleVars.C.
References DebugInfo, and Foam::endl().
|
virtualdefault |
Destructor.
|
protected |
Read fields and set turbulence.
Definition at line 37 of file incompressibleVars.C.
References incompressibleVars::correctBoundaryConditions_, incompressibleVars::correctNonTurbulentBoundaryConditions(), incompressibleVars::correctTurbulentBoundaryConditions(), incompressibleVars::laminarTransport(), incompressibleVars::laminarTransportPtr_, variablesSet::mesh_, IncompressibleTurbulenceModel< TransportModel >::New(), RASModelVariables::New(), incompressibleVars::phiInst(), incompressibleVars::phiPtr_, incompressibleVars::pPtr_, incompressibleVars::RASModelVariables_, incompressibleVars::renameTurbulenceFields(), variablesSet::setField(), variablesSet::setFluxField(), schemesLookup::setFluxRequired(), incompressibleVars::solverControl_, variablesSet::solverName_, incompressibleVars::turbulence_, incompressibleVars::UInst(), incompressibleVars::UPtr_, and variablesSet::useSolverNameForFields_.
|
protected |
Set initial fields if necessary.
Definition at line 92 of file incompressibleVars.C.
References Foam::name(), incompressibleVars::phiInitPtr_, incompressibleVars::phiInst(), incompressibleVars::pInitPtr_, incompressibleVars::pInst(), incompressibleVars::solverControl_, solverControl::storeInitValues(), incompressibleVars::UInitPtr_, and incompressibleVars::UInst().
|
protected |
Set mean fields if necessary.
Definition at line 109 of file incompressibleVars.C.
References IOobjectOption::AUTO_WRITE, solverControl::average(), incompressibleVars::correctBoundaryConditions_, Foam::endl(), Foam::Info, variablesSet::mesh_, Foam::name(), incompressibleVars::phiInst(), incompressibleVars::phiMeanPtr_, incompressibleVars::pInst(), incompressibleVars::pMeanPtr_, IOobjectOption::READ_IF_PRESENT, incompressibleVars::solverControl_, fvMesh::time(), Time::timeName(), incompressibleVars::UInst(), and incompressibleVars::UMeanPtr_.
|
protected |
Rename turbulence fields if necessary.
Definition at line 173 of file incompressibleVars.C.
References RASModelVariables::hasNut(), RASModelVariables::hasTMVar1(), RASModelVariables::hasTMVar2(), RASModelVariables::nutRefInst(), incompressibleVars::RASModelVariables_, variablesSet::renameTurbulenceField(), variablesSet::solverName_, RASModelVariables::TMVar1Inst(), RASModelVariables::TMVar2Inst(), and variablesSet::useSolverNameForFields_.
Referenced by incompressibleVars::setFields().
|
protected |
Update boundary conditions of mean-flow.
Definition at line 198 of file incompressibleVars.C.
References solverControl::average(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::endl(), Foam::Info, incompressibleVars::pInst(), incompressibleVars::pMeanPtr_, incompressibleVars::solverControl_, incompressibleVars::UInst(), and incompressibleVars::UMeanPtr_.
Referenced by incompressibleVars::correctBoundaryConditions(), and incompressibleVars::setFields().
|
protected |
Update boundary conditions of turbulent fields.
Definition at line 211 of file incompressibleVars.C.
References Foam::endl(), Foam::Info, incompressibleVars::RASModelVariables_, and incompressibleVars::turbulence_.
Referenced by incompressibleVars::setFields().
|
protected |
No copy assignment.
TypeName | ( | "incompressibleVars" | ) |
Run-time type information.
|
virtual |
Clone the incompressibleVars.
Reimplemented from variablesSet.
Definition at line 287 of file incompressibleVars.C.
References DebugInfo, Foam::endl(), and incompressibleVars::incompressibleVars().
const volScalarField & p | ( | ) | const |
Return const reference to pressure.
Definition at line 298 of file incompressibleVars.C.
References incompressibleVars::pMeanPtr_, incompressibleVars::pPtr_, incompressibleVars::solverControl_, and solverControl::useAveragedFields().
Referenced by sensitivitySurfacePoints::accumulateIntegrand(), sensitivitySurface::accumulateIntegrand(), incompressiblePrimalSolver::correctBoundaryConditions(), boundaryAdjointContributionIncompressible::pb(), objectivePtLosses::update_boundarydJdv(), objectivePtLosses::update_boundarydJdvn(), objectiveForce::update_dSdbMultiplier(), objectiveMoment::update_dSdbMultiplier(), objectiveMoment::update_dxdbDirectMultiplier(), objectiveForce::update_dxdbMultiplier(), and objectiveMoment::update_dxdbMultiplier().
volScalarField & p | ( | ) |
Return reference to pressure.
Definition at line 311 of file incompressibleVars.C.
References incompressibleVars::pMeanPtr_, incompressibleVars::pPtr_, incompressibleVars::solverControl_, and solverControl::useAveragedFields().
const volVectorField & U | ( | ) | const |
Return const reference to velocity.
Definition at line 324 of file incompressibleVars.C.
References incompressibleVars::solverControl_, incompressibleVars::UMeanPtr_, incompressibleVars::UPtr_, and solverControl::useAveragedFields().
Referenced by sensitivitySurfacePoints::accumulateIntegrand(), sensitivitySurface::accumulateIntegrand(), ATCUaGradU::addATC(), ATCstandard::addATC(), adjointkOmegaSST::adjointMeanFlowSource(), adjointkOmegaSST::correct(), incompressiblePrimalSolver::correctBoundaryConditions(), adjointSpalartAllmaras::distanceSensitivities(), adjointkOmegaSST::dR_dF1(), adjointkOmegaSST::dR_dnut(), adjointSpalartAllmaras::FISensitivityTerm(), adjointkOmegaSST::FISensitivityTerm(), ATCUaGradU::getFISensitivityTerm(), ATCstandard::getFISensitivityTerm(), adjointTurbulenceModel::New(), adjointRASModel::New(), adjointkOmegaSST::nutJacobianTMVar1(), adjointkOmegaSST::nutJacobianTMVar2(), boundaryAdjointContributionIncompressible::Ub(), objectiveForce::update_boundarydJdnut(), objectiveMoment::update_boundarydJdnut(), objectivePtLosses::update_boundarydJdp(), objectivePtLosses::update_boundarydJdv(), objectiveUniformityPatch::update_boundarydJdv(), objectivePtLosses::update_boundarydJdvn(), objectiveUniformityPatch::update_boundarydJdvn(), objectivePtLosses::update_boundarydJdvt(), objectiveUniformityPatch::update_boundarydJdvt(), objectivePowerDissipation::update_divDxDbMultiplier(), objectiveUniformityCellZone::update_divDxDbMultiplier(), objectivePowerDissipation::update_dJdTMvar1(), objectivePowerDissipation::update_dJdTMvar2(), objectivePowerDissipation::update_dJdv(), objectiveUniformityCellZone::update_dJdv(), objectiveForce::update_dSdbMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), objectivePowerDissipation::update_gradDxDbMultiplier(), objectiveMoment::update_meanValues(), ATCstandard::updatePrimalBasedQuantities(), adjointSpalartAllmaras::updatePrimalRelatedFields(), and adjointkOmegaSST::updatePrimalRelatedFields().
volVectorField & U | ( | ) |
Return reference to velocity.
Definition at line 337 of file incompressibleVars.C.
References incompressibleVars::solverControl_, incompressibleVars::UMeanPtr_, incompressibleVars::UPtr_, and solverControl::useAveragedFields().
const surfaceScalarField & phi | ( | ) | const |
Return const reference to volume flux.
Definition at line 350 of file incompressibleVars.C.
References incompressibleVars::phiMeanPtr_, incompressibleVars::phiPtr_, incompressibleVars::solverControl_, and solverControl::useAveragedFields().
Referenced by ATCUaGradU::addATC(), ATCstandard::addATC(), adjointSpalartAllmaras::correct(), adjointkOmegaSST::correct(), incompressiblePrimalSolver::correctBoundaryConditions(), adjointkOmegaSST::dR_dF1(), boundaryAdjointContributionIncompressible::phib(), and ATCstandard::updatePrimalBasedQuantities().
surfaceScalarField & phi | ( | ) |
Return reference to volume flux.
Definition at line 362 of file incompressibleVars.C.
References incompressibleVars::phiMeanPtr_, incompressibleVars::phiPtr_, incompressibleVars::solverControl_, and solverControl::useAveragedFields().
|
inline |
Return const reference to pressure.
Definition at line 24 of file incompressibleVarsI.H.
References incompressibleVars::pPtr_.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctNonTurbulentBoundaryConditions(), objectiveForce::J(), objectiveMoment::J(), objectivePtLosses::J(), incompressibleVars::resetMeanFields(), incompressibleVars::restoreInitValues(), incompressibleVars::setInitFields(), and incompressibleVars::setMeanFields().
|
inline |
Return reference to pressure.
Definition at line 30 of file incompressibleVarsI.H.
|
inline |
Return const reference to velocity.
Definition at line 36 of file incompressibleVarsI.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctNonTurbulentBoundaryConditions(), objectiveFlowRatePartition::J(), objectivePowerDissipation::J(), objectiveFlowRate::J(), objectivePtLosses::J(), objectiveUniformityPatch::J(), objectiveUniformityCellZone::J(), incompressibleVars::resetMeanFields(), incompressibleVars::restoreInitValues(), incompressibleVars::setFields(), incompressibleVars::setInitFields(), and incompressibleVars::setMeanFields().
|
inline |
Return reference to velocity.
Definition at line 42 of file incompressibleVarsI.H.
|
inline |
Return const reference to volume flux.
Definition at line 49 of file incompressibleVarsI.H.
Referenced by incompressibleVars::computeMeanFields(), objectivePtLosses::initialize(), objectiveUniformityPatch::initialize(), incompressibleVars::resetMeanFields(), incompressibleVars::restoreInitValues(), incompressibleVars::setFields(), incompressibleVars::setInitFields(), and incompressibleVars::setMeanFields().
|
inline |
Return reference to volume flux.
Definition at line 55 of file incompressibleVarsI.H.
|
inline |
Return const reference to transport model.
Definition at line 62 of file incompressibleVarsI.H.
Referenced by adjointTurbulenceModel::correct(), shapeSensitivities::dvdbMult(), adjointTurbulenceModel::nu(), adjointTurbulenceModel::nuEff(), incompressibleVars::setFields(), objectiveForce::update_boundarydJdGradU(), objectiveForce::update_dSdbMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), and objectiveMoment::update_meanValues().
|
inline |
Return reference to transport model.
Definition at line 69 of file incompressibleVarsI.H.
|
inline |
Return const reference to the turbulence model.
Definition at line 76 of file incompressibleVarsI.H.
Referenced by adjointkOmegaSST::adjointMeanFlowSource(), incompressiblePrimalSolver::correctBoundaryConditions(), objectivePowerDissipation::J(), objectiveForce::J(), objectiveMoment::J(), boundaryAdjointContributionIncompressible::laminarDiffusivity(), objectivePowerDissipation::update_divDxDbMultiplier(), objectivePowerDissipation::update_dJdv(), objectivePowerDissipation::update_gradDxDbMultiplier(), and boundaryAdjointContributionIncompressible::wallDistance().
|
inline |
Return reference to the turbulence model.
Definition at line 83 of file incompressibleVarsI.H.
|
inline |
Return const reference to the turbulence model variables.
Definition at line 90 of file incompressibleVarsI.H.
Referenced by objectiveIncompressible::allocatedJdTurbulence(), shapeSensitivities::dvdbMult(), adjointkOmegaSST::FISensitivityTerm(), objectiveNutSqr::J(), adjointkOmegaSST::k(), adjointTurbulenceModel::nuEff(), adjointTurbulenceModel::nut(), adjointSpalartAllmaras::nut(), adjointSpalartAllmaras::nuTilda(), adjointkOmegaSST::nutRef(), adjointkOmegaSST::omega(), FIBase::read(), sensitivitySurfacePoints::read(), sensitivitySurface::read(), boundaryAdjointContributionIncompressible::TMVariable1(), boundaryAdjointContributionIncompressible::TMVariable2(), incompressibleVars::transfer(), boundaryAdjointContributionIncompressible::turbulentDiffusivity(), objectiveForce::update_boundarydJdGradU(), objectiveNutSqr::update_divDxDbMultiplier(), objectiveNutSqr::update_dJdTMvar1(), objectiveNutSqr::update_dJdTMvar2(), objectiveNutSqr::update_dJdv(), objectiveForce::update_dSdbMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), objectiveMoment::update_meanValues(), and adjointkOmegaSST::updatePrimalRelatedFields().
|
inline |
Return reference to the turbulence model variables.
Definition at line 97 of file incompressibleVarsI.H.
void restoreInitValues | ( | ) |
Restore field values to the initial ones.
Definition at line 375 of file incompressibleVars.C.
References Foam::endl(), Foam::Info, incompressibleVars::phiInitPtr_, incompressibleVars::phiInst(), incompressibleVars::pInitPtr_, incompressibleVars::pInst(), incompressibleVars::RASModelVariables_, incompressibleVars::solverControl_, solverControl::storeInitValues(), incompressibleVars::UInitPtr_, and incompressibleVars::UInst().
void resetMeanFields | ( | ) |
Reset mean fields to zero.
Definition at line 388 of file incompressibleVars.C.
References solverControl::average(), solverControl::averageIter(), Foam::endl(), Foam::Info, incompressibleVars::phiInst(), incompressibleVars::phiMeanPtr_, incompressibleVars::pInst(), incompressibleVars::pMeanPtr_, incompressibleVars::RASModelVariables_, incompressibleVars::solverControl_, incompressibleVars::UInst(), incompressibleVars::UMeanPtr_, and Foam::Zero.
void computeMeanFields | ( | ) |
Compute mean fields on the fly.
Definition at line 406 of file incompressibleVars.C.
References solverControl::averageIter(), solverControl::doAverageIter(), Foam::endl(), Foam::Info, incompressibleVars::phiInst(), incompressibleVars::phiMeanPtr_, incompressibleVars::pInst(), incompressibleVars::pMeanPtr_, incompressibleVars::RASModelVariables_, incompressibleVars::solverControl_, incompressibleVars::UInst(), and incompressibleVars::UMeanPtr_.
void correctBoundaryConditions | ( | ) |
correct boundaryconditions for all volFields
Definition at line 424 of file incompressibleVars.C.
References incompressibleVars::correctNonTurbulentBoundaryConditions(), incompressibleVars::RASModelVariables_, and incompressibleVars::turbulence_.
Referenced by incompressiblePrimalSolver::correctBoundaryConditions().
bool storeInitValues | ( | ) | const |
Return storeInitValues bool.
Definition at line 431 of file incompressibleVars.C.
References incompressibleVars::solverControl_, and solverControl::storeInitValues().
bool computeMeanFields | ( | ) | const |
Return computeMeanFields bool.
Definition at line 437 of file incompressibleVars.C.
References solverControl::average(), and incompressibleVars::solverControl_.
const volScalarField& T | ( | ) | const |
volScalarField& T | ( | ) |
Return reference to the temperature.
|
virtual |
Transfer the fields of another variablesSet to this.
Reimplemented from variablesSet.
Definition at line 443 of file incompressibleVars.C.
References incompressibleVars::phiPtr_, incompressibleVars::pPtr_, incompressibleVars::RASModelVariables(), incompressibleVars::RASModelVariables_, variablesSet::swapAndRename(), and incompressibleVars::UPtr_.
bool write | ( | ) | const |
Write dummy turbulent fields to allow for continuation in multi-point, turbulent runs.
Definition at line 457 of file incompressibleVars.C.
References variablesSet::mesh_, incompressibleVars::RASModelVariables_, and variablesSet::useSolverNameForFields_.
Referenced by incompressiblePrimalSolver::write(), incompressibleAdjointSolver::write(), incompressiblePrimalSolver::writeNow(), and incompressibleAdjointSolver::writeNow().
|
protected |
Reference to the solverControl of the solver allocating the fields.
Definition at line 59 of file incompressibleVars.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctNonTurbulentBoundaryConditions(), incompressibleVars::p(), incompressibleVars::phi(), incompressibleVars::resetMeanFields(), incompressibleVars::restoreInitValues(), incompressibleVars::setFields(), incompressibleVars::setInitFields(), incompressibleVars::setMeanFields(), incompressibleVars::storeInitValues(), and incompressibleVars::U().
|
protected |
Fields involved in the solution of the incompressible NS equations.
Definition at line 64 of file incompressibleVars.H.
Referenced by incompressibleVars::p(), incompressibleVars::pInst(), incompressibleVars::setFields(), and incompressibleVars::transfer().
|
protected |
Definition at line 65 of file incompressibleVars.H.
Referenced by incompressibleVars::setFields(), incompressibleVars::transfer(), and incompressibleVars::U().
|
protected |
Definition at line 66 of file incompressibleVars.H.
Referenced by incompressibleVars::phi(), incompressibleVars::setFields(), and incompressibleVars::transfer().
|
protected |
Definition at line 67 of file incompressibleVars.H.
Referenced by incompressibleVars::setFields().
|
protected |
Definition at line 68 of file incompressibleVars.H.
Referenced by incompressibleVars::correctBoundaryConditions(), incompressibleVars::correctTurbulentBoundaryConditions(), and incompressibleVars::setFields().
|
protected |
Definition at line 69 of file incompressibleVars.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctBoundaryConditions(), incompressibleVars::correctTurbulentBoundaryConditions(), incompressibleVars::renameTurbulenceFields(), incompressibleVars::resetMeanFields(), incompressibleVars::restoreInitValues(), incompressibleVars::setFields(), incompressibleVars::transfer(), and incompressibleVars::write().
|
protected |
Keep a copy of the initial field values if necessary.
Definition at line 75 of file incompressibleVars.H.
Referenced by incompressibleVars::restoreInitValues(), and incompressibleVars::setInitFields().
|
protected |
Definition at line 76 of file incompressibleVars.H.
Referenced by incompressibleVars::restoreInitValues(), and incompressibleVars::setInitFields().
|
protected |
Definition at line 77 of file incompressibleVars.H.
Referenced by incompressibleVars::restoreInitValues(), and incompressibleVars::setInitFields().
|
protected |
Manage mean fields. Turbulent mean fields are managed in RASModelVariables.
Definition at line 83 of file incompressibleVars.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctNonTurbulentBoundaryConditions(), incompressibleVars::p(), incompressibleVars::resetMeanFields(), and incompressibleVars::setMeanFields().
|
protected |
Definition at line 84 of file incompressibleVars.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::correctNonTurbulentBoundaryConditions(), incompressibleVars::resetMeanFields(), incompressibleVars::setMeanFields(), and incompressibleVars::U().
|
protected |
Definition at line 85 of file incompressibleVars.H.
Referenced by incompressibleVars::computeMeanFields(), incompressibleVars::phi(), incompressibleVars::resetMeanFields(), and incompressibleVars::setMeanFields().
|
protected |
Update boundary conditions upon construction.
Useful for cases in which information has been lost on boundary (e.g. averaging, redistribution)
Definition at line 93 of file incompressibleVars.H.
Referenced by incompressibleVars::setFields(), and incompressibleVars::setMeanFields().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.