Loading...
Searching...
No Matches
magneticFieldErr.H
Go to the documentation of this file.
1Info<< "magnetic flux divergence error = "
2 << runTime.deltaTValue()
3 *mag(fvc::div(phiB))().weightedAverage(mesh.V()).value()
4 << endl;
dynamicFvMesh & mesh
engineTime & runTime
surfaceScalarField & phiB
Definition createPhiB.H:47
messageStream Info
Information stream (stdout output on master, null elsewhere).
Type weightedAverage(const UList< scalar > &weights, const UList< Type > &fld)
The local weighted average of a field, using the mag() of the weights.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition Ostream.H:519
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)