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

The derived class from initial to impose initial condition of Taylor-Green vortices. More...

#include "lib/initial/initial.h"

Inheritance diagram for taylorGreen:
initial

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 gridmesh
 

Detailed Description

The derived class from initial to impose initial condition of Taylor-Green vortices.

Member Function Documentation

◆ initializeField()

void taylorGreen::initializeField ( vfield uField)
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.


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