Add Evaluator for defining IC/BC in json config

This commit is contained in:
2021-06-29 17:55:19 +02:00
parent 300f6a34e5
commit b5360af6de
12 changed files with 793 additions and 96 deletions

View File

@@ -5,10 +5,6 @@
"operators": {
"xi": "upwind9",
"eta": "upwind9h2"
},
"boundary_conditions": {
"east": "vortex",
"west": "vortex"
}
},
"grid0": {
@@ -26,14 +22,18 @@
}
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
},
"boundary_conditions": "initial_conditions",
"integration_time": 2.0
}

View File

@@ -4,12 +4,6 @@
"operators": {
"xi": "upwind9",
"eta": "upwind9"
},
"boundary_conditions": {
"south": "vortex",
"north": "vortex",
"east": "vortex",
"west": "vortex"
}
},
"grid0": {
@@ -28,13 +22,16 @@
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
},
"boundary_conditions": "initial_conditions"
}

View File

@@ -4,12 +4,6 @@
"operators": {
"xi": "upwind9",
"eta": "upwind9"
},
"boundary_conditions": {
"south": "vortex",
"north": "vortex",
"east": "vortex",
"west": "vortex"
}
},
"grid0": {
@@ -56,13 +50,16 @@
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
},
"boundary_conditions": "initial_conditions"
}

View File

@@ -48,13 +48,15 @@
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"eps": 1.0,
"rstar": 0.5
}],
"mach": 0.5
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"eps": 1.0,
"rstar": 0.5
}],
"mach": 0.5
}
}
}

View File

@@ -168,13 +168,15 @@
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
}
}

View File

@@ -4,12 +4,6 @@
"operators": {
"xi": "upwind9",
"eta": "upwind9"
},
"boundary_conditions": {
"south": "vortex",
"north": "vortex",
"east": "vortex",
"west": "vortex"
}
},
"grid0": {
@@ -37,13 +31,16 @@
}
},
"integration_time": 2.0,
"vortex": {
"vortices": [{
"x0": 0.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": 0.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
},
"boundary_conditions": "initial_conditions"
}