dbezgin commited on
Commit
7f5b8f5
·
verified ·
1 Parent(s): 064887e

Create jxf_case_setup.json

Browse files
Files changed (1) hide show
  1. Nozzle3D_fine/jxf_case_setup.json +156 -0
Nozzle3D_fine/jxf_case_setup.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "general": {
3
+ "case_name": "Nozzle2D_coarse",
4
+ "end_time": 7e-3,
5
+ "save_path": "./results",
6
+ "save_dt": 5e-5
7
+ },
8
+ "restart": {
9
+ "is_restart": true,
10
+ "file_path": ""
11
+ },
12
+ "domain": {
13
+ "x": {
14
+ "cells": 900,
15
+ "range": [0.0, 6.87],
16
+ "stretching": {
17
+ "type": "PIECEWISE",
18
+ "parameters": [
19
+ {
20
+ "type": "CONSTANT",
21
+ "lower_bound": 0.0,
22
+ "upper_bound": 0.21984,
23
+ "cells": 800
24
+ },
25
+ {
26
+ "type": "INCREASING",
27
+ "lower_bound": 0.21984,
28
+ "upper_bound": 6.87,
29
+ "cells": 100
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ "y": {
35
+ "cells": 500,
36
+ "range": [-2.061, 2.061],
37
+ "stretching": {
38
+ "type": "PIECEWISE",
39
+ "parameters": [
40
+ {
41
+ "type": "DECREASING",
42
+ "lower_bound": -2.061,
43
+ "upper_bound": -0.05496,
44
+ "cells": 50
45
+ },
46
+ {
47
+ "type": "CONSTANT",
48
+ "lower_bound": -0.05496,
49
+ "upper_bound": 0.05496,
50
+ "cells": 400
51
+ },
52
+ {
53
+ "type": "INCREASING",
54
+ "lower_bound": 0.05496,
55
+ "upper_bound": 2.061,
56
+ "cells": 50
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ "z": {
62
+ "cells": 500,
63
+ "range": [-2.061, 2.061],
64
+ "stretching": {
65
+ "type": "PIECEWISE",
66
+ "parameters": [
67
+ {
68
+ "type": "DECREASING",
69
+ "lower_bound": -2.061,
70
+ "upper_bound": -0.05496,
71
+ "cells": 50
72
+ },
73
+ {
74
+ "type": "CONSTANT",
75
+ "lower_bound": -0.05496,
76
+ "upper_bound": 0.05496,
77
+ "cells": 400
78
+ },
79
+ {
80
+ "type": "INCREASING",
81
+ "lower_bound": 0.05496,
82
+ "upper_bound": 2.061,
83
+ "cells": 50
84
+ }
85
+ ]
86
+ }
87
+ },
88
+ "decomposition": {
89
+ "split_x": 1,
90
+ "split_y": 1,
91
+ "split_z": 1
92
+ }
93
+ },
94
+ "boundary_conditions": {
95
+ "primitives": {
96
+ "east": {"type": "ZEROGRADIENT"},
97
+ "west": [
98
+ {
99
+ "type": "SIMPLE_OUTFLOW",
100
+ "primitives_callable": {
101
+ "rho": 1.1608739058763438,
102
+ "u": 0.0,
103
+ "v": 0.0,
104
+ "w": 0.0,
105
+ "p": 1e+5
106
+ },
107
+ "bounding_domain": "lambda y, z: jnp.abs(y) >= 40e-3"
108
+ },
109
+ {
110
+ "type": "DIRICHLET",
111
+ "primitives_callable": {
112
+ "rho": 0.0,
113
+ "u": 0.0,
114
+ "v": 0.0,
115
+ "w": 0.0,
116
+ "p": 0.0
117
+ },
118
+ "bounding_domain": "lambda y, z: jnp.abs(y) < 40e-3"
119
+ }
120
+ ],
121
+ "north": {"type": "ZEROGRADIENT"},
122
+ "south": {"type": "ZEROGRADIENT"},
123
+ "top": {"type": "ZEROGRADIENT"},
124
+ "bottom": {"type": "ZEROGRADIENT"}
125
+ },
126
+ "levelset": {
127
+ "east": {"type": "ZEROGRADIENT"},
128
+ "west": {"type": "ZEROGRADIENT"},
129
+ "north": {"type": "ZEROGRADIENT"},
130
+ "south": {"type": "ZEROGRADIENT"},
131
+ "top": {"type": "ZEROGRADIENT"},
132
+ "bottom": {"type": "ZEROGRADIENT"}
133
+ }
134
+ },
135
+ "initial_condition": {
136
+ "primitives": {
137
+ "rho": 1.1608739058763438,
138
+ "u": 0.0,
139
+ "v": 0.0,
140
+ "w": 0.0,
141
+ "p": 1e+5
142
+ },
143
+ "levelset": "lambda x, y, z: jnp.zeros_like(x)"
144
+ },
145
+ "material_properties": {
146
+ "equation_of_state": {
147
+ "model": "IdealGas",
148
+ "specific_heat_ratio": 1.4,
149
+ "specific_gas_constant": 287.14
150
+ }
151
+ },
152
+ "output": {
153
+ "primitives": ["density", "velocity", "pressure", "temperature"],
154
+ "levelset": ["volume_fraction", "levelset"]
155
+ }
156
+ }