SummationByParts/multigrid/examples/mix_operators.json

69 lines
2.3 KiB
JSON

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