39 fieldType field(header, mesh);
41 for (
direction i=0; i<Type::nComponents; i++)
43 Info<<
" Calculating " << header.
name()
44 << Type::componentNames[i] <<
endl;
50 header.
name() +
word(Type::componentNames[i]),
57 componentField.
write();
void writeComponentFields(const IOobject &header, const fvMesh &mesh, bool &processed)
Write component fields.
const word & headerClassName() const
Return name of the class name read from header.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
Generic GeometricField class.