38 const DimensionedField<Type, volMesh>& su,
39 const GeometricField<Type, fvPatchField, volMesh>& vf
42 const fvMesh&
mesh = vf.mesh();
44 tmp<fvMatrix<Type>> tfvm
52 fvMatrix<Type>& fvm = tfvm.ref();
54 fvm.source() -=
mesh.V()*su.field();
64 const tmp<DimensionedField<Type, volMesh>>& tsu,
65 const GeometricField<Type, fvPatchField, volMesh>& vf
68 tmp<fvMatrix<Type>> tfvm =
fvm::Su(tsu(), vf);
78 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tsu,
79 const GeometricField<Type, fvPatchField, volMesh>& vf
82 tmp<fvMatrix<Type>> tfvm =
fvm::Su(tsu(), vf);
93 const GeometricField<Type, fvPatchField, volMesh>& vf
104 const volScalarField::Internal& sp,
105 const GeometricField<Type, fvPatchField, volMesh>& vf
108 const fvMesh&
mesh = vf.mesh();
110 tmp<fvMatrix<Type>> tfvm
115 dimVol*sp.dimensions()*vf.dimensions()
118 fvMatrix<Type>& fvm = tfvm.ref();
120 fvm.diag() +=
mesh.V()*sp.field();
130 const tmp<volScalarField::Internal>& tsp,
131 const GeometricField<Type, fvPatchField, volMesh>& vf
134 tmp<fvMatrix<Type>> tfvm =
fvm::Sp(tsp(), vf);
144 const tmp<volScalarField>& tsp,
145 const GeometricField<Type, fvPatchField, volMesh>& vf
148 tmp<fvMatrix<Type>> tfvm =
fvm::Sp(tsp(), vf);
159 const GeometricField<Type, fvPatchField, volMesh>& vf
162 const fvMesh&
mesh = vf.mesh();
164 tmp<fvMatrix<Type>> tfvm
169 dimVol*sp.dimensions()*vf.dimensions()
172 fvMatrix<Type>& fvm = tfvm.ref();
174 fvm.diag() +=
mesh.V()*sp.value();
185 const GeometricField<Type, fvPatchField, volMesh>&
196 const volScalarField::Internal& susp,
197 const GeometricField<Type, fvPatchField, volMesh>& vf
200 const fvMesh&
mesh = vf.mesh();
202 tmp<fvMatrix<Type>> tfvm
207 dimVol*susp.dimensions()*vf.dimensions()
210 fvMatrix<Type>& fvm = tfvm.ref();
212 fvm.diag() +=
mesh.V()*
max(susp.field(), scalar(0));
214 fvm.source() -=
mesh.V()*
min(susp.field(), scalar(0))
215 *vf.primitiveField();
225 const tmp<volScalarField::Internal>& tsusp,
226 const GeometricField<Type, fvPatchField, volMesh>& vf
229 tmp<fvMatrix<Type>> tfvm =
fvm::SuSp(tsusp(), vf);
239 const tmp<volScalarField>& tsusp,
240 const GeometricField<Type, fvPatchField, volMesh>& vf
243 tmp<fvMatrix<Type>> tfvm =
fvm::SuSp(tsusp(), vf);
254 const GeometricField<Type, fvPatchField, volMesh>& vf