41int main(
int argc,
char *argv[])
45 "Solver for electrostatics."
52 #include "createFields.H"
56 Info<<
"\nStarting iteration loop\n" <<
endl;
64 fvm::laplacian(
phi) +
rho/epsilon0
67 rhoFlux = -
k*
mesh.magSf()*fvc::snGrad(
phi);
71 fvm::ddt(
rho) + fvm::div(rhoFlux,
rho)
76 runTime.printExecutionTime(Info);
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a)