130#ifndef atmCoriolisUSource_H
131#define atmCoriolisUSource_H
147class 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 list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies corrections to incorporate the horizontal and vertical components of the Coriolis force for w...
void operator=(const atmCoriolisUSource &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("atmCoriolisUSource")
Runtime type information.
virtual ~atmCoriolisUSource()=default
Destructor.
atmCoriolisUSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add explicit contribution to incompressible momentum equation.
atmCoriolisUSource(const atmCoriolisUSource &)=delete
No copy construct.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.