39 int main(
int argc,
char *argv[])
47 #include "createFields.H" 51 Info<<
nl <<
"Calculating value(price of commodities)" <<
endl;
57 Info<<
"Starting time loop\n" <<
endl;
59 while (runTime.loop())
75 if (runTime.writeTime())
80 /functionObjects::writeFile::outputPrefix
86 coordSet(
true, word::null,
mesh.C().primitiveField(),
"x"),
88 "V", V.primitiveField(),
89 "delta",
delta.primitiveField()
93 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 94 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & executable() const
Name of executable without the path.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const tmp< volScalarField::Internal > & Sp
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Execute application functionObjects to post-process existing results.
Foam::argList args(argc, argv)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)