waves
Basic FE playground
flow::Boundary Class Reference

Handle the boundary of a medium. More...

#include <wBoundary.h>

Inheritance diagram for flow::Boundary:
Collaboration diagram for flow::Boundary:

Public Member Functions

 Boundary (std::shared_ptr< tbox::MshData > _msh, std::vector< int > const &nos)
 
 Boundary (std::shared_ptr< tbox::MshData > _msh, std::vector< std::string > const &names)
 
virtual ~Boundary ()
 
void save (std::string const &name, tbox::Results const &res)
 Save nodal data for further post-processing. More...
 
virtual void write (std::ostream &out) const override
 

Public Attributes

std::vector< tbox::Node * > nodes
 nodes of Boundary More...
 
std::map< tbox::Node *, size_t > nMap
 node to local index map More...
 
std::map< tbox::Element *, tbox::Element * > svMap
 surface to volume element map More...
 
double Cl
 lift coefficient More...
 
double Cd
 drag coefficient More...
 
double Cs
 sideforce coefficient More...
 
double Cm
 pitch moment coefficient (positive nose-up) More...
 
std::vector< Eigen::Vector3d > nLoads
 nodal (normalized) aerodynamic loads on boundary More...
 

Private Member Functions

void create ()
 Create data structure. More...
 

Detailed Description

Handle the boundary of a medium.

Authors
Adrien Crovato

Constructor & Destructor Documentation

◆ Boundary() [1/2]

flow::Boundary::Boundary ( std::shared_ptr< tbox::MshData >  _msh,
std::vector< int > const &  nos 
)

◆ Boundary() [2/2]

flow::Boundary::Boundary ( std::shared_ptr< tbox::MshData >  _msh,
std::vector< std::string > const &  names 
)

◆ ~Boundary()

virtual flow::Boundary::~Boundary ( )
inlinevirtual

Member Function Documentation

◆ create()

void Boundary::create ( )
private

Create data structure.

Authors
Adrien Crovato

◆ save()

void Boundary::save ( std::string const &  name,
tbox::Results const &  res 
)

Save nodal data for further post-processing.

Authors
Adrien Crovato

◆ write()

void Boundary::write ( std::ostream &  out) const
overridevirtual

Member Data Documentation

◆ Cd

double flow::Boundary::Cd

drag coefficient

◆ Cl

double flow::Boundary::Cl

lift coefficient

◆ Cm

double flow::Boundary::Cm

pitch moment coefficient (positive nose-up)

◆ Cs

double flow::Boundary::Cs

sideforce coefficient

◆ nLoads

std::vector<Eigen::Vector3d> flow::Boundary::nLoads

nodal (normalized) aerodynamic loads on boundary

◆ nMap

std::map<tbox::Node *, size_t> flow::Boundary::nMap

node to local index map

◆ nodes

std::vector<tbox::Node *> flow::Boundary::nodes

nodes of Boundary

◆ svMap

std::map<tbox::Element *, tbox::Element *> flow::Boundary::svMap

surface to volume element map


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