[cig-commits] commit: Add circular inclusion benchmark

Mercurial hg at geodynamics.org
Mon Nov 21 20:07:16 PST 2011


changeset:   419:c63c0a05d31e
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Mon Nov 21 20:07:03 2011 -0800
files:       json_input/benchmarks/circular_inclusion.json
description:
Add circular inclusion benchmark


diff -r 314869274237 -r c63c0a05d31e json_input/benchmarks/circular_inclusion.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/circular_inclusion.json	Mon Nov 21 20:07:03 2011 -0800
@@ -0,0 +1,134 @@
+{
+    "components":
+    {
+        "boxShape":
+        {
+            "Type": "Box",
+            "startX": "minX",
+            "endX": "maxX",
+            "startY": "minY",
+            "endY": "maxY",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "inclusionShape":
+        {
+            "Type": "EquationShape",
+            "equation": "1-(x*x+y*y)"
+        },
+        "backgroundShape":
+        {
+            "Type": "Intersection",
+            "shapes":[
+                "boxShape",
+                "!inclusionShape"
+            ]
+        },
+        "backgroundViscosity":
+        {
+            "Type": "MaterialViscosity",
+            "eta0": "1.0"
+        },
+        "inclusionViscosity":
+        {
+            "Type": "MaterialViscosity",
+            "eta0": "2.0"
+        },
+        "viscous":
+        {
+            "Type": "RheologyMaterial",
+            "Shape": "backgroundShape",
+            "Rheology": [
+                "backgroundViscosity",
+                "storeViscosity",
+                "storeStress"
+            ]
+        },
+        "inclusion":
+        {
+            "Type": "RheologyMaterial",
+            "Shape": "inclusionShape",
+            "Rheology": [
+                "inclusionViscosity",
+                "storeViscosity",
+                "storeStress"
+            ]
+        }
+
+    },
+    "velocityBCs" :{
+        "type": "CompositeVC",
+        "vcList": [
+            {
+                "type": "WallVC",
+                "wall": "top",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-x"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "y"
+                    }
+                ]
+            },
+            {
+                "type": "WallVC",
+                "wall": "right",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-x"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "y"
+                    }
+                ]
+            },
+            {
+                "type": "WallVC",
+                "wall": "left",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "0.0"
+                    }
+                ]
+            },
+            {
+                "type": "WallVC",
+                "wall": "bottom",
+                "variables": [
+                    {
+                        "name": "vy",
+                        "value": "0.0"
+                    }
+                ]
+            }
+        ]
+    },
+
+    "FieldVariablesToCheckpoint": [
+        "StrainRateInvariantField",
+        "VelocityField",
+        "PressureField"
+    ],
+    "timeIntegratorOrder": "1",
+    "maxTimeSteps": "0",
+    "outputPath": "./output",
+    "dim": "2",
+    "minX": "0",
+    "minY": "0",
+    "minZ": "0",
+    "maxX": "80",
+    "maxY": "80",
+    "maxZ": "80",
+    "nx": "64",
+    "ny": "64",
+    "nz": "16",
+    "particlesPerCell": "40",
+    "seed": "13",
+    "checkpointEvery": "1"
+ }
\ No newline at end of file



More information about the CIG-COMMITS mailing list