Go to the documentation of this file.
66 #ifndef functionObjects_energySpectrum_H
67 #define functionObjects_energySpectrum_H
78 namespace functionObjects
87 public fvMeshFunctionObject,
127 const scalar kappaNorm
167 virtual bool write();
void operator=(const energySpectrum &)=delete
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
void calcAndWriteSpectrum(const vectorField &U, const vectorField &C, const vector &c0, const vector &deltaC, const Vector< int > &N, const scalar kappaNorm)
virtual bool read(const dictionary &)
Calculates the energy spectrum for a structured IJK mesh.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual void writeFileHeader(Ostream &os)
Generic templated field type.
virtual ~energySpectrum()=default
TypeName("energySpectrum")
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
energySpectrum(const energySpectrum &)=delete
const word & name() const noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Vector< label > N(dict.get< Vector< label >>("N"))
Graphite solid properties.