Go to the documentation of this file.
45 int main(
int argc,
char *argv[])
52 pisoControl piso(
mesh);
54 #include "readTransportProperties.H"
55 #include "createFields.H"
57 #include "initContinuityErrs.H"
63 while (runTime.loop())
65 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
71 K/(
mag(
K) + 1.0
e-6) ^ forceGen.newField(),
K.nn()
90 while (piso.correct())
109 pEqn.solve(
mesh.solver(
p.select(piso.finalInnerIter())));
113 #include "continuityErrs.H"
116 U.correctBoundaryConditions();
121 if (runTime.outputTime())
125 runTime.path()/
"graphs"/runTime.timeName(),
127 runTime.graphFormat()
131 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
132 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
CGAL::Exact_predicates_exact_constructions_kernel K
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
fvMatrix< vector > fvVectorMatrix
fvMatrix< scalar > fvScalarMatrix
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
int main(int argc, char *argv[])
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void write(Ostream &, const word &format) const
Write graph to stream in given format.
scalarField ReImSum(const UList< complex > &cf)
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField rAU("rAU", 1.0/UEqn().A())
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dimensionedScalar e
Elementary charge.
graph calcEk(const volVectorField &U, const Kmesh &K)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))