createFields.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Info<< "Reading field psi\n"<< endl;volScalarField psi(IOobject("psi", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading physicalProperties\n"<< endl;IOdictionary physicalProperties(IOobject("physicalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));List< magnet > magnets (physicalProperties.lookup("magnets"))
 
surfaceScalarField murf (IOobject("murf", runTime.name(), mesh), mesh, 1)
 
surfaceScalarField Mrf (IOobject("Mrf", runTime.name(), mesh), mesh, dimensionedScalar(dimensionSet(0, 1, 0, 0, 0, 1, 0), 0))
 
 forAll (magnets, i)
 

Function Documentation

◆ magnets()

Info<< "Reading field psi\n" << endl; volScalarField psi ( IOobject ( "psi", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading physicalProperties\n" << endl; IOdictionary physicalProperties ( IOobject ( "physicalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); List<magnet> magnets ( physicalProperties.  lookup"magnets")

Referenced by forAll().

Here is the caller graph for this function:

◆ murf()

surfaceScalarField murf ( IOobject("murf", runTime.name(), mesh)  ,
mesh  ,
 
)

Referenced by forAll(), and main().

Here is the caller graph for this function:

◆ Mrf()

surfaceScalarField Mrf ( IOobject("Mrf", runTime.name(), mesh)  ,
mesh  ,
dimensionedScalar(dimensionSet(0, 1, 0, 0, 0, 1, 0), 0)   
)

Referenced by forAll(), and main().

Here is the caller graph for this function:

◆ forAll()

forAll ( magnets  ,
 
)

Definition at line 55 of file createFields.H.

References args, argList::executable(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, magnets(), Mrf(), murf(), and Foam::name().

Here is the call graph for this function: