Go to the documentation of this file.
28 phi_(const_cast<surfaceScalarField&>(
29 mesh_.thisDb().lookupObject<surfaceScalarField>(
"phi")))
32 IOdictionary transportProperties(
34 "transportProperties",
35 mesh_.time().constant(),
40 dimensionedScalar
DT(
"DT", dimViscosity, transportProperties);
73 dimensionedScalar
DT(
"DT", dimViscosity,
DT_);
78 - fvm::laplacian(
DT,
T_));
102 T_.correctBoundaryConditions();
virtual void calcResiduals(const dictionary &options)
compute residual
fvScalarMatrix TEqn(fvm::div(phi, T) - fvm::laplacian(alphaEff, T))
const fvMesh & mesh_
fvMesh
DAOption daOption(mesh, pyOptions_)
#define normalizeResiduals(resName)
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
virtual void clear()
clear the members
DAResidualScalarTransportFoam(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
virtual void correctBoundaryConditions()
update the boundary condition for all the states in the selected solver
surfaceScalarField & phi_
defineTypeNameAndDebug(DAFvSource, 0)
addToRunTimeSelectionTable(DAFvSource, DAFvSourceActuatorDisk, dictionary)
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
#define setResidualClassMemberScalar(stateName, stateUnit)