Go to the documentation of this file.
119 #ifndef functionObjects_proudmanAcousticPower_H
120 #define functionObjects_proudmanAcousticPower_H
129 namespace functionObjects
136 class proudmanAcousticPower
138 public fvMeshFunctionObject
155 tmp<volScalarField> rhoScale(
const tmp<volScalarField>&
fld)
const;
158 tmp<volScalarField> a()
const;
197 virtual bool write();
virtual bool execute()
Calculate the Proudman acoustic power.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool write()
Write the Proudman acoustic power.
Computes the acoustic power due to the volume of isotropic turbulence using Proudman's formula.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void operator=(const proudmanAcousticPower &)=delete
No copy assignment.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
proudmanAcousticPower(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
const word & name() const
Return the name of this functionObject.
TypeName("proudmanAcousticPower")
Runtime type information.
virtual ~proudmanAcousticPower()=default
Destructor.
virtual bool read(const dictionary &)
Read the Proudman acoustic power data.