55 rpm_(SRFModelCoeffs_.get<scalar>(
"rpm"))
68 SRFModelCoeffs_.readEntry(
"rpm", rpm_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Top level model for single rotating frame.
dimensionedVector omega_
Angular velocity of the frame (rad/s)
vector axis_
Axis of rotation, a direction vector which passes through the origin.
virtual bool read()
Read radiationProperties dictionary.
Basic SRF model whereby angular velocity is specified in terms of a (global) axis and revolutions-per...
bool read()
Read coefficients.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const Type & value() const
Return const reference to value.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
constexpr scalar rpmToRads() noexcept
Multiplication factor for revolutions/minute to radians/sec.
Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Urel\n"<< endl;volVectorField Urel(IOobject("Urel", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading/calculating face flux field phi\n"<< endl;surfaceScalarField phi(IOobject("phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), linearInterpolate(Urel) &mesh.Sf());label pRefCell=0;scalar pRefValue=0.0;setRefCell(p, pimple.dict(), pRefCell, pRefValue);mesh.setFluxRequired(p.name());Info<< "Creating SRF model\n"<< endl;autoPtr< SRF::SRFModel > SRF(SRF::SRFModel::New(Urel))
Unit conversion functions.