47 int main(
int argc,
char *argv[])
59 Info<<
nl <<
"Calculating value(price of commodities)" <<
endl;
65 Info<<
"Starting time loop\n" <<
endl;
67 while (runTime.loop())
83 if (runTime.writeTime())
96 "V", V.primitiveField(),
97 "delta",
delta.primitiveField()
101 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
102 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
Generic GeometricField class.
const word & executable() const
Name of executable without the path.
Holds list of sampling positions.
static const word outputPrefix
Directory prefix.
static autoPtr< setWriter > New(const word &writeType, const IOstream::streamFormat writeFormat=IOstream::ASCII, const IOstream::compressionType writeCompression=IOstream::UNCOMPRESSED)
Select given write options.
static const word null
An empty word.
int main(int argc, char *argv[])
Calculate the gradient of the given field.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the divergence of the given field and flux.
Calculate the matrix for the laplacian of the field.
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.
Execute application functionObjects to post-process existing results.
Foam::argList args(argc, argv)