Go to the documentation of this file.
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();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
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
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
const word & name() const noexcept
proudmanAcousticPower(const word &name, const Time &runTime, const dictionary &)
TypeName("proudmanAcousticPower")
virtual ~proudmanAcousticPower()=default
virtual bool read(const dictionary &)