Go to the documentation of this file.
48 int main(
int argc,
char *argv[])
50 argList::addBoolOption
53 "do not write the magnetic field intensity field"
56 argList::addBoolOption
59 "do not write the magnetic flux density field"
62 argList::addBoolOption
65 "write the paramagnetic particle force field"
74 #include "createFields.H"
78 Info<<
"Calculating the magnetic field potential" <<
endl;
82 while (
simple.correctNonOrthogonal())
105 <<
"Creating field H for time "
106 << runTime.timeName() <<
endl;
114 <<
"Creating field HdotGradH for time "
115 << runTime.timeName() <<
endl;
135 <<
"Creating field B for time "
136 << runTime.timeName() <<
endl;
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Simple relative velocity model.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual Ostream & write(const token &)=0
Write next token to stream.
int main(int argc, char *argv[])
GeometricField< vector, fvPatchField, volMesh > volVectorField
const volScalarField & psi
const dictionary & simple
surfaceScalarField murf(IOobject("murf", runTime.timeName(), mesh), mesh, 1)
bool optionFound(const word &opt) const
Return true if the named option is found.
const dimensionedScalar mu0
Magnetic constant/permeability of free space: default SI units: [H/m].
surfaceScalarField Mrf(IOobject("Mrf", runTime.timeName(), mesh), mesh, dimensionedScalar("Mr", dimensionSet(0, 1, 0, 0, 0, 1, 0), 0))
Foam::argList args(argc, argv)