WARPXM v1.10.0
Loading...
Searching...
No Matches
hartmann_mhd.h
Go to the documentation of this file.
1#ifndef wmapplication_function_mhd_hartmann_flow_h
2#define wmapplication_function_mhd_hartmann_flow_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace mhd
14{
15
17{
18public:
24
29 ~HartmannMHD() override;
30
35 void setup(const WxCryptSet& wxc) override;
36
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_fluid;
45 }
46
54 void evaluate_function(const real* q,
55 const real* aux,
56 const solverVariables_t* pSV,
57 real* result) const override;
58
59protected:
60 std::vector<int> _output_fluid;
61
73
74 // std::unique_ptr<wxm::apps::mhd::analytic_solutions::Hartmann_flow>
75 // _hartmann_flow_app;
76
78
79private:
80 HartmannMHD& operator=(const HartmannMHD& var);
81 HartmannMHD(const HartmannMHD& var);
82};
83} // namespace mhd
84} // namespace functions
85} // namespace apps
86} // namespace wxm
87
88#endif
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: hartmann_mhd.h:17
real _gasGamma
Definition: hartmann_mhd.h:62
bool _use_solution
Definition: hartmann_mhd.h:77
real _pressure
Definition: hartmann_mhd.h:64
real _reynolds_number_reference
Definition: hartmann_mhd.h:72
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: hartmann_mhd.h:42
real _bx
Definition: hartmann_mhd.h:66
real _wall_velocity
Definition: hartmann_mhd.h:65
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _hartmann_number_reference
Definition: hartmann_mhd.h:71
real _density
Definition: hartmann_mhd.h:63
real _eta
Definition: hartmann_mhd.h:69
real _L
Definition: hartmann_mhd.h:68
real _dpdy
Definition: hartmann_mhd.h:67
std::vector< int > _output_fluid
Definition: hartmann_mhd.h:60
real _mu
Definition: hartmann_mhd.h:70
list apps
Definition: shock_tube.py:33
warpy mhd
Definition: mhd_shock.py:32
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11