SummationByParts/multigrid/examples/mix_operators.json

66 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2020-04-19 16:52:47 +00:00
{
"grids": {
"default": {
"operators": {
"xi": "upwind9",
"eta": "upwind9"
}
},
"grid0": {
2020-09-04 14:51:18 +00:00
"x": { "linspace": { "start": -5, "end": 0, "steps": 50, "h2": true } },
"y": { "linspace": { "start": 0, "end": 5, "steps": 50, "h2": true } },
2020-04-19 16:52:47 +00:00
"operators": {
"xi": "upwind9h2",
"eta": "upwind9h2"
},
"boundary_conditions": {
2020-09-04 14:51:18 +00:00
"south": { "interpolate": { "neighbour": "grid1", "operator": "9h2" } },
"east": { "neighbour": "grid3" }
2020-04-19 16:52:47 +00:00
}
},
"grid1": {
2020-09-04 14:51:18 +00:00
"x": { "linspace": { "start": -5, "end": 0, "steps": 98, "h2": true } },
"y": { "linspace": { "start": -5, "end": 0, "steps": 100 } },
2020-04-19 16:52:47 +00:00
"operators": {
"xi": "upwind9h2"
},
"boundary_conditions": {
2020-09-04 14:51:18 +00:00
"north": { "interpolate": { "neighbour": "grid0", "operator": "9h2" } },
"east": { "neighbour": "grid2" }
2020-04-19 16:52:47 +00:00
}
},
"grid2": {
2020-09-04 14:51:18 +00:00
"x": { "linspace": { "start": 0, "end": 5, "steps": 99 } },
"y": { "linspace": { "start": -5, "end": 0, "steps": 100 } },
2020-04-19 16:52:47 +00:00
"boundary_conditions": {
2020-09-04 14:51:18 +00:00
"north": { "interpolate": { "neighbour": "grid3", "operator": "9" } },
"west": { "neighbour": "grid1" }
2020-04-19 16:52:47 +00:00
}
},
"grid3": {
2020-09-04 14:51:18 +00:00
"x": { "linspace": { "start": 0, "end": 5, "steps": 50 } },
"y": { "linspace": { "start": 0, "end": 5, "steps": 50, "h2": true } },
2020-04-19 16:52:47 +00:00
"operators": {
"eta": "upwind9h2"
},
"boundary_conditions": {
2020-09-04 14:51:18 +00:00
"south": { "interpolate": { "neighbour": "grid2", "operator": "9" } },
"west": { "neighbour": "grid0" }
2020-04-19 16:52:47 +00:00
}
}
},
"integration_time": 2.0,
"initial_conditions": {
"vortex": {
"vortices": [{
"x0": -1.0,
"y0": 0.0,
"rstar": 0.5,
"eps": 1.0
}],
"mach": 0.5
}
},
"boundary_conditions": "initial_conditions"
2020-04-19 16:52:47 +00:00
}