Namespaces | Functions
base_flow.hpp File Reference
#include <petscksp.h>
#include "class.hpp"

Go to the source code of this file.

Namespaces

 SPE
 Namespace containing all functions and data classes for this solver.
 

Functions

int SPE::base_flow (SPE &data)
 set plane channel or blasius boundary layer flow velocity variables \(U, U_x, U_y,\) and etc Note: type_base_flow has an integer flag that corresponds with the following flow types More...
 
int SPE::_bblf (const PetscScalar input[3], PetscScalar output[3])
 Blasius boundary layer function to integrate. Similarity Blasius ODE broken into three coupled equations

\[ \begin{aligned} f'' &= \int -ff'' d\eta\\ f' &= \int f'' d\eta\\ f &= \int f' d\eta\\ \end{aligned} \]

. More...

 
int SPE::base_flow_dim (SPE &data)
 Use this after base_flow(data) call to set the ny matrices to size dim. So U is set into U_dim. More...