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

The derived class from force to add the default forcing of no forcing. More...

#include "lib/force/force.h"

Inheritance diagram for zeroForcing:
force

Public Member Functions

 zeroForcing (const grid &mesh, vfield &U)
 
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 the default forcing of no forcing.

Member Function Documentation

◆ addForcing() [1/2]

void zeroForcing::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 zeroForcing::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 file: