Add improved default bc

This commit is contained in:
2020-09-04 16:14:03 +02:00
parent cb2423ecb3
commit f1cb01d47c
3 changed files with 66 additions and 2 deletions

View File

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