magneticFieldErr.H
Go to the documentation of this file.
1 Info<< "magnetic flux divergence error = "
2  << runTime.deltaTValue()
3  *mag(fvc::div(phiB))().weightedAverage(mesh.V()).value()
4  << endl;
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
surfaceScalarField & phiB
Definition: createPhiB.H:47
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
Definition: fvcDiv.C:47
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:258
messageStream Info
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)