add and move multigrid examples
This commit is contained in:
parent
ed0f0e4a20
commit
597e1ab4a0
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"grids": {
|
||||
"default": {
|
||||
"operators": {
|
||||
"xi": "upwind9",
|
||||
"eta": "upwind9"
|
||||
}
|
||||
},
|
||||
"grid0": {
|
||||
"x": "linspace:-5:5:50",
|
||||
"y": "linspace:0:5:25",
|
||||
"boundary_conditions": {
|
||||
"south": "interpolate:9:grid1",
|
||||
"north": "vortex",
|
||||
"east": "vortex",
|
||||
"west": "vortex"
|
||||
}
|
||||
},
|
||||
"grid1": {
|
||||
"x": "linspace:-5:5:99",
|
||||
"y": "linspace:-5:0:50",
|
||||
"boundary_conditions": {
|
||||
"south": "vortex",
|
||||
"north": "interpolate:9:grid0",
|
||||
"east": "vortex",
|
||||
"west": "vortex"
|
||||
}
|
||||
}
|
||||
},
|
||||
"integration_time": 2.0,
|
||||
"vortex": {
|
||||
"x0": -1.0,
|
||||
"y0": 0.0,
|
||||
"mach": 0.5,
|
||||
"rstar": 0.5,
|
||||
"eps": 1.0
|
||||
}
|
||||
}
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue