Add improved default bc
This commit is contained in:
		
							
								
								
									
										39
									
								
								multigrid/examples/double.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								multigrid/examples/double.json
									
									
									
									
									
										Normal 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
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user