Saras
Finite Difference Solver for Fluid Dynamics Simulations
|
The derived class from initial to impose sinusoidal perturbation for channel flow. More...
#include "lib/initial/initial.h"
Public Member Functions | |
channelSine (const grid &mesh) | |
void | initializeField (vfield &uField) |
Function to generate sinusoidal perturbation for channel flow. More... | |
![]() | |
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 | |
![]() | |
const grid & | mesh |
The derived class from initial to impose sinusoidal perturbation for channel flow.
|
virtual |
Function to generate sinusoidal perturbation for channel flow.
The sinusoidal function is multiplied with the equation of a parabola in order to satisfy the channel flow BCs. This is not divergence-free and has performed poorly in tests so far.
Reimplemented from initial.