Function which sets 5-moment fluid to shock tube conditions.
More...
Function which sets 5-moment fluid to shock tube conditions.
|
def | __init__ (self, name, gamma, density_left=1.0, density_right=0.125, pressure_left=1.0, pressure_right=0.1, transition_width=None, direction=None, center=None) |
|
◆ __init__()
def warpy.functions.shock_tube.shock_tube_5moment.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
gamma, |
|
|
|
density_left = 1.0 , |
|
|
|
density_right = 0.125 , |
|
|
|
pressure_left = 1.0 , |
|
|
|
pressure_right = 0.1 , |
|
|
|
transition_width = None , |
|
|
|
direction = None , |
|
|
|
center = None |
|
) |
| |
- Parameters
-
name | Name of module |
gamma | Gas gamma |
density_left | Mass density on left of domain |
density_right | Mass density on right of domain |
pressure_left | Pressure on left of domain |
pressure_right | Pressure on right of domain |
transition_width | Smoothing factor for discontinuity |
direction | Direction (vector) of shock tube |
center | Center (vector) of shock tube |
The documentation for this class was generated from the following file: