
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) | |
| 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" | ) |
| forAll | ( | magnets | , |
| i | |||
| ) |
Definition at line 55 of file createFields.H.
References args, argList::executable(), Foam::exit(), polyMesh::faceZones(), Foam::FatalIOError, FatalIOErrorIn, PtrListDictionary< T >::findIndex(), magnets(), mesh, Mrf(), murf(), Foam::name(), and fvMesh::Sf().
