totalPressureVelocityMagnitudeLagrangianScalarFieldSource Class Reference

Mix-in for source conditions that compute the velocity magnitude from the difference between a specified upstream pressure and the local interpolated pressure. More...

Inheritance diagram for totalPressureVelocityMagnitudeLagrangianScalarFieldSource:

Public Member Functions

 totalPressureVelocityMagnitudeLagrangianScalarFieldSource (const LagrangianFieldSourceBase &, const cloudLagrangianFieldSource &, const dictionary &dict)
 Construct from a dictionary. More...
 
 totalPressureVelocityMagnitudeLagrangianScalarFieldSource (const totalPressureVelocityMagnitudeLagrangianScalarFieldSource &, const LagrangianFieldSourceBase &, const cloudLagrangianFieldSource &)
 Copy constructor. More...
 
 ~totalPressureVelocityMagnitudeLagrangianScalarFieldSource ()
 Destructor. More...
 
tmp< LagrangianSubScalarFieldUmag (const LagrangianInjection &, const LagrangianSubMesh &) const
 Return the value for an instantaneous injection. More...
 
void write (Ostream &) const
 Write. More...
 

Detailed Description

Mix-in for source conditions that compute the velocity magnitude from the difference between a specified upstream pressure and the local interpolated pressure.

Source files

Definition at line 54 of file totalPressureVelocityMagnitudeLagrangianScalarFieldSource.H.

Constructor & Destructor Documentation

◆ totalPressureVelocityMagnitudeLagrangianScalarFieldSource() [1/2]

Construct from a dictionary.

Definition at line 36 of file totalPressureVelocityMagnitudeLagrangianScalarFieldSource.C.

◆ totalPressureVelocityMagnitudeLagrangianScalarFieldSource() [2/2]

◆ ~totalPressureVelocityMagnitudeLagrangianScalarFieldSource()

Member Function Documentation

◆ Umag()

◆ write()

void write ( Ostream os) const

Write.

Definition at line 193 of file totalPressureVelocityMagnitudeLagrangianScalarFieldSource.C.

References Foam::units::any, carried::nameToCarrierName(), and Foam::writeEntry().

Referenced by totalPressureConeVelocityLagrangianVectorFieldSource::write(), and totalPressureVelocityLagrangianVectorFieldSource::write().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: