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

Public Member Functions | |
| fanDirectionLagrangianVectorFieldSource (const LagrangianFieldSourceBase &, const dictionary &dict) | |
| Construct from a dictionary. More... | |
| fanDirectionLagrangianVectorFieldSource (const fanDirectionLagrangianVectorFieldSource &, const LagrangianFieldSourceBase &) | |
| Copy constructor. More... | |
| ~fanDirectionLagrangianVectorFieldSource () | |
| Destructor. More... | |
| tmp< LagrangianSubVectorField > | direction (const LagrangianSubVectorField &axis) 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 between two fan angles.
Definition at line 53 of file fanDirectionLagrangianVectorFieldSource.H.
| fanDirectionLagrangianVectorFieldSource | ( | const LagrangianFieldSourceBase & | field, |
| const dictionary & | dict | ||
| ) |
Construct from a dictionary.
Definition at line 32 of file fanDirectionLagrangianVectorFieldSource.C.
| fanDirectionLagrangianVectorFieldSource | ( | const fanDirectionLagrangianVectorFieldSource & | cdlvfs, |
| const LagrangianFieldSourceBase & | field | ||
| ) |
Copy constructor.
Definition at line 81 of file fanDirectionLagrangianVectorFieldSource.C.
Destructor.
Definition at line 99 of file fanDirectionLagrangianVectorFieldSource.C.
| Foam::tmp< Foam::LagrangianSubVectorField > direction | ( | const LagrangianSubVectorField & | axis | ) | const |
Return the value for an instantaneous injection.
Definition at line 107 of file fanDirectionLagrangianVectorFieldSource.C.
References tmp< T >::clear(), Foam::cos(), Foam::dimless, Foam::mag(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), DimensionedField< Type, GeoMesh, PrimitiveField >::New(), Foam::sign(), Foam::sin(), LagrangianSubMesh::size(), and Function1LagrangianFieldSource::value().

| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 149 of file fanDirectionLagrangianVectorFieldSource.C.
References Foam::units::degrees, Foam::units::none, and Foam::writeEntry().
Referenced by fanVelocityLagrangianVectorFieldSource::write().

