Adding data for shock vector control: Nozzle2D_fine
#4
by dbezgin - opened
Nozzle2D_fine/jxf_case_setup.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"general": {
|
| 3 |
+
"case_name": "Nozzle2D_fine",
|
| 4 |
+
"end_time": 7e-3,
|
| 5 |
+
"save_path": "./results",
|
| 6 |
+
"save_dt": 5e-5
|
| 7 |
+
},
|
| 8 |
+
"domain": {
|
| 9 |
+
"x": {
|
| 10 |
+
"cells": 900,
|
| 11 |
+
"range": [0.0, 6.87],
|
| 12 |
+
"stretching": {
|
| 13 |
+
"type": "PIECEWISE",
|
| 14 |
+
"parameters": [
|
| 15 |
+
{
|
| 16 |
+
"type": "CONSTANT",
|
| 17 |
+
"lower_bound": 0.0,
|
| 18 |
+
"upper_bound": 0.21984,
|
| 19 |
+
"cells": 800
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"type": "INCREASING",
|
| 23 |
+
"lower_bound": 0.21984,
|
| 24 |
+
"upper_bound": 6.87,
|
| 25 |
+
"cells": 100
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"y": {
|
| 31 |
+
"cells": 500,
|
| 32 |
+
"range": [-2.061, 2.061],
|
| 33 |
+
"stretching": {
|
| 34 |
+
"type": "PIECEWISE",
|
| 35 |
+
"parameters": [
|
| 36 |
+
{
|
| 37 |
+
"type": "DECREASING",
|
| 38 |
+
"lower_bound": -2.061,
|
| 39 |
+
"upper_bound": -0.05496,
|
| 40 |
+
"cells": 50
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"type": "CONSTANT",
|
| 44 |
+
"lower_bound": -0.05496,
|
| 45 |
+
"upper_bound": 0.05496,
|
| 46 |
+
"cells": 400
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "INCREASING",
|
| 50 |
+
"lower_bound": 0.05496,
|
| 51 |
+
"upper_bound": 2.061,
|
| 52 |
+
"cells": 50
|
| 53 |
+
}
|
| 54 |
+
]
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"z": {
|
| 58 |
+
"cells": 1,
|
| 59 |
+
"range": [0.0, 1.0]
|
| 60 |
+
},
|
| 61 |
+
"decomposition": {
|
| 62 |
+
"split_x": 1,
|
| 63 |
+
"split_y": 1,
|
| 64 |
+
"split_z": 1
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"boundary_conditions": {
|
| 68 |
+
"primitives": {
|
| 69 |
+
"east": {"type": "ZEROGRADIENT"},
|
| 70 |
+
"west": [
|
| 71 |
+
{
|
| 72 |
+
"type": "SIMPLE_OUTFLOW",
|
| 73 |
+
"primitives_callable": {
|
| 74 |
+
"rho": 1.1608739058763438,
|
| 75 |
+
"u": 0.0,
|
| 76 |
+
"v": 0.0,
|
| 77 |
+
"w": 0.0,
|
| 78 |
+
"p": 1e+5
|
| 79 |
+
},
|
| 80 |
+
"bounding_domain": "lambda y: jnp.abs(y) >= 40e-3"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "DIRICHLET",
|
| 84 |
+
"primitives_callable": {
|
| 85 |
+
"rho": 5.1970438957214355,
|
| 86 |
+
"u": 80.68822479248047,
|
| 87 |
+
"v": 0.0,
|
| 88 |
+
"w": 0.0,
|
| 89 |
+
"p": 442850.0625
|
| 90 |
+
},
|
| 91 |
+
"bounding_domain": "lambda y: jnp.abs(y) < 40e-3"
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"north": {"type": "ZEROGRADIENT"},
|
| 95 |
+
"south": {"type": "ZEROGRADIENT"},
|
| 96 |
+
"top": {"type": "INACTIVE"},
|
| 97 |
+
"bottom": {"type": "INACTIVE"}
|
| 98 |
+
},
|
| 99 |
+
"levelset": {
|
| 100 |
+
"east": {"type": "ZEROGRADIENT"},
|
| 101 |
+
"west": {"type": "ZEROGRADIENT"},
|
| 102 |
+
"north": {"type": "ZEROGRADIENT"},
|
| 103 |
+
"south": {"type": "ZEROGRADIENT"},
|
| 104 |
+
"top": {"type": "INACTIVE"},
|
| 105 |
+
"bottom": {"type": "INACTIVE"}
|
| 106 |
+
}
|
| 107 |
+
},
|
| 108 |
+
"initial_condition": {
|
| 109 |
+
"primitives": {
|
| 110 |
+
"rho": 1.1608739058763438,
|
| 111 |
+
"u": 0.0,
|
| 112 |
+
"v": 0.0,
|
| 113 |
+
"w": 0.0,
|
| 114 |
+
"p": 1e+5
|
| 115 |
+
},
|
| 116 |
+
"levelset": "lambda x, y: jnp.zeros_like(x)"
|
| 117 |
+
},
|
| 118 |
+
"material_properties": {
|
| 119 |
+
"equation_of_state": {
|
| 120 |
+
"model": "IdealGas",
|
| 121 |
+
"specific_heat_ratio": 1.4,
|
| 122 |
+
"specific_gas_constant": 287.14
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"output": {
|
| 126 |
+
"primitives": ["density", "velocity", "pressure", "temperature"],
|
| 127 |
+
"levelset": ["volume_fraction", "levelset"]
|
| 128 |
+
}
|
| 129 |
+
}
|
Nozzle2D_fine/jxf_numerical_setup.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"conservatives": {
|
| 3 |
+
"halo_cells": 4,
|
| 4 |
+
"time_integration": {
|
| 5 |
+
"integrator": "RK3",
|
| 6 |
+
"CFL": 0.6
|
| 7 |
+
},
|
| 8 |
+
"convective_fluxes": {
|
| 9 |
+
"convective_solver": "GODUNOV",
|
| 10 |
+
"godunov": {
|
| 11 |
+
"riemann_solver": "HLLC",
|
| 12 |
+
"signal_speed": "EINFELDT",
|
| 13 |
+
"reconstruction_stencil": "WENO5-Z-ADAP",
|
| 14 |
+
"reconstruction_variable": "CHAR-PRIMITIVE"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"positivity": {
|
| 18 |
+
"is_interpolation_limiter": true
|
| 19 |
+
},
|
| 20 |
+
"dissipative_fluxes": {
|
| 21 |
+
"reconstruction_stencil": "CENTRAL4-ADAP",
|
| 22 |
+
"derivative_stencil_center": "CENTRAL4-ADAP",
|
| 23 |
+
"derivative_stencil_face": "CENTRAL4-ADAP"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"levelset": {
|
| 27 |
+
"halo_cells": 2,
|
| 28 |
+
"model": "FLUID-SOLID",
|
| 29 |
+
"nozzle_geometry": {
|
| 30 |
+
"derivative_stencil_normal": "CENTRAL2"
|
| 31 |
+
},
|
| 32 |
+
"interface_flux": {
|
| 33 |
+
"interpolation_dh": 0.5,
|
| 34 |
+
"is_cell_based_computation": true
|
| 35 |
+
},
|
| 36 |
+
"extension": {
|
| 37 |
+
"primitives": {
|
| 38 |
+
"method": "ITERATIVE",
|
| 39 |
+
"iterative": {
|
| 40 |
+
"CFL": 0.5,
|
| 41 |
+
"steps": 5,
|
| 42 |
+
"is_jaxwhileloop": false,
|
| 43 |
+
"residual_threshold": 1e-14
|
| 44 |
+
},
|
| 45 |
+
"interpolation": {
|
| 46 |
+
"is_cell_based_computation": true
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"mixing": {
|
| 51 |
+
"conservatives": {
|
| 52 |
+
"volume_fraction_threshold": 2e-1,
|
| 53 |
+
"mixing_targets": 2,
|
| 54 |
+
"is_cell_based_computation": true
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"active_physics": {
|
| 59 |
+
"is_convective_flux": true,
|
| 60 |
+
"is_viscous_flux": false,
|
| 61 |
+
"is_heat_flux": false,
|
| 62 |
+
"is_volume_force": false,
|
| 63 |
+
"is_surface_tension": false
|
| 64 |
+
},
|
| 65 |
+
"precision": {
|
| 66 |
+
"is_double_precision_compute": true,
|
| 67 |
+
"is_double_precision_output": true
|
| 68 |
+
},
|
| 69 |
+
"output": {
|
| 70 |
+
"derivative_stencil": "CENTRAL4",
|
| 71 |
+
"is_xdmf": false,
|
| 72 |
+
"logging": {
|
| 73 |
+
"frequency": 1
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
}
|