126 #ifndef functionObjects_proudmanAcousticPower_H 127 #define functionObjects_proudmanAcousticPower_H 136 namespace functionObjects
143 class proudmanAcousticPower
145 public fvMeshFunctionObject
171 tmp<volScalarField> rhoScale(
const tmp<volScalarField>&
fld)
const;
174 tmp<volScalarField> a()
const;
177 tmp<volScalarField> k()
const;
180 tmp<volScalarField> epsilon()
const;
219 virtual bool write();
virtual bool read(const dictionary &)
Read the Proudman acoustic power data.
virtual bool execute()
Calculate the Proudman acoustic power.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator=(const proudmanAcousticPower &)=delete
No copy assignment.
virtual bool write()
Write the Proudman acoustic power.
const word & name() const noexcept
Return the name of this functionObject.
proudmanAcousticPower(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
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))
virtual ~proudmanAcousticPower()=default
Destructor.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
TypeName("proudmanAcousticPower")
Runtime type information.