46 int main(
int argc,
char *argv[])
56 Info<<
"\nStarting iteration loop\n" <<
endl;
58 while (runTime.loop())
60 Info<<
"Iteration = " << runTime.name() <<
nl <<
endl;
76 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
77 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
int main(int argc, char *argv[])
Calculate the snGrad of the given volField.
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.
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
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 > > ddt(const VolField< Type > &vf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.