 |
waves
Basic FE playground
|
Go to the documentation of this file.
27 #include <Eigen/Dense>
39 std::shared_ptr<Problem>
pbl;
40 std::shared_ptr<tbox::LinearSolver>
linsol;
49 std::vector<double>
phi;
52 std::vector<Eigen::Vector3d>
U;
53 std::vector<double>
rho;
54 std::vector<double>
M;
55 std::vector<double>
Cp;
66 Solver(std::shared_ptr<Problem> _pbl, std::shared_ptr<tbox::LinearSolver> _linsol);
70 void save(tbox::MshExport *mshWriter,
int n = 0);
fwk::Timers tms
internal timers
Definition: wSolver.h:62
std::shared_ptr< Problem > pbl
problem definition
Definition: wSolver.h:39
std::vector< double > rPhi
residual on potential
Definition: wSolver.h:50
int nthreads
number of threads for the execution
Definition: wSolver.h:42
Base solver class.
Definition: wSolver.h:36
std::vector< Eigen::Vector3d > U
velocity
Definition: wSolver.h:52
double absTol
absolute tolerance on the residual
Definition: wSolver.h:44
#define FLOW_API
Definition: flow.h:29
std::vector< double > rho
density
Definition: wSolver.h:53
int maxIt
max number of iterations
Definition: wSolver.h:45
Namespace for flow module.
Definition: flow.h:37
double Cl
lift coefficient
Definition: wSolver.h:56
double Cm
pitch moment coefficient (positive nose-up)
Definition: wSolver.h:59
double Cs
sideforce coefficient
Definition: wSolver.h:58
std::shared_ptr< tbox::LinearSolver > linsol
linear solver
Definition: wSolver.h:40
std::vector< double > M
mach number
Definition: wSolver.h:54
std::vector< double > vPhi
perturbation potential
Definition: wSolver.h:51
int verbose
display more info
Definition: wSolver.h:46
double relTol
relative tolerance on the residual
Definition: wSolver.h:43
std::vector< double > Cp
pressure coefficient
Definition: wSolver.h:55
std::vector< double > phi
full potential
Definition: wSolver.h:49
int nIt
number of iterations
Definition: wSolver.h:48
double Cd
drag coefficient
Definition: wSolver.h:57
std::vector< int > rows
unknown nodal index
Definition: wSolver.h:63