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

The derived class from initial to impose sinusoidal perturbation for channel flow. More...

#include "lib/initial/initial.h"

Inheritance diagram for channelSine:
initial

Public Member Functions

 channelSine (const grid &mesh)
 
void initializeField (vfield &uField)
 Function to generate sinusoidal perturbation for channel flow. 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 sinusoidal perturbation for channel flow.

Member Function Documentation

◆ initializeField()

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


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