|
Nektar++
|
Classes | |
| class | Poly |
Functions | |
| as_poly (value) | |
| adv (component) | |
| install_manufactured_solution (text) | |
| check_mixed_tri_quad_mesh (text, session) | |
| set_time_integration (text, method, order) | |
| replace_parameter (text, name, value) | |
| build_session (args, workdir, order, formulation) | |
| run_case (args, workdir, order, formulation) | |
| parse_int_map (values) | |
| parse_str_map (values) | |
| main () | |
Variables | |
| list | VELOCITY_VARS = ["u", "v"] |
| dict | DEFAULT_METHOD_BY_ORDER = {2: "IMEXdirk23", 3: "IMEXdirk23"} |
| dict | DEFAULT_STEPS_BY_ORDER = {2: 4, 3: 4} |
| x = Poly.var(0) | |
| y = Poly.var(1) | |
| X = x * (3.0 - x) | |
| Y = y * (3.0 - y) | |
| tuple | psi = (X**2) * (Y**2) |
| tuple | u0 = psi.deriv(1) |
| tuple | v0 = -psi.deriv(0) |
| tuple | p0 = (x - 1.5) * (y - 1.5) |
| str | A = "(1+0.1*sin(t))" |
| str | AT = "(0.1*cos(t))" |
| str | A0 = "1" |
| tuple | U0 = u0.expr() |
| tuple | V0 = v0.expr() |
| tuple | P0 = p0.expr() |
| str | U = f"{A}*{U0}" |
| str | V = f"{A}*{V0}" |
| tuple | P = P0 |
| ADV_U = adv(u0).expr() | |
| ADV_V = adv(v0).expr() | |
| tuple | PX = p0.deriv(0).expr() |
| tuple | PY = p0.deriv(1).expr() |
| tuple | LAP_U = u0.lap().expr() |
| tuple | LAP_V = v0.lap().expr() |
| str | FORCE_U = f"{AT}*{U0}+{A}*{A}*{ADV_U}+{PX}-Kinvis*{A}*{LAP_U}" |
| str | FORCE_V = f"{AT}*{V0}+{A}*{A}*{ADV_V}+{PY}-Kinvis*{A}*{LAP_V}" |
| str | MANUFACTURED_FUNCTIONS |
| str | FORCING_BLOCK |
| str | BOUNDARY_CONDITIONS |
| check_imexdirk_forced_mms_2d.adv | ( | component | ) |
Definition at line 121 of file check_imexdirk_forced_mms_2d.py.
| check_imexdirk_forced_mms_2d.as_poly | ( | value | ) |
Definition at line 104 of file check_imexdirk_forced_mms_2d.py.
Referenced by check_imexdirk_forced_mms_2d.Poly.__add__(), check_imexdirk_forced_mms_2d.Poly.__mul__(), check_imexdirk_forced_mms_2d.Poly.__rsub__(), and check_imexdirk_forced_mms_2d.Poly.__sub__().
| check_imexdirk_forced_mms_2d.build_session | ( | args, | |
| workdir, | |||
| order, | |||
| formulation | |||
| ) |
Definition at line 239 of file check_imexdirk_forced_mms_2d.py.
References check_mixed_tri_quad_mesh(), install_manufactured_solution(), replace_parameter(), and set_time_integration().
Referenced by run_case().
| check_imexdirk_forced_mms_2d.check_mixed_tri_quad_mesh | ( | text, | |
| session | |||
| ) |
Definition at line 208 of file check_imexdirk_forced_mms_2d.py.
Referenced by build_session().
| check_imexdirk_forced_mms_2d.install_manufactured_solution | ( | text | ) |
Definition at line 183 of file check_imexdirk_forced_mms_2d.py.
Referenced by build_session().
| check_imexdirk_forced_mms_2d.main | ( | ) |
Definition at line 312 of file check_imexdirk_forced_mms_2d.py.
References parse_int_map(), parse_str_map(), and run_case().
| check_imexdirk_forced_mms_2d.parse_int_map | ( | values | ) |
Definition at line 296 of file check_imexdirk_forced_mms_2d.py.
Referenced by main().
| check_imexdirk_forced_mms_2d.parse_str_map | ( | values | ) |
Definition at line 304 of file check_imexdirk_forced_mms_2d.py.
Referenced by main().
| check_imexdirk_forced_mms_2d.replace_parameter | ( | text, | |
| name, | |||
| value | |||
| ) |
Definition at line 231 of file check_imexdirk_forced_mms_2d.py.
Referenced by build_session().
| check_imexdirk_forced_mms_2d.run_case | ( | args, | |
| workdir, | |||
| order, | |||
| formulation | |||
| ) |
Definition at line 263 of file check_imexdirk_forced_mms_2d.py.
References build_session().
Referenced by main().
| check_imexdirk_forced_mms_2d.set_time_integration | ( | text, | |
| method, | |||
| order | |||
| ) |
Definition at line 218 of file check_imexdirk_forced_mms_2d.py.
Referenced by build_session().
| str check_imexdirk_forced_mms_2d.A = "(1+0.1*sin(t))" |
Definition at line 125 of file check_imexdirk_forced_mms_2d.py.
| str check_imexdirk_forced_mms_2d.A0 = "1" |
Definition at line 127 of file check_imexdirk_forced_mms_2d.py.
Definition at line 136 of file check_imexdirk_forced_mms_2d.py.
Definition at line 137 of file check_imexdirk_forced_mms_2d.py.
| str check_imexdirk_forced_mms_2d.AT = "(0.1*cos(t))" |
Definition at line 126 of file check_imexdirk_forced_mms_2d.py.
| str check_imexdirk_forced_mms_2d.BOUNDARY_CONDITIONS |
Definition at line 170 of file check_imexdirk_forced_mms_2d.py.
| dict check_imexdirk_forced_mms_2d.DEFAULT_METHOD_BY_ORDER = {2: "IMEXdirk23", 3: "IMEXdirk23"} |
Definition at line 11 of file check_imexdirk_forced_mms_2d.py.
| dict check_imexdirk_forced_mms_2d.DEFAULT_STEPS_BY_ORDER = {2: 4, 3: 4} |
Definition at line 12 of file check_imexdirk_forced_mms_2d.py.
Definition at line 143 of file check_imexdirk_forced_mms_2d.py.
Definition at line 144 of file check_imexdirk_forced_mms_2d.py.
| str check_imexdirk_forced_mms_2d.FORCING_BLOCK |
Definition at line 164 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.LAP_U = u0.lap().expr() |
Definition at line 140 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.LAP_V = v0.lap().expr() |
Definition at line 141 of file check_imexdirk_forced_mms_2d.py.
| str check_imexdirk_forced_mms_2d.MANUFACTURED_FUNCTIONS |
Definition at line 146 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.P = P0 |
Definition at line 134 of file check_imexdirk_forced_mms_2d.py.
Definition at line 118 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.P0 = p0.expr() |
Definition at line 131 of file check_imexdirk_forced_mms_2d.py.
Definition at line 115 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.PX = p0.deriv(0).expr() |
Definition at line 138 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.PY = p0.deriv(1).expr() |
Definition at line 139 of file check_imexdirk_forced_mms_2d.py.
Definition at line 132 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.u0 = psi.deriv(1) |
Definition at line 116 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.U0 = u0.expr() |
Definition at line 129 of file check_imexdirk_forced_mms_2d.py.
Definition at line 133 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.v0 = -psi.deriv(0) |
Definition at line 117 of file check_imexdirk_forced_mms_2d.py.
| tuple check_imexdirk_forced_mms_2d.V0 = v0.expr() |
Definition at line 130 of file check_imexdirk_forced_mms_2d.py.
| list check_imexdirk_forced_mms_2d.VELOCITY_VARS = ["u", "v"] |
Definition at line 10 of file check_imexdirk_forced_mms_2d.py.
| check_imexdirk_forced_mms_2d.x = Poly.var(0) |
Definition at line 108 of file check_imexdirk_forced_mms_2d.py.
Definition at line 113 of file check_imexdirk_forced_mms_2d.py.
| check_imexdirk_forced_mms_2d.y = Poly.var(1) |
Definition at line 109 of file check_imexdirk_forced_mms_2d.py.
Definition at line 114 of file check_imexdirk_forced_mms_2d.py.