HydroGym-environments / Nozzle2D_coarse /jxf_case_setup.json
dbezgin's picture
Update Nozzle2D_coarse/jxf_case_setup.json
23a8333 verified
{
"general": {
"case_name": "Nozzle2D_coarse",
"end_time": 7e-3,
"save_path": "./results",
"save_dt": 5e-5
},
"restart": {
"is_restart": true,
"file_path": ""
},
"domain": {
"x": {
"cells": 500,
"range": [0.0, 6.87],
"stretching": {
"type": "PIECEWISE",
"parameters": [
{
"type": "CONSTANT",
"lower_bound": 0.0,
"upper_bound": 0.21984,
"cells": 400
},
{
"type": "INCREASING",
"lower_bound": 0.21984,
"upper_bound": 6.87,
"cells": 100
}
]
}
},
"y": {
"cells": 300,
"range": [-2.061, 2.061],
"stretching": {
"type": "PIECEWISE",
"parameters": [
{
"type": "DECREASING",
"lower_bound": -2.061,
"upper_bound": -0.05496,
"cells": 50
},
{
"type": "CONSTANT",
"lower_bound": -0.05496,
"upper_bound": 0.05496,
"cells": 200
},
{
"type": "INCREASING",
"lower_bound": 0.05496,
"upper_bound": 2.061,
"cells": 50
}
]
}
},
"z": {
"cells": 1,
"range": [0.0, 1.0]
},
"decomposition": {
"split_x": 1,
"split_y": 1,
"split_z": 1
}
},
"boundary_conditions": {
"primitives": {
"east": {"type": "ZEROGRADIENT"},
"west": [
{
"type": "SIMPLE_OUTFLOW",
"primitives_callable": {
"rho": 1.1608739058763438,
"u": 0.0,
"v": 0.0,
"w": 0.0,
"p": 1e+5
},
"bounding_domain": "lambda y: jnp.abs(y) >= 40e-3"
},
{
"type": "DIRICHLET",
"primitives_callable": {
"rho": 5.197043223368256,
"u": 80.68822026223108,
"v": 0.0,
"w": 0.0,
"p": 442850.0099379365
},
"bounding_domain": "lambda y: jnp.abs(y) < 40e-3"
}
],
"north": {"type": "ZEROGRADIENT"},
"south": {"type": "ZEROGRADIENT"},
"top": {"type": "INACTIVE"},
"bottom": {"type": "INACTIVE"}
},
"levelset": {
"east": {"type": "ZEROGRADIENT"},
"west": {"type": "ZEROGRADIENT"},
"north": {"type": "ZEROGRADIENT"},
"south": {"type": "ZEROGRADIENT"},
"top": {"type": "INACTIVE"},
"bottom": {"type": "INACTIVE"}
}
},
"initial_condition": {
"primitives": {
"rho": 1.1608739058763438,
"u": 0.0,
"v": 0.0,
"w": 0.0,
"p": 1e+5
},
"levelset": "lambda x, y: jnp.zeros_like(x)"
},
"material_properties": {
"equation_of_state": {
"model": "IdealGas",
"specific_heat_ratio": 1.4,
"specific_gas_constant": 287.14
}
},
"output": {
"primitives": ["density", "velocity", "pressure", "temperature"],
"levelset": ["volume_fraction", "levelset"]
}
}