Mix-in for source conditions that provides a random injection direction on a disk between two cone angles. More...

Public Member Functions | |
| coneDiskDirectionLagrangianVectorFieldSource (const LagrangianFieldSourceBase &, const dictionary &dict) | |
| Construct from a dictionary. More... | |
| coneDiskDirectionLagrangianVectorFieldSource (const coneDiskDirectionLagrangianVectorFieldSource &, const LagrangianFieldSourceBase &) | |
| Copy constructor. More... | |
| ~coneDiskDirectionLagrangianVectorFieldSource () | |
| Destructor. More... | |
| tmp< LagrangianSubVectorField > | direction (const LagrangianInjection &, const LagrangianSubMesh &) const |
| Return the value for an instantaneous injection. More... | |
| void | write (Ostream &) const |
| Write. More... | |
Mix-in for source conditions that provides a random injection direction on a disk between two cone angles.
Definition at line 52 of file coneDiskDirectionLagrangianVectorFieldSource.H.
| coneDiskDirectionLagrangianVectorFieldSource | ( | const LagrangianFieldSourceBase & | field, |
| const dictionary & | dict | ||
| ) |
Construct from a dictionary.
Definition at line 33 of file coneDiskDirectionLagrangianVectorFieldSource.C.
| coneDiskDirectionLagrangianVectorFieldSource | ( | const coneDiskDirectionLagrangianVectorFieldSource & | cddlvfs, |
| const LagrangianFieldSourceBase & | field | ||
| ) |
Copy constructor.
Definition at line 64 of file coneDiskDirectionLagrangianVectorFieldSource.C.
Destructor.
Definition at line 79 of file coneDiskDirectionLagrangianVectorFieldSource.C.
| Foam::tmp< Foam::LagrangianSubVectorField > direction | ( | const LagrangianInjection & | injection, |
| const LagrangianSubMesh & | subMesh | ||
| ) | const |
Return the value for an instantaneous injection.
Definition at line 87 of file coneDiskDirectionLagrangianVectorFieldSource.C.
References diskInjection::axis(), Foam::cos(), Foam::dimless, diskInjection::radial(), diskInjection::rFrac(), Foam::sin(), and Function1LagrangianFieldSource::value().

| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 112 of file coneDiskDirectionLagrangianVectorFieldSource.C.
References Foam::units::degrees, and Foam::writeEntry().
Referenced by coneDiskVelocityLagrangianVectorFieldSource::write(), and flowRateConeDiskVelocityLagrangianVectorFieldSource::write().

