[cig-commits] commit: Add divergence benchmarks

Mercurial hg at geodynamics.org
Tue Nov 22 12:54:19 PST 2011


changeset:   423:a15903a28f5c
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Nov 22 12:53:25 2011 -0800
files:       json_input/benchmarks/divergence.json json_input/benchmarks/divergence3D.json
description:
Add divergence benchmarks


diff -r fff5db5bf5c4 -r a15903a28f5c json_input/benchmarks/divergence.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/divergence.json	Tue Nov 22 12:53:25 2011 -0800
@@ -0,0 +1,163 @@
+{
+    "components":
+    {
+        "boxShape":
+        {
+            "Type": "Box",
+            "startX": "minX",
+            "endX": "maxX",
+            "startY": "minY",
+            "endY": "maxY",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "topLeftShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "topRightShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "bottomLeftShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "bottomRightShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "backgroundViscosity":
+        {
+            "Type": "MaterialViscosity",
+            "eta0": "1.0"
+        },
+        "viscous":
+        {
+            "Type": "RheologyMaterial",
+            "Shape": "boxShape",
+            "density": "1.0",
+            "Rheology": [
+                "backgroundViscosity",
+                "storeViscosity",
+                "storeStress"
+            ]
+        },
+        "divergence":
+        {
+            "Type": "DivergenceForce",
+            "ForceVector": "cont_force",
+            "Swarm": "gaussSwarm",
+            "DomainShape": "boxShape",
+            "force_value": "-2"
+        }
+
+    },
+    "velocityBCs" :{
+        "type": "CompositeVC",
+        "vcList": [
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topLeftShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topRightShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomLeftShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomRightShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    }
+                ]
+            }
+        ]
+    },
+
+    "FieldVariablesToCheckpoint": [
+        "StrainRateInvariantField",
+        "VelocityField",
+        "PressureField"
+    ],
+    "timeIntegratorOrder": "1",
+    "maxTimeSteps": "0",
+    "outputPath": "./output",
+    "dim": "2",
+    "minX": "0",
+    "minY": "0",
+    "minZ": "0",
+    "maxX": "2",
+    "maxY": "2",
+    "maxZ": "2",
+    "nx": "4",
+    "ny": "4",
+    "nz": "4",
+    "particlesPerCell": "40",
+    "seed": "13",
+    "checkpointEvery": "1"
+}
\ No newline at end of file
diff -r fff5db5bf5c4 -r a15903a28f5c json_input/benchmarks/divergence3D.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/divergence3D.json	Tue Nov 22 12:53:25 2011 -0800
@@ -0,0 +1,291 @@
+{
+    "components":
+    {
+        "boxShape":
+        {
+            "Type": "Box",
+            "startX": "minX",
+            "endX": "maxX",
+            "startY": "minY",
+            "endY": "maxY",
+            "startZ": "minZ",
+            "endZ": "maxZ"
+        },
+        "topLeftFrontShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "-0.01",
+            "endZ": "0.01"
+        },
+        "topRightFrontShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "-0.01",
+            "endZ": "0.01"
+        },
+        "bottomLeftFrontShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "-0.01",
+            "endZ": "0.01"
+        },
+        "bottomRightFrontShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "-0.01",
+            "endZ": "0.01"
+        },
+        "topLeftBackShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "1.99",
+            "endZ": "2.01"
+        },
+        "topRightBackShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "1.99",
+            "endY": "2.01",
+            "startZ": "1.99",
+            "endZ": "2.01"
+        },
+        "bottomLeftBackShape":
+        {
+            "Type": "Box",
+            "startX": "-0.01",
+            "endX": "0.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "1.99",
+            "endZ": "2.01"
+        },
+        "bottomRightBackShape":
+        {
+            "Type": "Box",
+            "startX": "1.99",
+            "endX": "2.01",
+            "startY": "-0.01",
+            "endY": "0.01",
+            "startZ": "1.99",
+            "endZ": "2.01"
+        },
+        "backgroundViscosity":
+        {
+            "Type": "MaterialViscosity",
+            "eta0": "1.0"
+        },
+        "viscous":
+        {
+            "Type": "RheologyMaterial",
+            "Shape": "boxShape",
+            "density": "1.0",
+            "Rheology": [
+                "backgroundViscosity",
+                "storeViscosity",
+                "storeStress"
+            ]
+        },
+        "divergence":
+        {
+            "Type": "DivergenceForce",
+            "ForceVector": "cont_force",
+            "Swarm": "gaussSwarm",
+            "DomainShape": "boxShape",
+            "force_value": "-3"
+        }
+
+    },
+    "velocityBCs" :{
+        "type": "CompositeVC",
+        "vcList": [
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topLeftFrontShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "-1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topRightFrontShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "-1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomLeftFrontShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "-1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomRightFrontShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "-1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topLeftBackShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "topRightBackShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomLeftBackShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "1.0"
+                    }
+                ]
+            },
+            {
+                "type": "MeshShapeVC",
+                "Shape": "bottomRightBackShape",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "1.0"
+                    },
+                    {
+                        "name": "vy",
+                        "value": "-1.0"
+                    },
+                    {
+                        "name": "vz",
+                        "value": "1.0"
+                    }
+                ]
+            }
+        ]
+    },
+
+    "FieldVariablesToCheckpoint": [
+        "StrainRateInvariantField",
+        "VelocityField",
+        "PressureField"
+    ],
+    "timeIntegratorOrder": "1",
+    "maxTimeSteps": "0",
+    "outputPath": "./output",
+    "dim": "3",
+    "minX": "0",
+    "minY": "0",
+    "minZ": "0",
+    "maxX": "2",
+    "maxY": "2",
+    "maxZ": "2",
+    "nx": "4",
+    "ny": "4",
+    "nz": "4",
+    "particlesPerCell": "40",
+    "seed": "13",
+    "checkpointEvery": "1"
+}
\ No newline at end of file



More information about the CIG-COMMITS mailing list