36 const DimensionedField<Type, volMesh>& su,
37 const GeometricField<Type, fvPatchField, volMesh>& vf
40 const fvMesh& mesh = vf.mesh();
42 tmp<fvMatrix<Type>> tfvm
50 fvMatrix<Type>& fvm = tfvm.ref();
52 fvm.source() -= mesh.V()*su.field();
62 const tmp<DimensionedField<Type, volMesh>>& tsu,
63 const GeometricField<Type, fvPatchField, volMesh>& vf
66 tmp<fvMatrix<Type>> tfvm =
fvm::Su(tsu(), vf);
76 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tsu,
77 const GeometricField<Type, fvPatchField, volMesh>& vf
80 tmp<fvMatrix<Type>> tfvm =
fvm::Su(tsu(), vf);
91 const GeometricField<Type, fvPatchField, volMesh>& vf
102 const volScalarField::Internal& sp,
103 const GeometricField<Type, fvPatchField, volMesh>& vf
106 const fvMesh& mesh = vf.mesh();
108 tmp<fvMatrix<Type>> tfvm
113 dimVol*sp.dimensions()*vf.dimensions()
116 fvMatrix<Type>& fvm = tfvm.ref();
118 fvm.diag() += mesh.V()*sp.field();
128 const tmp<volScalarField::Internal>& tsp,
129 const GeometricField<Type, fvPatchField, volMesh>& vf
132 tmp<fvMatrix<Type>> tfvm =
fvm::Sp(tsp(), vf);
142 const tmp<volScalarField>& tsp,
143 const GeometricField<Type, fvPatchField, volMesh>& vf
146 tmp<fvMatrix<Type>> tfvm =
fvm::Sp(tsp(), vf);
157 const GeometricField<Type, fvPatchField, volMesh>& vf
160 const fvMesh& mesh = vf.mesh();
162 tmp<fvMatrix<Type>> tfvm
167 dimVol*sp.dimensions()*vf.dimensions()
170 fvMatrix<Type>& fvm = tfvm.ref();
172 fvm.diag() += mesh.V()*sp.value();
183 const GeometricField<Type, fvPatchField, volMesh>&
194 const volScalarField::Internal& susp,
195 const GeometricField<Type, fvPatchField, volMesh>& vf
198 const fvMesh& mesh = vf.mesh();
200 tmp<fvMatrix<Type>> tfvm
205 dimVol*susp.dimensions()*vf.dimensions()
208 fvMatrix<Type>& fvm = tfvm.ref();
210 fvm.diag() += mesh.V()*
max(susp.field(), scalar(0));
212 fvm.source() -= mesh.V()*
min(susp.field(), scalar(0))
213 *vf.primitiveField();
223 const tmp<volScalarField::Internal>& tsusp,
224 const GeometricField<Type, fvPatchField, volMesh>& vf
227 tmp<fvMatrix<Type>> tfvm =
fvm::SuSp(tsusp(), vf);
237 const tmp<volScalarField>& tsusp,
238 const GeometricField<Type, fvPatchField, volMesh>& vf
241 tmp<fvMatrix<Type>> tfvm =
fvm::SuSp(tsusp(), vf);
252 const GeometricField<Type, fvPatchField, volMesh>& vf
tmp< GeometricField< Type, fvPatchField, volMesh > > SuSp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< fvMatrix< Type > > Su(const DimensionedField< Type, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionSet dimVol(dimVolume)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.