[cig-commits] commit: Add sinusoid benchmark

Mercurial hg at geodynamics.org
Tue Nov 22 11:31:49 PST 2011


changeset:   422:fff5db5bf5c4
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Nov 22 11:31:36 2011 -0800
files:       json_input/benchmarks/sinusoid.json
description:
Add sinusoid benchmark


diff -r 79aca07e1240 -r fff5db5bf5c4 json_input/benchmarks/sinusoid.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/sinusoid.json	Tue Nov 22 11:31:36 2011 -0800
@@ -0,0 +1,116 @@
+{
+    "plugins":
+    [
+        {
+            "Type": "Underworld_EulerDeform",
+            "Context":"context"
+        }
+    ],
+    "EulerDeform":
+    {
+        "systems": [
+            {
+                "mesh": "v-mesh",
+                "p-mesh": "p-mesh",
+                "remesher": "velocityRemesher",
+                "velocityField": "VelocityField",
+                "wrapTop": "True"
+            }
+        ]
+    },
+    "components":
+    {
+        "buoyancyForceTerm":
+        {
+            "Type": "BuoyancyForceTerm",
+            "ForceVector": "mom_force",
+            "Swarm": "gaussSwarm",
+            "gravity": "gravity"
+        },
+        "backgroundShape":
+        {
+            "Type": "Everywhere"
+        },
+        "backgroundViscosity":
+        {
+            "Type": "MaterialViscosity",
+            "eta0": "1.0"
+        },
+        "viscous":
+        {
+            "Type": "RheologyMaterial",
+            "Shape": "backgroundShape",
+            "density": "1.0",
+            "Rheology": [
+                "backgroundViscosity",
+                "storeViscosity",
+                "storeStress"
+            ]
+        },
+        "surfaceAdaptor":
+        {
+            "Type": "SurfaceAdaptor",
+            "mesh":"v-mesh",
+            "sourceGenerator": "v-mesh-generator",
+            "topEquation": "0.01*cos(2*pi*x)"
+        }
+    },
+    "velocityBCs" :{
+        "type": "CompositeVC",
+        "vcList": [
+            {
+                "type": "WallVC",
+                "wall": "left",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "0.0"
+                    }
+                ]
+            },
+            {
+                "type": "WallVC",
+                "wall": "right",
+                "variables": [
+                    {
+                        "name": "vx",
+                        "value": "0.0"
+                    }
+                ]
+            },
+            {
+                "type": "WallVC",
+                "wall": "bottom",
+                "variables": [
+                    {
+                        "name": "vy",
+                        "value": "0.0"
+                    }
+                ]
+            }
+        ]
+    },
+
+    "FieldVariablesToCheckpoint": [
+        "StrainRateInvariantField",
+        "VelocityField",
+        "PressureField"
+    ],
+    "timeIntegratorOrder": "1",
+    "maxTimeSteps": "10",
+    "outputPath": "./output",
+    "dim": "2",
+    "minX": "0.0",
+    "minY": "0.0",
+    "minZ": "0.0",
+    "maxX": "0.5",
+    "maxY": "1.0",
+    "maxZ": "0.3",
+    "nx": "16",
+    "ny": "32",
+    "nz": "4",
+    "particlesPerCell": "40",
+    "seed": "13",
+    "checkpointEvery": "1",
+    "gravity": "1.0"
+}



More information about the CIG-COMMITS mailing list