Saras
Finite Difference Solver for Fluid Dynamics Simulations
|
The derived class from force to add random forcing to the velocity field. More...
#include "lib/force/force.h"
Public Member Functions | |
randomForcing (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... | |
![]() | |
force (const grid &mesh, vfield &U) | |
Constructor of the force class. More... | |
Additional Inherited Members | |
![]() | |
const grid & | mesh |
vfield & | V |
The derived class from force to add random forcing to the velocity field.
|
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.
Ht | is a reference to the plain scalar field to which the forcing term is to be added (RHS of the temperature equation) |
Reimplemented from force.
|
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.
Hv | is a reference to the plain vector field to which the forcing term is to be added (RHS of the NSE) |
Reimplemented from force.