Go to the documentation of this file.
130 #ifndef atmCoriolisUSource_H
131 #define atmCoriolisUSource_H
147 class atmCoriolisUSource
149 public fv::cellSetOption
154 const scalar latitude_;
157 const scalar planetaryRotationPeriod_;
166 vector planetaryRotationVector()
const;
180 const word& sourceName,
181 const word& modelType,
182 const dictionary&
dict,
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
void operator=(const atmCoriolisUSource &)=delete
No copy assignment.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add explicit contribution to incompressible momentum equation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Vector< scalar > vector
A scalar version of the templated Vector.
atmCoriolisUSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
TypeName("atmCoriolisUSource")
Runtime type information.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Applies corrections to incorporate the horizontal and vertical components of the Coriolis force for w...
virtual ~atmCoriolisUSource()=default
Destructor.