Finite volume model abstract base class. More...
Classes | |
class | iNew |
Return pointer to new fvModel object created. More... | |
Public Member Functions | |
TypeName ("fvModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, fvModel, dictionary,(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict),(name, modelType, mesh, dict)) | |
fvModel (const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
autoPtr< fvModel > | clone () const |
Return clone. More... | |
virtual | ~fvModel () |
Destructor. More... | |
const word & | name () const |
Return const access to the source name. More... | |
const fvMesh & | mesh () const |
Return const access to the mesh database. More... | |
const dictionary & | coeffs () const |
Return dictionary. More... | |
virtual wordList | addSupFields () const |
Return the list of fields for which the fvModel adds source term. More... | |
virtual bool | addsSupToField (const word &fieldName) const |
Return true if the fvModel adds a source term to the given. More... | |
virtual scalar | maxDeltaT () const |
Return the maximum time-step for stable operation. More... | |
virtual void | addSup (fvMatrix< scalar > &eqn) const |
Add a source term to a field-less proxy equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | sourceProxy (const VolField< Type > &eqnField) const |
Add a source term to an equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const VolField< Type > &field) const |
Return source for an equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | sourceProxy (const VolField< Type > &field, const VolField< Type > &eqnField) const |
Return source for an equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const volScalarField &rho, const VolField< Type > &field) const |
Return source for a compressible equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | sourceProxy (const volScalarField &rho, const VolField< Type > &field, const VolField< Type > &eqnField) const |
Return source for a compressible equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const volScalarField &alpha, const volScalarField &rho, const VolField< Type > &field) const |
Return source for a phase equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | sourceProxy (const volScalarField &alpha, const volScalarField &rho, const VolField< Type > &field, const VolField< Type > &eqnField) const |
Return source for a phase equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const volScalarField &alpha, const geometricOneField &rho, const VolField< Type > &field) const |
Return source for a phase equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const geometricOneField &alpha, const volScalarField &rho, const VolField< Type > &field) const |
Return source for a phase equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | source (const geometricOneField &alpha, const geometricOneField &rho, const VolField< Type > &field) const |
Return source for a phase equation. More... | |
template<class Type > | |
tmp< fvMatrix< Type > > | d2dt2 (const VolField< Type > &field) const |
Return source for an equation with a second time derivative. More... | |
virtual void | preUpdateMesh () |
Prepare for mesh update. More... | |
virtual bool | movePoints ()=0 |
Update for mesh motion. More... | |
virtual void | topoChange (const polyTopoChangeMap &)=0 |
Update topology using the given map. More... | |
virtual void | mapMesh (const polyMeshMap &)=0 |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &)=0 |
Redistribute or update using the given distribution map. More... | |
virtual void | correct () |
Correct the fvModel. More... | |
virtual bool | read (const dictionary &dict) |
Read source dictionary. More... | |
virtual bool | write (const bool write=true) const |
Write fvModel data. More... | |
template<class AlphaRhoFieldType , class ... AlphaRhoFieldTypes> | |
Foam::dimensionSet | sourceDims (const dimensionSet &ds, const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields) |
template<class AlphaRhoFieldType , class ... AlphaRhoFieldTypes> | |
const Foam::word & | fieldName (const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields) |
template<class AlphaRhoFieldType > | |
const Foam::word & | fieldName (const AlphaRhoFieldType &alphaRhoField) |
template<class Type , class ... AlphaRhoFieldTypes> | |
Foam::tmp< Foam::fvMatrix< Type > > | sourceTerm (const VolField< Type > &eqnField, const dimensionSet &ds, const AlphaRhoFieldTypes &... alphaRhoFields) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | sourceProxy (const VolField< Type > &eqnField) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | sourceProxy (const VolField< Type > &field, const VolField< Type > &eqnField) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const volScalarField &rho, const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | sourceProxy (const volScalarField &rho, const VolField< Type > &field, const VolField< Type > &eqnField) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const volScalarField &alpha, const volScalarField &rho, const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | sourceProxy (const volScalarField &alpha, const volScalarField &rho, const VolField< Type > &field, const VolField< Type > &eqnField) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const geometricOneField &alpha, const geometricOneField &rho, const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const volScalarField &alpha, const geometricOneField &rho, const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | source (const geometricOneField &alpha, const volScalarField &rho, const VolField< Type > &field) const |
template<class Type > | |
Foam::tmp< Foam::fvMatrix< Type > > | d2dt2 (const VolField< Type > &field) const |
Static Public Member Functions | |
template<class AlphaRhoFieldType , class ... AlphaRhoFieldTypes> | |
static dimensionSet | sourceDims (const dimensionSet &ds, const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields) |
Return the dimensions of the matrix of a source term. More... | |
static const dimensionSet & | sourceDims (const dimensionSet &ds) |
Return the dimensions of the matrix of a source term (base. More... | |
template<class AlphaRhoFieldType , class ... AlphaRhoFieldTypes> | |
static const word & | fieldName (const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields) |
Return the name of the field associated with a source term. More... | |
template<class AlphaRhoFieldType > | |
static const word & | fieldName (const AlphaRhoFieldType &alphaRhoField) |
Return the name of the field associated with a source term (base. More... | |
static const word & | fieldName () |
Return the name of the field associated with a source term. Special. More... | |
static autoPtr< fvModel > | New (const word &name, const fvMesh &mesh, const dictionary &dict) |
Return a reference to the selected fvModel. More... | |
Protected Member Functions | |
template<class Type > | |
void | addSupType (const VolField< Type > &field, fvMatrix< Type > &eqn) const |
Add a source term to an equation. More... | |
template<class Type > | |
void | addSupType (const volScalarField &rho, const VolField< Type > &field, fvMatrix< Type > &eqn) const |
Add a source term to a compressible equation. More... | |
template<class Type > | |
void | addSupType (const volScalarField &alpha, const volScalarField &rho, const VolField< Type > &field, fvMatrix< Type > &eqn) const |
Add a source term to a phase equation. More... | |
template<class Type , class ... AlphaRhoFieldTypes> | |
tmp< fvMatrix< Type > > | sourceTerm (const VolField< Type > &eqnField, const dimensionSet &ds, const AlphaRhoFieldTypes &... alphaRhoFields) const |
Return a source for an equation. More... | |
Finite volume model abstract base class.
fvModel | ( | const word & | name, |
const word & | modelType, | ||
const fvMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from components.
Definition at line 72 of file fvModel.C.
References Foam::decrIndent(), Foam::endl(), Foam::incrIndent(), Foam::indent(), and Foam::Info.
|
protected |
|
protected |
|
protected |
Return a source for an equation.
TypeName | ( | "fvModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
fvModel | , | ||
dictionary | , | ||
(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict) | , | ||
(name, modelType, mesh, dict) | |||
) |
|
static |
Return the dimensions of the matrix of a source term.
Referenced by fvModel::sourceDims(), and fvModels::sourceTerm().
|
inlinestatic |
Return the dimensions of the matrix of a source term (base.
condition for the above)
Definition at line 30 of file fvModelI.H.
|
static |
Return the name of the field associated with a source term.
|
static |
Return the name of the field associated with a source term (base.
condition for the above)
|
inlinestatic |
Return the name of the field associated with a source term. Special.
overload for volume sources with no associated field.
Definition at line 39 of file fvModelI.H.
References word::null.
Referenced by fvModels::sourceTerm().
|
static |
Return a reference to the selected fvModel.
Definition at line 93 of file fvModel.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, Foam::indent(), Foam::Info, Foam::libs, dictionary::lookup(), Foam::name(), Foam::nl, dlLibraryTable::open(), and string::remove().
Referenced by fvModels::fvModels(), and fvModel::iNew::operator()().
|
inline |
Return const access to the source name.
Definition at line 47 of file fvModelI.H.
Referenced by fvSpecificSource::addSupType(), fvTotalSource::addSupType(), fvFieldSource< Type >::fieldSource(), massTransfer::index(), genericFvFieldSource< Type >::internalCoeff(), energyFvScalarFieldSource::internalCoeff(), interRegionPorosityForce::interRegionPorosityForce(), phaseChange::phaseChange(), fvModels::read(), fvModels::sourceTerm(), genericFvFieldSource< Type >::sourceValue(), energyFvScalarFieldSource::sourceValue(), multicomponentThermo::implementation::Yslicer(), and psiuMulticomponentThermo::implementation::Yslicer().
|
inline |
Return const access to the mesh database.
Definition at line 53 of file fvModelI.H.
Referenced by fvSpecificSource::addSupType(), fvTotalSource::addSupType(), interfaceTurbulenceDamping::interfaceTurbulenceDamping(), interRegionPorosityForce::interRegionPorosityForce(), massTransfer::otherField(), phaseChange::p(), phaseTurbulenceStabilisation::phaseTurbulenceStabilisation(), VoFTurbulenceDamping::VoFTurbulenceDamping(), zeroDimensionalFixedPressureModel::zeroDimensionalFixedPressureModel(), and zeroDimensionalMassSourceBase::zeroDimensionalMassSourceBase().
|
inline |
Return dictionary.
Definition at line 59 of file fvModelI.H.
Referenced by interRegionPorosityForce::interRegionPorosityForce(), propellerDisk::propellerDisk(), and forcing::readLambda().
|
virtual |
Return the list of fields for which the fvModel adds source term.
to the transport equation
Reimplemented in waveForcing, verticalDamping, isotropicDamping, OUForce, radiation, clouds, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionHeatTransfer, heatTransfer, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, porosityForce, phaseLimitStabilisation, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, fvSource, phaseTurbulenceStabilisation, interfaceTurbulenceDamping, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFTurbulenceDamping, VoFCavitation, VoFTurbulenceDamping, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
Definition at line 160 of file fvModel.C.
References List< word >::null().
|
virtual |
Return true if the fvModel adds a source term to the given.
field's transport equation
Reimplemented in fvSource, volumeBlockage, massTransfer, zeroDimensionalFixedPressureModel, and fvTotalSource.
Definition at line 166 of file fvModel.C.
References Foam::findIndex().
Referenced by fvModels::sourceTerm().
|
virtual |
|
virtual |
Add a source term to a field-less proxy equation.
Reimplemented in volumeSource, massTransfer, and massSourceBase.
Definition at line 178 of file fvModel.C.
Referenced by fvModels::sourceTerm().
Add a source term to an equation.
Add a source term to a compressible equation Add a source term to a phase equation Return source for an equation
tmp<fvMatrix<Type> > sourceProxy | ( | const VolField< Type > & | field, |
const VolField< Type > & | eqnField | ||
) | const |
Return source for an equation.
tmp<fvMatrix<Type> > source | ( | const volScalarField & | rho, |
const VolField< Type > & | field | ||
) | const |
Return source for a compressible equation.
tmp<fvMatrix<Type> > sourceProxy | ( | const volScalarField & | rho, |
const VolField< Type > & | field, | ||
const VolField< Type > & | eqnField | ||
) | const |
Return source for a compressible equation.
tmp<fvMatrix<Type> > source | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Return source for a phase equation.
tmp<fvMatrix<Type> > sourceProxy | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field, | ||
const VolField< Type > & | eqnField | ||
) | const |
Return source for a phase equation.
tmp<fvMatrix<Type> > source | ( | const volScalarField & | alpha, |
const geometricOneField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Return source for a phase equation.
tmp<fvMatrix<Type> > source | ( | const geometricOneField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Return source for a phase equation.
tmp<fvMatrix<Type> > source | ( | const geometricOneField & | alpha, |
const geometricOneField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Return source for a phase equation.
Return source for an equation with a second time derivative.
|
virtual |
|
pure virtual |
Update for mesh motion.
Implemented in waveForcing, verticalDamping, isotropicDamping, OUForce, radiation, clouds, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSourceBase, volumeSource, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, porosityForce, phaseLimitStabilisation, massSource, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, zeroDimensionalFixedPressureModel, fvSpecificSource, phaseTurbulenceStabilisation, interfaceTurbulenceDamping, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFTurbulenceDamping, VoFCavitation, VoFTurbulenceDamping, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
|
pure virtual |
Update topology using the given map.
Implemented in waveForcing, verticalDamping, isotropicDamping, OUForce, radiation, clouds, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSourceBase, volumeSource, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, porosityForce, phaseLimitStabilisation, massSource, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, zeroDimensionalFixedPressureModel, fvSpecificSource, phaseTurbulenceStabilisation, interfaceTurbulenceDamping, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFTurbulenceDamping, VoFCavitation, VoFTurbulenceDamping, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
|
pure virtual |
Update from another mesh using the given map.
Implemented in waveForcing, verticalDamping, isotropicDamping, OUForce, radiation, clouds, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSourceBase, volumeSource, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, porosityForce, phaseLimitStabilisation, massSource, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, zeroDimensionalFixedPressureModel, fvSpecificSource, phaseTurbulenceStabilisation, interfaceTurbulenceDamping, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFTurbulenceDamping, VoFCavitation, VoFTurbulenceDamping, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
|
pure virtual |
Redistribute or update using the given distribution map.
Implemented in waveForcing, verticalDamping, isotropicDamping, OUForce, radiation, clouds, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSourceBase, volumeSource, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, porosityForce, phaseLimitStabilisation, massSource, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, zeroDimensionalFixedPressureModel, fvSpecificSource, phaseTurbulenceStabilisation, interfaceTurbulenceDamping, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFTurbulenceDamping, VoFCavitation, VoFTurbulenceDamping, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
|
virtual |
Correct the fvModel.
e.g. solve equations, update model, for film, Lagrangian etc.
Reimplemented in waveForcing, clouds, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSourceBase, homogeneousLiquidPhaseSeparation, homogeneousCondensation, VoFFilmTransfer, filmVoFTransfer, filmCloudTransfer, VoFCavitation, VoFSolidificationMelting, VoFClouds, and VoFCavitation.
|
virtual |
Read source dictionary.
Reimplemented in waveForcing, verticalDamping, isotropicDamping, forcing, OUForce, rotorDisk, propellerDisk, interRegionPorosityForce, interRegionModel, interRegionHeatTransfer, heatTransfer, zeroDimensionalMassSource, volumeSource, volumeBlockage, viscousHeating, solidThermalEquilibrium, solidificationMelting, sixDoFAcceleration, semiImplicitSource, radialActuationDisk, porosityForce, phaseLimitStabilisation, singleComponentPhaseChange, multicomponentPhaseChange, coefficientPhaseChange, massTransfer, coefficientMassTransfer, massSourceBase, massSource, heatSource, effectivenessHeatExchanger, codedFvModel, buoyancyForce, buoyancyEnergy, actuationDisk, acceleration, fvTotalSource, homogeneousLiquidPhaseSeparation, homogeneousCondensation, and VoFSolidificationMelting.
Definition at line 199 of file fvModel.C.
References dict, and dictionary::optionalSubDict().
Referenced by fvModels::read(), VoFSolidificationMelting::read(), fvTotalSource::read(), acceleration::read(), actuationDisk::read(), buoyancyEnergy::read(), buoyancyForce::read(), codedFvModel::read(), effectivenessHeatExchanger::read(), heatSource::read(), massTransfer::read(), phaseLimitStabilisation::read(), porosityForce::read(), semiImplicitSource::read(), sixDoFAcceleration::read(), solidificationMelting::read(), solidThermalEquilibrium::read(), viscousHeating::read(), volumeBlockage::read(), heatTransfer::read(), interRegionModel::read(), propellerDisk::read(), rotorDisk::read(), OUForce::read(), and forcing::read().
|
virtual |
Foam::dimensionSet sourceDims | ( | const dimensionSet & | ds, |
const AlphaRhoFieldType & | alphaRhoField, | ||
const AlphaRhoFieldTypes &... | alphaRhoFields | ||
) |
Definition at line 31 of file fvModelTemplates.C.
References fvModel::sourceDims().
const Foam::word& fieldName | ( | const AlphaRhoFieldType & | alphaRhoField, |
const AlphaRhoFieldTypes &... | alphaRhoFields | ||
) |
Definition at line 43 of file fvModelTemplates.C.
const Foam::word& fieldName | ( | const AlphaRhoFieldType & | alphaRhoField | ) |
Definition at line 54 of file fvModelTemplates.C.
Foam::tmp<Foam::fvMatrix<Type> > sourceTerm | ( | const VolField< Type > & | eqnField, |
const dimensionSet & | ds, | ||
const AlphaRhoFieldTypes &... | alphaRhoFields | ||
) | const |
Definition at line 66 of file fvModelTemplates.C.
References tmp< T >::ref().
Foam::tmp<Foam::fvMatrix<Type> > sourceProxy | ( | const VolField< Type > & | eqnField | ) | const |
Definition at line 95 of file fvModelTemplates.C.
References Foam::dimTime, and Foam::dimVolume.
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const VolField< Type > & | field | ) | const |
Definition at line 105 of file fvModelTemplates.C.
References Foam::dimTime, and Foam::dimVolume.
Foam::tmp<Foam::fvMatrix<Type> > sourceProxy | ( | const VolField< Type > & | field, |
const VolField< Type > & | eqnField | ||
) | const |
Definition at line 115 of file fvModelTemplates.C.
References Foam::dimTime, and Foam::dimVolume.
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const volScalarField & | rho, |
const VolField< Type > & | field | ||
) | const |
Definition at line 126 of file fvModelTemplates.C.
References Foam::dimTime, Foam::dimVolume, and rho.
Foam::tmp<Foam::fvMatrix<Type> > sourceProxy | ( | const volScalarField & | rho, |
const VolField< Type > & | field, | ||
const VolField< Type > & | eqnField | ||
) | const |
Definition at line 137 of file fvModelTemplates.C.
References Foam::dimTime, Foam::dimVolume, and rho.
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Definition at line 149 of file fvModelTemplates.C.
References alpha(), Foam::dimTime, Foam::dimVolume, and rho.
Foam::tmp<Foam::fvMatrix<Type> > sourceProxy | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field, | ||
const VolField< Type > & | eqnField | ||
) | const |
Definition at line 161 of file fvModelTemplates.C.
References alpha(), Foam::dimTime, Foam::dimVolume, and rho.
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const geometricOneField & | alpha, |
const geometricOneField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Definition at line 174 of file fvModelTemplates.C.
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const volScalarField & | alpha, |
const geometricOneField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Definition at line 186 of file fvModelTemplates.C.
References alpha().
Foam::tmp<Foam::fvMatrix<Type> > source | ( | const geometricOneField & | alpha, |
const volScalarField & | rho, | ||
const VolField< Type > & | field | ||
) | const |
Definition at line 198 of file fvModelTemplates.C.
References rho.
Foam::tmp<Foam::fvMatrix<Type> > d2dt2 | ( | const VolField< Type > & | field | ) | const |
Definition at line 210 of file fvModelTemplates.C.
References Foam::dimTime, Foam::dimVolume, and Foam::sqr().