Saras
Finite   Difference   Solver   for   Fluid   Dynamics   Simulations
Public Member Functions | List of all members
rotatingConv Class Reference

The derived class from force to add forcing due to both buoyancy and rotation to the velocity field in rotating convection simulations. More...

#include "lib/force/force.h"

Inheritance diagram for rotatingConv:
force

Public Member Functions

 rotatingConv (const grid &mesh, vfield &U, const sfield &T)
 
void addForcing (plainvf &Hv)
 Prototype function to add the forcing field to a plain vector field. More...
 
void addForcing (plainsf &Ht)
 Prototype function to add the forcing field to a plain scalar field. More...
 
- Public Member Functions inherited from force
 force (const grid &mesh, vfield &U)
 Constructor of the force class. More...
 

Additional Inherited Members

- Protected Attributes inherited from force
const gridmesh
 
vfieldV
 

Detailed Description

The derived class from force to add forcing due to both buoyancy and rotation to the velocity field in rotating convection simulations.

Member Function Documentation

◆ addForcing() [1/2]

void rotatingConv::addForcing ( plainsf Ht)
inlinevirtual

Prototype function to add the forcing field to a plain scalar field.

     Based on the values of Fb, Fr, and other constants as applicable, the appropriate forcing field is calculated and
     added to the input plain field.
Parameters
Htis a reference to the plain scalar field to which the forcing term is to be added (RHS of the temperature equation)

Reimplemented from force.

◆ addForcing() [2/2]

void rotatingConv::addForcing ( plainvf Hv)
inlinevirtual

Prototype function to add the forcing field to a plain vector field.

     Based on the values of Fb, Fr, and other constants as applicable, the appropriate forcing field is calculated and
     added to the input plain field.
Parameters
Hvis a reference to the plain vector field to which the forcing term is to be added (RHS of the NSE)

Reimplemented from force.


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