46#include <blitz/array.h>
70 boundary *tLft, *tRgt, *tFrn, *tBak, *tTop, *tBot;
138 real visc_time, nlin_time, intr_time, impl_time, prhs_time, pois_time;
Contains all the global variables related to the imposing of boundary conditions, and functions to im...
Definition: boundary.h:51
Contains all the global variables related to the imposing of forcing, and associated functions.
Definition: force.h:52
Contains all the global variables related to the grid, its slices, limits, and grid derivatives used ...
Definition: grid.h:53
The base class hydro to solve the incompressible Navier-Stokes equations.
Definition: hydro.h:62
The derived class from poisson to perform multi-grid operations on a 2D grid.
Definition: poisson.h:156
The derived class from poisson to perform multi-grid operations on a 3D grid.
Definition: poisson.h:193
Class for all the global variables and functions related to parallelization.
Definition: parallel.h:51
Contains all the global variables set by the user through the yaml file.
Definition: parser.h:63
Plain scalar field class to store simple scalar fields with no differentiation or interpolation.
Definition: plainsf.h:51
The derived class from the scalar base class to solve the incompressible NSE in 2D with energy equati...
Definition: scalar.h:94
scalar_d2(const grid &mesh, const parser &solParam, parallel &mpiParam)
Constructor of the scalar_d2 class derived from the base scalar class.
Definition: scalar_d2.cc:59
real testPeriodic()
Function to test whether periodic BC is being implemented properly.
Definition: scalar_d2.cc:468
void solvePDE()
The core publicly accessible function of the hydro class to solve the Navier-Stokes equations.
Definition: scalar_d2.cc:105
The derived class from the scalar base class to solve the incompressible NSE in 3D with energy equati...
Definition: scalar.h:125
void solvePDE()
The core publicly accessible function of the hydro class to solve the Navier-Stokes equations.
Definition: scalar_d3.cc:110
scalar_d3(const grid &mesh, const parser &solParam, parallel &mpiParam)
Constructor of the scalar_d3 class derived from the base scalar class.
Definition: scalar_d3.cc:62
real testPeriodic()
Function to test whether periodic BC is being implemented properly.
Definition: scalar_d3.cc:597
The base class scalar to solve the incompressible Navier-Stokes equations with energy equation.
Definition: scalar.h:51
void initTForcing()
Function to initialize the forcing terms for temperature.
Definition: scalar.cc:169
void imposeTBCs()
Function to impose the boundary conditions for temperature.
Definition: scalar.cc:240
force * tForcing
Instance of force class to handle temperature field forcing.
Definition: scalar.h:57
virtual void solveT()
Function to solve the implicit equation for scalar field.
Definition: scalar.cc:119
void initVForcing()
Function to initialize the forcing terms for velocity.
Definition: scalar.cc:131
scalar(const grid &mesh, const parser &solParam, parallel &mpiParam)
Constructor of the base scalar class.
Definition: scalar.cc:61
void initTBC()
Function to initialize the boundary conditions for temperature.
Definition: scalar.cc:185
sfield T
The scalar field that stores the temperature field.
Definition: scalar.h:54
Scalar field class to store and operate on scalar fields.
Definition: sfield.h:54
Class declaration of the hydro solver for both 2D and 3D cases.