stores the information of a 2D NSE system matrix More...
#include <SystemNSE2D.h>
Public Member Functions | |
TSystemNSE2D (TFESpace2D *velocity_fespace, TFESpace2D *presssure_fespace, TFEVectFunct2D *Velocity, TFEFunction2D *p, double *sol, double *rhs, int disctype, int nsetype, int solver#ifdef __PRIVATE__, TFESpace2D *Projection_space, TFESpace2D *Stress_FeSpace, TFESpace2D *Deformation_FeSpace#endif) | |
source file for TSystemNSE2D More... | |
~TSystemNSE2D () | |
void | Init (CoeffFct2D *lincoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *U1BoundValue, BoundValueFunct2D *U2BoundValue, TAuxParam2D *aux, TAuxParam2D *auxerror) |
void | Assemble (double *sol, double *rhs) |
void | AssembleNonLinear (double *sol, double *rhs) |
void | AssembleRhsOnly (double *sol, double *rhs) |
void | GetResidual (double *sol, double *rhs, double *res) |
void | Solve (double *sol, double *rhs) |
void | MeasureErrors (DoubleFunct2D *ExactU1, DoubleFunct2D *ExactU2, DoubleFunct2D *ExactP, double *u_error, double *p_error) |
stores the information of a 2D NSE system matrix
class for 2D NSE system matrix
TSystemNSE2D::TSystemNSE2D | ( | TFESpace2D * | velocity_fespace, |
TFESpace2D * | presssure_fespace, | ||
TFEVectFunct2D * | Velocity, | ||
TFEFunction2D * | p, | ||
double * | sol, | ||
double * | rhs, | ||
int | disctype, | ||
int | nsetype, | ||
int solver#ifdef | __PRIVATE__, | ||
TFESpace2D * | Projection_space, | ||
TFESpace2D * | Stress_FeSpace, | ||
TFESpace2D *Deformation_FeSpace# | endif | ||
) |
source file for TSystemNSE2D
constructor
TSystemNSE2D::~TSystemNSE2D | ( | ) |
destrcutor
void TSystemNSE2D::Assemble | ( | double * | sol, |
double * | rhs | ||
) |
assemble the system matrix
initialize matrices
assemble
apply local projection stabilization method
upwind
void TSystemNSE2D::AssembleNonLinear | ( | double * | sol, |
double * | rhs | ||
) |
assemble the nonlinear part of the NSE system
apply local projection stabilization method
upwind
void TSystemNSE2D::AssembleRhsOnly | ( | double * | sol, |
double * | rhs | ||
) |
assemble only the rhs when coupled with CST
void TSystemNSE2D::GetResidual | ( | double * | sol, |
double * | rhs, | ||
double * | res | ||
) |
get the resudual of the NSE system
void TSystemNSE2D::Init | ( | CoeffFct2D * | lincoeffs, |
BoundCondFunct2D * | BoundCond, | ||
BoundValueFunct2D * | U1BoundValue, | ||
BoundValueFunct2D * | U2BoundValue, | ||
TAuxParam2D * | aux, | ||
TAuxParam2D * | auxerror | ||
) |
methods Initilize the discrete forms and the matrices
void TSystemNSE2D::MeasureErrors | ( | DoubleFunct2D * | ExactU1, |
DoubleFunct2D * | ExactU2, | ||
DoubleFunct2D * | ExactP, | ||
double * | u_error, | ||
double * | p_error | ||
) |
measure the error in the NSE
void TSystemNSE2D::Solve | ( | double * | sol, |
double * | rhs | ||
) |
solve the system matrix
|
protected |
Assembling
|
protected |
Boundary conditon
|
protected |
Boundary values
|
protected |
method for resudual calculation
|
protected |
Discrete form for the equation
|
protected |
Discretization type
|
protected |
Fe functions of NSE
|
protected |
velocity fespace
|
protected |
Bilinear coefficient
|
protected |
G - mat for VMS
|
protected |
L - mat for VMS
|
protected |
B is the system mat for NSE pressure component
|
protected |
number of matrices in the system matrix
|
protected |
DOFs of velocity and pressure spaces
|
protected |
NSEaux is used to pass additional fe functions (eg. mesh velocity) that is nedded for assembling
|
protected |
NSE type
|
protected |
sol, rhs arrays
|
protected |
Solver type
|
protected |
A is the stiffness/system mat for NSE velocity component
|
protected |
sqstructureA of the system matrix
|
protected |
these private routines are not available for public sqstructureG of the vms projection matrix
|
protected |
structure of the vms projection matrix
|
protected |
structure of the system matrix