[cig-commits] commit: Add a bunch of json input files
Mercurial
hg at geodynamics.org
Sat Nov 19 10:34:54 PST 2011
changeset: 408:05f8d922b06f
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Sat Nov 19 10:34:34 2011 -0800
files: json_input/benchmarks/thermal_diffusion.json json_input/benchmarks/thermal_diffusion.json~ json_input/benchmarks/thermal_eulerian.json json_input/benchmarks/thermal_eulerian.json~ json_input/benchmarks/thermal_lagrangian.json json_input/benchmarks/thermal_lagrangian.json~ json_input/cookbook/deforming_bottom.json json_input/cookbook/extension.json json_input/cookbook/extension3D.json json_input/cookbook/file.json json_input/cookbook/fixed_bottom.json json_input/cookbook/inflow_outflow.json json_input/cookbook/multi_material.json json_input/cookbook/normal_stress.json json_input/cookbook/sinusoid.json json_input/cookbook/split.json json_input/cookbook/template.json json_input/cookbook/thermal.json json_input/cookbook/thermal_file.json json_input/cookbook/thermal_only.json json_input/cookbook/tracers.json json_input/cookbook/viscous.json json_input/cookbook/yielding.json
description:
Add a bunch of json input files
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_diffusion.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_diffusion.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,119 @@
+{
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "3.14159",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "1",
+ "maxY": "1",
+ "maxZ": "0.3",
+ "nx": "8",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_diffusion.json~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_diffusion.json~ Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,138 @@
+{
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-.5)^2 + (y-.5)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "1.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "alpha": "10.0",
+ "diffusivity": "10.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "10.0"
+ }
+ ],
+ "Rheology": [
+ "sphereViscosity"
+ ]
+ },
+ "predictorMulticorrector":
+ {
+ "Type": "AdvDiffMulticorrector",
+ "multiCorrectorIterations": "2"
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ // "value": "1.0"
+ "value": "(x<.375 || x>.625 || y<.375 || y>.625) ? 1 : 2"
+ // "value": ".1^2 > ((x-.5)^2 + (y-.5)^2) ? 2 : 1"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField",
+ "VelocityField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "1",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "1",
+ "maxY": "1",
+ "maxZ": "0.3",
+ "nx": "8",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_eulerian.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_eulerian.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,165 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ },
+ {
+ "Type": "Underworld_MeshAdvectionCorrection",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "staticLeft": "True",
+ "staticRight": "True",
+ "staticTop": "True",
+ "staticBottom": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "0.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "2.718281828"
+ },
+ {
+ "name": "vy",
+ "value": "0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "(x<.375 || x>.625 || y<.375 || y>.625) ? 1 : 2"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField",
+ "VelocityField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "2",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "16",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_eulerian.json~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_eulerian.json~ Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,114 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField"
+ }
+ ]
+ },
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "0.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "1.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "(x<.375 || x>.625 || y<.375 || y>.625) ? 1 : 2"
+ // "value": ".1^2 > ((x-.5)^2 + (y-.5)^2) ? 2 : 1"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField",
+ "VelocityField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "1",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "4",
+ "maxY": "1",
+ "maxZ": "0.3",
+ "nx": "32",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_lagrangian.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_lagrangian.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,161 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ },
+ {
+ "Type": "Underworld_MeshAdvectionCorrection",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField"
+ }
+ ]
+ },
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "0.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "1.0"
+ },
+ {
+ "name": "vy",
+ "value": "2.718281828"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "(x<.375 || x>.625 || y<.375 || y>.625) ? 1 : 2"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField",
+ "VelocityField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "1",
+ "maxY": "1",
+ "maxZ": "0.3",
+ "nx": "8",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/benchmarks/thermal_lagrangian.json~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/benchmarks/thermal_lagrangian.json~ Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,138 @@
+{
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-.5)^2 + (y-.5)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "1.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "alpha": "10.0",
+ "diffusivity": "10.0",
+ "heatingElements": [
+ {
+ "Q": "0.0",
+ "lambda": "10.0"
+ }
+ ],
+ "Rheology": [
+ "sphereViscosity"
+ ]
+ },
+ "predictorMulticorrector":
+ {
+ "Type": "AdvDiffMulticorrector",
+ "multiCorrectorIterations": "2"
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ // "value": "1.0"
+ "value": "(x<.375 || x>.625 || y<.375 || y>.625) ? 1 : 2"
+ // "value": ".1^2 > ((x-.5)^2 + (y-.5)^2) ? 2 : 1"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField",
+ "VelocityField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "1",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "1",
+ "maxY": "1",
+ "maxZ": "0.3",
+ "nx": "8",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/deforming_bottom.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/deforming_bottom.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,122 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True",
+ "wrapBottom": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ ,"stressBC":
+ {
+ "Type": "StressBC",
+ "ForceVector": "mom_force",
+ "Swarm": "picIntegrationPoints",
+ "wall": "bottom",
+ "normal_value": "0.35-y"
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/extension.json
--- a/json_input/cookbook/extension.json Sat Nov 19 10:33:47 2011 -0800
+++ b/json_input/cookbook/extension.json Sat Nov 19 10:34:34 2011 -0800
@@ -6,6 +6,18 @@
"Context":"context"
}
],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
"components":
{
"buoyancyForceTerm":
@@ -43,18 +55,6 @@
}
},
- "EulerDeform":
- {
- "systems": [
- {
- "mesh": "v-T-mesh",
- "innerMesh": "pressure-mesh",
- "remesher": "velocityRemesher",
- "velocityField": "VelocityField",
- "wrapTop": "True"
- }
- ]
- },
"velocityBCs" :{
"type": "CompositeVC",
"vcList": [
@@ -64,7 +64,6 @@
"variables": [
{
"name": "vx",
- "type": "double",
"value": "0.0"
}
]
@@ -75,7 +74,6 @@
"variables": [
{
"name": "vx",
- "type": "double",
"value": "1.0"
}
]
@@ -86,7 +84,6 @@
"variables": [
{
"name": "vy",
- "type": "double",
"value": "0.0"
}
]
@@ -100,15 +97,15 @@
"PressureField"
],
"timeIntegratorOrder": "1",
- "maxTimeSteps": "0",
+ "maxTimeSteps": "10",
"outputPath": "./output",
"dim": "2",
- "minX": "0.0f",
- "minY": "0.0f",
- "minZ": "0.0f",
- "maxX": "2.0f",
- "maxY": "0.35f",
- "maxZ": "0.3f",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
"nx": "16",
"ny": "4",
"nz": "4",
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/extension3D.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/extension3D.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,145 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-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-T-mesh",
+ "sourceGenerator": "v-T-mesh-generator",
+ "topSurfaceType": "topo_data",
+ "topSurfaceName": "input/cookbook/test.topo",
+ "topNx": "32",
+ "topNz": "12",
+ "topMinX": "minX",
+ "topMaxX": "maxX",
+ "topMinZ": "minZ",
+ "topMaxZ": "maxZ",
+
+ "bottomEquation": "x<1 ? -0.1*x : -0.1"
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "front",
+ "variables": [
+ {
+ "name": "vz",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "back",
+ "variables": [
+ {
+ "name": "vz",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "3",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/file.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/file.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,124 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vx",
+ "type": "func",
+ "value": "File1"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0",
+ "File1_Name": "input/cookbook/velocities",
+ "File1_Dim": "0",
+ "File1_N": "102"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/fixed_bottom.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/fixed_bottom.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,133 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True",
+ "staticLeft" : "True",
+ "staticLeftTop" : "True",
+ "staticBottom" : "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "surfaceAdaptor":
+ {
+ "Type": "SurfaceAdaptor",
+ "mesh": "v-T-mesh",
+ "sourceGenerator": "v-T-mesh-generator",
+ "bottomEquation": "step(0.960468635615-x)*(-3 + sqrt(3.15*3.15 - x*x))"
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "r=hypot(x,y+3), step(3.35-r)*(y+3)"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "r=hypot(x,y+3), step(3.35-r)*(y+3)"
+ },
+ {
+ "name": "vy",
+ "value": "r=hypot(x,y+3), -step(3.35-r)*x"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0",
+ "journal.info": "True",
+ "journal.debug": "True",
+ "journal-level.info": "2",
+ "journal-level.debug": "2"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/inflow_outflow.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/inflow_outflow.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,122 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True",
+ "staticLeft" : "True",
+ "staticBottom" : "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "step(y-0.1)*step(0.2-y)"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "step(x-0.9)*step(1.1-x)"
+ },
+ {
+ "name": "vy",
+ "value": "-step(x-0.9)*step(1.1-x)"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/multi_material.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/multi_material.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,145 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "Rheology": [
+ "sphereViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.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",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/normal_stress.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/normal_stress.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,122 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True",
+ "staticBottom": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ ,"stressBC":
+ {
+ "Type": "StressBC",
+ "ForceVector": "mom_force",
+ "Swarm": "picIntegrationPoints",
+ "wall": "bottom",
+ "normal_value": "0.35-y"
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/sinusoid.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/sinusoid.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,116 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-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-T-mesh",
+ "sourceGenerator": "v-T-mesh-generator",
+ "topEquation": "0.1*sin(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.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/split.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/split.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,120 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "step(x-1)"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/template.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/template.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,89 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ }
+ },
+ "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",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/thermal.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/thermal.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,224 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity",
+ "TemperatureField": "TemperatureField"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "1.0",
+ "heatingElements": [
+ {
+ "Q": "1.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "alpha": "10.0",
+ "diffusivity": "10.0",
+ "heatingElements": [
+ {
+ "Q": "1000.0",
+ "lambda": "10.0"
+ }
+ ],
+ "Rheology": [
+ "sphereViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.01"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "2.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "TemperatureField",
+ "PressureField"
+ ],
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/thermal_file.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/thermal_file.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,230 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity",
+ "TemperatureField": "TemperatureField"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "1.0",
+ "heatingElements": [
+ {
+ "Q": "1.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "alpha": "10.0",
+ "diffusivity": "10.0",
+ "heatingElements": [
+ {
+ "Q": "1000.0",
+ "lambda": "10.0"
+ }
+ ],
+ "Rheology": [
+ "sphereViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.01"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "2.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "type": "func",
+ "value": "File1"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "TemperatureField",
+ "PressureField"
+ ],
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0",
+ "File1_Name": "input/cookbook/temperatures",
+ "File1_Dim": "0",
+ "File1_N": "202",
+ "File1_Dim2": "1",
+ "File1_N2": "37"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/thermal_only.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/thermal_only.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,182 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "components":
+ {
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "alpha": "1.0",
+ "diffusivity": "1.0",
+ "heatingElements": [
+ {
+ "Q": "1.0",
+ "lambda": "1.0"
+ }
+ ],
+ "Rheology": [
+ "backgroundViscosity"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "alpha": "10.0",
+ "diffusivity": "10.0",
+ "heatingElements": [
+ {
+ "Q": "1000.0",
+ "lambda": "10.0"
+ }
+ ],
+ "Rheology": [
+ "sphereViscosity"
+ ]
+ }
+ },
+ "velocityICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "vx",
+ "value": "0.0"
+ },
+ {
+ "name": "vy",
+ "value": "0.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureBCs": {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "top",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "temperature",
+ "value": "2.0"
+ }
+ ]
+ }
+ ]
+ },
+ "temperatureICs":
+ {
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "AllNodesVC",
+ "variables":[
+ {
+ "name": "temperature",
+ "value": "1.0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "TemperatureField"
+ ],
+ "enable-stokes": false,
+ "enable-thermal": true,
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "8",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/tracers.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/tracers.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,196 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True",
+ "staticLeft" : "True",
+ "staticLeftTop" : "True",
+ "staticBottom" : "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "surfaceAdaptor":
+ {
+ "Type": "SurfaceAdaptor",
+ "mesh": "v-T-mesh",
+ "sourceGenerator": "v-T-mesh-generator",
+ "bottomEquation": "step(0.960468635615-x)*(-3 + sqrt(3.15*3.15 - x*x))"
+ },
+
+ "pLayout":
+ {
+ "Type": "ManualParticleLayout",
+ "totalInitialParticles": "1",
+ "manualParticlePositions":
+ [
+ {
+ "asciidata": [
+ {
+ "columnDefinition" :
+ {
+ "name": "x",
+ "type": "double"
+ }
+ },
+ {
+ "columnDefinition" :
+ {
+ "name": "x",
+ "type": "double"
+ }
+ },
+ {
+ "columnDefinition" :
+ {
+ "name": "x",
+ "type": "double"
+ }
+ },
+ 1.0, .1, .1,
+ 1.3, .1, .1,
+ 1.6, .1, .1,
+ 1.9, .1, .1,
+ 1.0, .2, .1,
+ 1.3, .2, .1,
+ 1.6, .2, .1,
+ 1.9, .2, .1
+ ]
+ }
+ ]
+ },
+ "passiveSwarmMovementHandler":
+ {
+ "Type": "ParticleMovementHandler"
+ },
+ "passiveTracerSwarm":
+ {
+ "Type": "MaterialPointsSwarm",
+ "CellLayout": "cellLayout",
+ "ParticleLayout": "pLayout",
+ "FeMesh": "mesh-Q2",
+ "ParticleCommHandlers":
+ [
+ "passiveSwarmMovementHandler"
+ ],
+ "EscapedRoutine": "escapedRoutine"
+ },
+
+ "passiveTracerAdvect":
+ {
+ "Type": "SwarmAdvector"
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "r=hypot(x,y+3), step(3.35-r)*(y+3)"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "r=hypot(x,y+3), step(3.35-r)*(y+3)"
+ },
+ {
+ "name": "vy",
+ "value": "r=hypot(x,y+3), -step(3.35-r)*x"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0.0f",
+ "minY": "0.0f",
+ "minZ": "0.0f",
+ "maxX": "2.0f",
+ "maxY": "0.35f",
+ "maxZ": "0.3f",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0",
+ "journal.info": "True",
+ "journal.debug": "True",
+ "journal-level.info": "2",
+ "journal-level.debug": "2"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/viscous.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/viscous.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,116 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "boxShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vy",
+ "value": "0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "timeIntegratorOrder": "1",
+ "maxTimeSteps": "10",
+ "outputPath": "./output",
+ "dim": "2",
+ "minX": "0",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
diff -r edbd7dd99083 -r 05f8d922b06f json_input/cookbook/yielding.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/json_input/cookbook/yielding.json Sat Nov 19 10:34:34 2011 -0800
@@ -0,0 +1,173 @@
+{
+ "plugins":
+ [
+ {
+ "Type": "Underworld_EulerDeform",
+ "Context":"context"
+ }
+ ],
+ "EulerDeform":
+ {
+ "systems": [
+ {
+ "mesh": "v-T-mesh",
+ "innerMesh": "pressure-mesh",
+ "remesher": "velocityRemesher",
+ "velocityField": "VelocityField",
+ "wrapTop": "True"
+ }
+ ]
+ },
+ "components":
+ {
+ "buoyancyForceTerm":
+ {
+ "Type": "BuoyancyForceTerm",
+ "ForceVector": "mom_force",
+ "Swarm": "gaussSwarm",
+ "gravity": "gravity"
+ },
+ "boxShape":
+ {
+ "Type": "Box",
+ "startX": "minX",
+ "endX": "maxX",
+ "startY": "minY",
+ "endY": "maxY",
+ "startZ": "minZ",
+ "endZ": "maxZ"
+ },
+ "sphereShape":
+ {
+ "Type": "EquationShape",
+ "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "boxShape",
+ "!sphereShape"
+ ]
+ },
+ "backgroundViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "1.0"
+ },
+
+ "strainWeakening":
+ {
+ "Type": "StrainWeakening",
+ "TimeIntegrator": "timeIntegrator",
+ "MaterialPointsSwarm": "materialSwarm",
+ "softeningStrain": "0.1",
+ "initialDamageFraction": "0.0",
+ "initialDamageWavenumber": "0.5",
+ "initialDamageFactor": "0.5",
+ "healingRate": "0.0"
+ },
+ "yielding":
+ {
+ "Type": "DruckerPrager",
+ "PressureField": "PressureField",
+ "VelocityGradientsField": "VelocityGradientsField",
+ "MaterialPointsSwarm": "materialSwarm",
+ "Context": "context",
+ "StrainWeakening": "strainWeakening",
+ "StrainRateField": "StrainRateField",
+ "cohesion": "1.0",
+ "cohesionAfterSoftening": "0.0001",
+ "frictionCoefficient": "0.0",
+ "frictionCoefficientAfterSoftening": "0.0",
+ "minimumViscosity": "1.0e-4"
+ },
+ "viscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "nonsphereShape",
+ "density": "1.0",
+ "Rheology": [
+ "backgroundViscosity",
+ "yielding",
+ "storeViscosity",
+ "storeStress"
+ ]
+ },
+ "sphereViscosity":
+ {
+ "Type": "MaterialViscosity",
+ "eta0": "10.0"
+ },
+ "sphereViscous":
+ {
+ "Type": "RheologyMaterial",
+ "Shape": "sphereShape",
+ "density": "1.0",
+ "Rheology": [
+ "sphereViscosity",
+ "storeViscosity",
+ "storeStress"
+ ]
+ }
+ },
+ "velocityBCs" :{
+ "type": "CompositeVC",
+ "vcList": [
+ {
+ "type": "WallVC",
+ "wall": "left",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "0.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.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",
+ "minY": "0",
+ "minZ": "0",
+ "maxX": "2",
+ "maxY": "0.35",
+ "maxZ": "0.3",
+ "nx": "16",
+ "ny": "4",
+ "nz": "4",
+ "particlesPerCell": "40",
+ "seed": "13",
+ "checkpointEvery": "1",
+ "gravity": "1.0"
+}
\ No newline at end of file
More information about the CIG-COMMITS
mailing list