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
263 const Pair<tmp<volScalarField::Internal>>&
s,
264 const GeometricField<Type, fvPatchField, volMesh>& vf
267 tmp<fvMatrix<Type>> tfvm =
fvm::Sp(
s[1], vf) +
s[0];
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 > &)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
tmp< fvMatrix< Type > > S(const Pair< tmp< volScalarField::Internal >> &, const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionSet dimVol
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const tmp< volScalarField::Internal > & Sp
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const tmp< volScalarField::Internal > & Su
A class for managing temporary objects.