waves
Basic FE playground
flow::LoadFunctional Class Reference

Formulation of load functional. More...

#include <wLoadFunctional.h>

Static Public Member Functions

static Eigen::VectorXd build (tbox::Element const &e, tbox::Element const &eV, std::vector< double > const &phi, F0El const &cp)
 Compute the loads due to pressure normalized by the freestream dynamic pressure, on one boundary element. More...
 
static Eigen::MatrixXd buildGradientFlow (tbox::Element const &e, tbox::Element const &eV, std::vector< double > const &phi, F0El const &cp)
 Build the gradient of the loads with respect to the flow variable, on one boundary element. More...
 
static std::tuple< Eigen::MatrixXd, Eigen::MatrixXd > buildGradientMesh (tbox::Element const &e, tbox::Element const &eV, std::vector< double > const &phi, F0El const &cp, int nDim)
 Build the gradient of the loads with respect to the nodes, on one boundary element. More...
 

Detailed Description

Formulation of load functional.

Member Function Documentation

◆ build()

Eigen::VectorXd LoadFunctional::build ( tbox::Element const &  e,
tbox::Element const &  eV,
std::vector< double > const &  phi,
F0El const &  cp 
)
static

Compute the loads due to pressure normalized by the freestream dynamic pressure, on one boundary element.

b = \int psi * cp * n dS

◆ buildGradientFlow()

Eigen::MatrixXd LoadFunctional::buildGradientFlow ( tbox::Element const &  e,
tbox::Element const &  eV,
std::vector< double > const &  phi,
F0El const &  cp 
)
static

Build the gradient of the loads with respect to the flow variable, on one boundary element.

A = \int psi * dcp * n dS

◆ buildGradientMesh()

std::tuple< Eigen::MatrixXd, Eigen::MatrixXd > LoadFunctional::buildGradientMesh ( tbox::Element const &  e,
tbox::Element const &  eV,
std::vector< double > const &  phi,
F0El const &  cp,
int  nDim 
)
static

Build the gradient of the loads with respect to the nodes, on one boundary element.

A = d( \int psi * cp * n dS ) = \int psi * dcp * n * dS

  • \int psi * cp * dn * dS
  • \int psi * cp * n * ddS

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