Saras
Finite Difference Solver for Fluid Dynamics Simulations
|
The derived class from initial to impose initial condition of Taylor-Green vortices. More...
#include "lib/initial/initial.h"
Public Member Functions | |
taylorGreen (const grid &mesh) | |
void | initializeField (vfield &uField) |
Function to impose the Taylor Green Vortex initial condition on the given input velocity field. More... | |
Public Member Functions inherited from initial | |
initial (const grid &mesh) | |
Constructor of the initial class. More... | |
virtual void | initializeField (vfield &uField, sfield &tField) |
Prototype function to impose the initial conditions on the given field. More... | |
Additional Inherited Members | |
Protected Attributes inherited from initial | |
const grid & | mesh |
The derived class from initial to impose initial condition of Taylor-Green vortices.
|
virtual |
Function to impose the Taylor Green Vortex initial condition on the given input velocity field.
Depending on the preprocessor flag PLANAR, the function applies the Taylor Green vortex equation to set initial conditions in both 2D and 3D cases.
Reimplemented from initial.