Go to the documentation of this file.
34 lduMatrix::solver::addasymMatrixConstructorToTable<PBiCG>
43 const word& fieldName,
75 lduMatrix::preconditioner::getName(controlDict_) + typeName,
81 scalar* __restrict__ psiPtr =
psi.begin();
84 scalar* __restrict__ pAPtr = pA.begin();
87 scalar* __restrict__ pTPtr = pT.begin();
90 scalar* __restrict__ wAPtr = wA.begin();
93 scalar* __restrict__ wTPtr = wT.begin();
95 scalar wArT = solverPerf.
great_;
96 scalar wArTold = wArT;
99 matrix_.Amul(wA,
psi, interfaceBouCoeffs_, interfaces_, cmpt);
100 matrix_.Tmul(wT,
psi, interfaceIntCoeffs_, interfaces_, cmpt);
105 scalar* __restrict__ rAPtr = rA.begin();
106 scalar* __restrict__ rTPtr = rT.begin();
109 scalar normFactor = this->normFactor(
psi, source, wA, pA);
111 if (lduMatrix::debug >= 2)
113 Info<<
" Normalisation factor = " << normFactor <<
endl;
144 preconPtr->precondition(wA, rA, cmpt);
145 preconPtr->preconditionT(wT, rT, cmpt);
160 scalar
beta = wArT/wArTold;
171 matrix_.Amul(wA, pA, interfaceBouCoeffs_, interfaces_, cmpt);
172 matrix_.Tmul(wT, pT, interfaceIntCoeffs_, interfaces_, cmpt);
185 scalar
alpha = wArT/wApT;
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
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)
lduMatrix::solver::addasymMatrixConstructorToTable< PBiCG > addPBiCGAsymMatrixConstructorToTable_
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Abstract base-class for lduMatrix solvers.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
PBiCG(const PBiCG &)
Disallow default bitwise copy construct.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar gSumMag(const FieldField< Field, Type > &f)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & psi
scalar gSumProd(const UList< Type > &f1, const UList< Type > &f2, const label comm)
virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve the matrix with this solver.
defineTypeNameAndDebug(combustionModel, 0)
A cell is defined as a list of faces with extra functionality.