 |
waves
Basic FE playground
|
Go to the documentation of this file.
26 #include <Eigen/Dense>
40 std::shared_ptr<tbox::MshData>
msh;
57 std::vector<std::shared_ptr<Boundary>>
bnds;
58 std::shared_ptr<Initial>
iIC;
59 std::vector<std::shared_ptr<Dirichlet>>
dBCs;
60 std::vector<std::shared_ptr<Freestream>>
fBCs;
61 std::vector<std::shared_ptr<Wake>>
wBCs;
62 std::vector<std::shared_ptr<Kutta>>
kSCs;
63 std::vector<std::shared_ptr<Blowing>>
bBCs;
65 std::vector<fwk::Observer *>
obs;
68 Problem(std::shared_ptr<tbox::MshData> _msh,
int dim,
double aoa,
double aos,
69 double minf,
double sref,
double cref,
double xref,
double yref,
71 virtual ~Problem() { std::cout <<
"~Problem()\n"; }
73 void set(std::shared_ptr<Medium> m);
74 void add(std::shared_ptr<Boundary> b);
75 void set(std::shared_ptr<Initial> i);
76 void add(std::shared_ptr<Dirichlet> d);
77 void add(std::shared_ptr<Freestream> f);
78 void add(std::shared_ptr<Wake> w);
79 void add(std::shared_ptr<Kutta> k);
80 void add(std::shared_ptr<Blowing> b);
81 void update(
double aoa);
88 virtual void write(std::ostream &out)
const override;
std::vector< std::shared_ptr< Freestream > > fBCs
Freestream boundary conditions.
Definition: wProblem.h:60
std::vector< fwk::Observer * > obs
classes depending on problem variables
Definition: wProblem.h:65
double beta
Angle of sideslip.
Definition: wProblem.h:44
std::shared_ptr< Initial > iIC
Initial condition.
Definition: wProblem.h:58
Sideforce direction.
Definition: wF1Ct.h:62
#define FLOW_API
Definition: flow.h:29
F1CtSide dirS
Definition: wProblem.h:53
std::vector< std::shared_ptr< Dirichlet > > dBCs
Dirichlet boundary conditions.
Definition: wProblem.h:59
double alpha
Angle of attack.
Definition: wProblem.h:43
Namespace for flow module.
Definition: flow.h:37
Drag direction.
Definition: wF1Ct.h:43
F1CtDrag dirD
Definition: wProblem.h:52
std::vector< std::shared_ptr< Blowing > > bBCs
Blowing (transpiration) boundary condition.
Definition: wProblem.h:63
std::vector< std::shared_ptr< Kutta > > kSCs
Kutta condition.
Definition: wProblem.h:62
double S_ref
Reference surface.
Definition: wProblem.h:47
double c_ref
Reference chord.
Definition: wProblem.h:48
Manage the problem.
Definition: wProblem.h:37
F1CtLift dirL
Definition: wProblem.h:54
Lift direction.
Definition: wF1Ct.h:81
virtual ~Problem()
Definition: wProblem.h:71
std::shared_ptr< Medium > medium
Fluid.
Definition: wProblem.h:56
Eigen::Vector3d x_ref
Reference center point (for moment computation)
Definition: wProblem.h:49
std::vector< std::shared_ptr< Wake > > wBCs
Wake boundary condition.
Definition: wProblem.h:61
double M_inf
Mach number.
Definition: wProblem.h:45
std::vector< std::shared_ptr< Boundary > > bnds
Boundaries.
Definition: wProblem.h:57
int nDim
Problem dimension.
Definition: wProblem.h:41
std::shared_ptr< tbox::MshData > msh
Mesh structure.
Definition: wProblem.h:40