Artificial Viscosity and Heat Flux.
- Parameters
-
name | Name of application |
fluid | Fluid variable |
fluid_gradient | Fluid gradient variable |
gamma | Gas Gamma (Adiabatic Index) |
mass | Mass of species |
min_density | Density floor |
min_pressure | Pressure floor |
multiplier | scaling multiplier. Default of 1 is reasonable for most problems, higher is more diffusive |
eta_scales_with_dx | true if eta penalty should be a function of dx. Useful if not using a pure upwinding LDG method. |
components | Components of fluid variable |
gradient_components | Components of fluid gradient variable |
gradient_method | This method only currently supports "ldg" |
|
def | __init__ (self, name, fluid, fluid_gradient, gamma, mass, multiplier=1, min_pressure=None, min_density=None, eta_scales_with_dx=False, components=None, gradient_components=None, gradient_method="ldg") |
|
def | __init__ (self, name, req_attrs, opt_attrs=None, variables=None, const_variables=None, sub_applications=None) |
|
def | map_components (self, comp_map) |
|
def | variables (self) |
|
def | const_variables (self) |
|
def | components (self) |
|
def | const_components (self) |
|
def | attrs (self, stage=None) |
|
def | __init__ (self, name, applications, req_attrs, opt_attrs=None, extra_components=None, extra_const_components=None) |
|
def | convert_variable_to_components_list (self, variable, variable_components=None) |
|
def | convert_variables_to_components_list (self, variables, variables_components=None) |
|
def | convert_components_to_indexes (self, comps_list) |
|
def | internal_components (self) |
|
def | internal_const_components (self) |
|
def | map_components (self, comp_map) |
|
def | generate (self, start=None, stop=None, stride=1, explode_name=True, explode_args=True) |
| generates a list of blocks representing this pywarp object
|
|