81 fvEqn.
source() -= cEqn.Su.S().primitiveField()/deltaT.
value();
86 cEqn.Sp.S().dimensions()/
dimTime/fvEqn.
psi().dimensions();
87 fvEqn.
diag() += cEqn.Sp.S().primitiveField()/deltaT.
value();
104 fvEqn.
source() += cEqn.Su.S().primitiveField()/deltaT.
value();
109 cEqn.Sp.S().dimensions()/
dimTime/fvEqn.
psi().dimensions();
110 fvEqn.
diag() -= cEqn.Sp.S().primitiveField()/deltaT.
value();
Class to store the coefficients of a term in a carrier equation.
void operator+=(const LagrangianEqn< Type > &lEqn)
Addition assignment.
void operator-=(const LagrangianEqn< Type > &lEqn)
Subtraction assignment.
CarrierEqn(const VolField< Type > &psi)
Construct from a reference to the field.
void clear()
Clear the coefficient values.
Generic GeometricField class.
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
tmp< LagrangianCoeff< scalar, true > > allDiagonalSp() const
Return the combined time and non-time implicit diagonal.
tmp< LagrangianCoeff< Type, false > > allDiagonalSu() const
Return the combined time and non-time explicit diagonal.
const Type & value() const
Return const reference to value.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const dimensionSet & dimensions() const
const volScalarField & psi
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
tmp< VolField< Type > > Sp(const volScalarField &sp, const VolField< Type > &vf)
const dimensionSet dimTime