Go to the documentation of this file.
30 template<
class Type,
class DType,
class LUType>
33 const word& fieldName,
49 template<
class Type,
class DType,
class LUType>
56 word preconditionerName(this->controlDict_.lookup(
"preconditioner"));
61 preconditionerName + typeName,
67 Type* __restrict__ psiPtr =
psi.begin();
70 Type* __restrict__ pAPtr = pA.begin();
73 Type* __restrict__ pTPtr = pT.begin();
76 Type* __restrict__ wAPtr = wA.begin();
79 Type* __restrict__ wTPtr = wT.begin();
82 scalar wArTold = wArT;
85 this->matrix_.Amul(wA,
psi);
86 this->matrix_.Tmul(wT,
psi);
91 Type* __restrict__ rAPtr = rA.begin();
92 Type* __restrict__ rTPtr = rT.begin();
95 Type normFactor = this->normFactor(
psi, wA, pA);
99 Info<<
" Normalisation factor = " << normFactor <<
endl;
128 preconPtr->precondition(wA, rA);
129 preconPtr->preconditionT(wT, rT);
144 scalar
beta = wArT/wArTold;
155 this->matrix_.Amul(wA, pA);
156 this->matrix_.Tmul(wT, pT);
175 scalar
alpha = wArT/wApT;
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
Type gSumCmptMag(const UList< Type > &f, const label comm)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e....
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & psi
PBiCCCG(const PBiCCCG &)
Disallow default bitwise copy construct.
Traits class for primitives.
scalar gSumProd(const UList< Type > &f1, const UList< Type > &f2, const label comm)
A cell is defined as a list of faces with extra functionality.