SummationByParts/multigrid/examples/mix_operators.json

69 lines
1.8 KiB
JSON

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