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();
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 DimensionedField<scalar, volMesh>& 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();
118 fvm.diag() += mesh.V()*sp.field();
128 const tmp<DimensionedField<scalar, volMesh> >& 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();
172 fvm.diag() += mesh.V()*sp.value();
183 const GeometricField<Type, fvPatchField, volMesh>&
194 const DimensionedField<scalar, volMesh>& 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();
210 fvm.diag() += mesh.V()*
max(susp.field(), scalar(0));
212 fvm.source() -= mesh.V()*
min(susp.field(), scalar(0))
223 const tmp<DimensionedField<scalar, volMesh> >& 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
const dimensionSet dimVol(dimVolume)
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > SuSp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< fvMatrix< Type > > Su(const DimensionedField< Type, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
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.