153 template<
class Type2>
161 template<
class Type2>
170 template<
class Type2>
178 template<
class Type2>
200 const bool couples=
true
217 const scalar fraction,
322 return internalCoeffs_;
329 return boundaryCoeffs_;
335 return faceFluxCorrectionPtr_;
343 template<
template<
class>
class ListType>
347 const ListType<Type>& values
352 template<
template<
class>
class ListType>
356 const ListType<Type>& values,
358 const bool hasDdt =
true
366 const bool forceReference =
false
546 friend Ostream& operator<< <Type>
1005 template<
class Type>
1012 template<
class Type>
1020 template<
class Type>
1027 template<
class Type>
1034 template<
class Type>
1041 template<
class Type>
1048 template<
class Type>
1055 template<
class Type>
1063 template<
class Type>
1070 template<
class Type>
1077 template<
class Type>
1084 template<
class Type>
1091 template<
class Type>
1098 template<
class Type>
1105 template<
class Type>
1112 template<
class Type>
1120 template<
class Type>
1127 template<
class Type>
1135 template<
class Type>
1142 template<
class Type>
1149 template<
class Type>
1156 template<
class Type>
1163 template<
class Type>
1170 template<
class Type>
1178 template<
class Type>
1185 template<
class Type>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A List with indirect addressing.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Dimension set for the base types.
Generic dimensioned Type class.
Solver class returned by the solver function.
SolverPerformance< Type > solve()
Solve returning the solution statistics.
fvSolver(fvMatrix< Type > &fvMat, autoPtr< lduMatrix::solver > sol)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void operator-=(const fvMatrix< Type > &)
autoPtr< fvSolver > solver()
Construct and return the solver.
tmp< Field< Type > > DD() const
Return the matrix Type diagonal.
tmp< volScalarField > A() const
Return the central coefficient.
void addToInternalField(const labelUList &addr, const Field< Type2 > &pf, Field< Type2 > &intf) const
Add patch contribution to internal field.
void setValue(const label celli, const Type &value)
Set solution in the given cell to the specified value.
void boundaryManipulate(typename VolField< Type >::Boundary &values)
Manipulate based on a boundary field.
SurfaceField< Type > *& faceFluxCorrectionPtr()
Return pointer to face-flux non-orthogonal correction field.
void relax()
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve()
Solve returning the solution statistics.
tmp< volScalarField > H1() const
Return H(1)
tmp< VolField< Type > > H() const
Return the H operation source.
void operator+=(const fvMatrix< Type > &)
virtual ~fvMatrix()
Destructor.
tmp< SurfaceField< Type > > flux() const
Return the face-flux field from the matrix.
FieldField< Field, Type > & internalCoeffs()
fvBoundary scalar field containing pseudo-matrix coeffs
FieldField< Field, Type > & boundaryCoeffs()
fvBoundary scalar field containing pseudo-matrix coeffs
void operator*=(const volScalarField::Internal &)
void addCmptAvBoundaryDiag(scalarField &diag) const
void addBoundarySource(Field< Type > &source, const bool couples=true) const
fvMatrix(const VolField< Type > &, const dimensionSet &)
Construct given a field to solve for.
tmp< volScalarField::Internal > Sp() const
Return the implicit source.
void setReference(const label celli, const Type &value, const bool forceReference=false)
Set reference level for solution.
void setComponentReference(const label patchi, const label facei, const direction cmpt, const scalar value)
Set reference level for a component of the solution.
void operator/=(const volScalarField::Internal &)
SolverPerformance< Type > solveCoupled(const dictionary &)
Solve coupled returning the solution statistics.
tmp< Field< Type > > residual() const
Return the matrix residual.
scalar relaxationFactor() const
Return the relaxation factor for this equation.
void addBoundaryDiag(scalarField &diag, const direction cmpt) const
void setValues(const labelUList &cells, const ListType< Type > &values)
Set solution in given cells to the specified values.
tmp< fvMatrix< Type > > clone() const
Clone.
SolverPerformance< Type > solveSegregated(const dictionary &)
Solve segregated returning the solution statistics.
tmp< VolInternalField< Type > > Su() const
Return the explicit source.
tmp< scalarField > D() const
Return the matrix scalar diagonal.
void subtractFromInternalField(const labelUList &addr, const Field< Type2 > &pf, Field< Type2 > &intf) const
Subtract patch contribution from internal field.
const dimensionSet & dimensions() const
void operator=(const fvMatrix< Type > &)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
A class for handling words, derived from string.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Macro definitions for declaring ClassName(), NamespaceName(), etc.
A scalar instance of fvMatrix.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
void checkMethod(const fvMatrix< Type > &, const fvMatrix< Type > &, const char *)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.
dictionary fractions(initialConditions.subDict("fractions"))