WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_hartmann_mhd.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_HARTMANN_MHD_H
2#define WMICFUNCTION_HARTMANN_MHD_H
3
4// std includes
5#include <vector>
6#include <string>
7#include <cmath>
8
9// Wm includes
11// #include "wmicfunction_couette_fluid5.h"
13
14// class WmICFunction_Hartmann_MHD: // public WmICFunction_Couette_Fluid5
16{
17public:
24
31
38 void setup(const WxCryptSet& wxc);
39
47 void applyFunction(const real* position, real* value) const;
48
49private:
50 real _gasGamma;
51 real _density;
52 real _pressure;
53 real _wall_velocity;
54 real _bx;
55 real _dpdy;
56 real _L;
57 real _eta;
58 real _mu;
59 real _hartmann_number_reference;
60 real _reynolds_number_reference;
61
62 // std::unique_ptr<wxm::apps::mhd::analytic_solutions::Hartmann_flow>
63 // _hartmann_flow_app;
64
65 bool _use_solution;
66};
67#endif // WMICFUNCTION_HARTMANN_MHD_H
Definition: wmicfunction_hartmann_mhd.h:16
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Hartmann_MHD object using supplied cryptset.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~WmICFunction_Hartmann_MHD()
Destroy WmICFunction_Hartmann_MHD.
WmICFunction_Hartmann_MHD()
Create new WmICFunction_Hartmann_MHD.
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11