Add Evaluator for defining IC/BC in json config
This commit is contained in:
		@@ -5,10 +5,6 @@
 | 
			
		||||
            "operators": {
 | 
			
		||||
                "xi": "upwind9",
 | 
			
		||||
                "eta": "upwind9h2"
 | 
			
		||||
            },
 | 
			
		||||
            "boundary_conditions": {
 | 
			
		||||
                "east": "vortex",
 | 
			
		||||
                "west": "vortex"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "grid0": {
 | 
			
		||||
@@ -26,14 +22,18 @@
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": -1.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "rstar": 0.5,
 | 
			
		||||
            "eps": 1.0
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": -1.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "rstar": 0.5,
 | 
			
		||||
                "eps": 1.0
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "boundary_conditions": "initial_conditions",
 | 
			
		||||
    "integration_time": 2.0
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,12 +4,6 @@
 | 
			
		||||
            "operators": {
 | 
			
		||||
                "xi": "upwind9",
 | 
			
		||||
                "eta": "upwind9"
 | 
			
		||||
            },
 | 
			
		||||
            "boundary_conditions": {
 | 
			
		||||
                "south": "vortex",
 | 
			
		||||
                "north": "vortex",
 | 
			
		||||
                "east": "vortex",
 | 
			
		||||
                "west": "vortex"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "grid0": {
 | 
			
		||||
@@ -28,13 +22,16 @@
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": -1.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "rstar": 0.5,
 | 
			
		||||
            "eps": 1.0
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    }
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": -1.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "rstar": 0.5,
 | 
			
		||||
                "eps": 1.0
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "boundary_conditions": "initial_conditions"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,12 +4,6 @@
 | 
			
		||||
            "operators": {
 | 
			
		||||
                "xi": "upwind9",
 | 
			
		||||
                "eta": "upwind9"
 | 
			
		||||
            },
 | 
			
		||||
            "boundary_conditions": {
 | 
			
		||||
                "south": "vortex",
 | 
			
		||||
                "north": "vortex",
 | 
			
		||||
                "east": "vortex",
 | 
			
		||||
                "west": "vortex"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "grid0": {
 | 
			
		||||
@@ -56,13 +50,16 @@
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": -1.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "rstar": 0.5,
 | 
			
		||||
            "eps": 1.0
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    }
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": -1.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "rstar": 0.5,
 | 
			
		||||
                "eps": 1.0
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "boundary_conditions": "initial_conditions"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -48,13 +48,15 @@
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": -1.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "eps": 1.0,
 | 
			
		||||
            "rstar": 0.5
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": -1.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "eps": 1.0,
 | 
			
		||||
                "rstar": 0.5
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -168,13 +168,15 @@
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": -1.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "rstar": 0.5,
 | 
			
		||||
            "eps": 1.0
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": -1.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "rstar": 0.5,
 | 
			
		||||
                "eps": 1.0
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,12 +4,6 @@
 | 
			
		||||
            "operators": {
 | 
			
		||||
                "xi": "upwind9",
 | 
			
		||||
                "eta": "upwind9"
 | 
			
		||||
            },
 | 
			
		||||
            "boundary_conditions": {
 | 
			
		||||
                "south": "vortex",
 | 
			
		||||
                "north": "vortex",
 | 
			
		||||
                "east": "vortex",
 | 
			
		||||
                "west": "vortex"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "grid0": {
 | 
			
		||||
@@ -37,13 +31,16 @@
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "integration_time": 2.0,
 | 
			
		||||
    "vortex": {
 | 
			
		||||
        "vortices": [{
 | 
			
		||||
            "x0": 0.0,
 | 
			
		||||
            "y0": 0.0,
 | 
			
		||||
            "rstar": 0.5,
 | 
			
		||||
            "eps": 1.0
 | 
			
		||||
        }],
 | 
			
		||||
        "mach": 0.5
 | 
			
		||||
    }
 | 
			
		||||
    "initial_conditions": {
 | 
			
		||||
        "vortex": {
 | 
			
		||||
            "vortices": [{
 | 
			
		||||
                "x0": 0.0,
 | 
			
		||||
                "y0": 0.0,
 | 
			
		||||
                "rstar": 0.5,
 | 
			
		||||
                "eps": 1.0
 | 
			
		||||
            }],
 | 
			
		||||
            "mach": 0.5
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "boundary_conditions": "initial_conditions"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user