waves
Basic FE playground
flow::FreestreamResidual Class Reference

Formulation of freestream boundary residuals. More...

#include <wFreestreamResidual.h>

Static Public Member Functions

static Eigen::VectorXd build (tbox::Element const &e, std::vector< double > const &phi, Freestream const &fs)
 Build the residual vector, on one freestream boundary element. More...
 
static Eigen::VectorXd buildGradientAoa (tbox::Element const &e, std::vector< double > const &phi, Freestream const &fs)
 Build the gradient of the residual vector with respect to the angle of attack, on one freestream boundary element. More...
 

Detailed Description

Formulation of freestream boundary residuals.

Member Function Documentation

◆ build()

Eigen::VectorXd FreestreamResidual::build ( tbox::Element const &  e,
std::vector< double > const &  phi,
Freestream const &  fs 
)
static

Build the residual vector, on one freestream boundary element.

b = \int psi * v_inf * n dV

◆ buildGradientAoa()

Eigen::VectorXd FreestreamResidual::buildGradientAoa ( tbox::Element const &  e,
std::vector< double > const &  phi,
Freestream const &  fs 
)
static

Build the gradient of the residual vector with respect to the angle of attack, on one freestream boundary element.

b = \int psi * dv_inf * n dV


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