This source condition provides a conical velocity profile, characterised by inner and outer cone angles, with a magnitude calculated from the difference between a specified upstream pressure and the local interpolated pressure. More...


Public Member Functions | |
| TypeName ("totalPressureConeVelocity") | |
| Runtime type information. More... | |
| totalPressureConeVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict) | |
| Construct from internal field and dictionary. More... | |
| totalPressureConeVelocityLagrangianVectorFieldSource (const totalPressureConeVelocityLagrangianVectorFieldSource &, const regIOobject &) | |
| Copy constructor setting the internal field reference. More... | |
| virtual autoPtr< LagrangianVectorFieldSource > | clone (const regIOobject &iIo) const |
| Construct and return a clone setting the internal field reference. More... | |
| virtual | ~totalPressureConeVelocityLagrangianVectorFieldSource () |
| Destructor. More... | |
| virtual tmp< LagrangianSubVectorField > | value (const LagrangianInjection &, const LagrangianSubMesh &) const |
| Return the value for an instantaneous injection. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This source condition provides a conical velocity profile, characterised by inner and outer cone angles, with a magnitude calculated from the difference between a specified upstream pressure and the local interpolated pressure.
| Property | Description | Required? | Default |
|---|---|---|---|
direction | The velocity direction | yes | |
thetaInner | The inner cone angle | yes | |
thetaOuter | The outer cone angle | yes | |
p0 | The upstream total pressure | yes | |
pc | The name of the carrier pressure field | no | p |
Example specification:
<LagrangianModelName>
{
type totalPressureConeVelocity;
direction (1 0 0);
thetaInner 15 [deg];
thetaOuter 22.5 [deg];
p0 1 [bar];
}Definition at line 110 of file totalPressureConeVelocityLagrangianVectorFieldSource.H.
| totalPressureConeVelocityLagrangianVectorFieldSource | ( | const regIOobject & | iIo, |
| const dictionary & | dict | ||
| ) |
Construct from internal field and dictionary.
Definition at line 31 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.
| totalPressureConeVelocityLagrangianVectorFieldSource | ( | const totalPressureConeVelocityLagrangianVectorFieldSource & | field, |
| const regIOobject & | iIo | ||
| ) |
Copy constructor setting the internal field reference.
Definition at line 61 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.
|
virtual |
Destructor.
Definition at line 84 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.
| TypeName | ( | "totalPressureConeVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting the internal field reference.
Definition at line 153 of file totalPressureConeVelocityLagrangianVectorFieldSource.H.
|
virtual |
Return the value for an instantaneous injection.
Definition at line 92 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.
References Foam::dimless, and Foam::normalised().

|
virtual |
Write.
Definition at line 104 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.
References Foam::units::none, Foam::dimensions::time, coneDirectionLagrangianVectorFieldSource::write(), totalPressureVelocityMagnitudeLagrangianScalarFieldSource::write(), Foam::vtkWriteOps::write(), and Foam::writeEntry().
