[cig-commits] commit: Add a polygon example
Mercurial
hg at geodynamics.org
Tue Dec 20 12:17:52 PST 2011
changeset: 445:68b8eac89e9f
user: Walter Landry <wlandry at caltech.edu>
date: Mon Dec 19 15:09:48 2011 -0800
files: input/cookbook/polygon.json
description:
Add a polygon example
diff -r cbf17d28b137 -r 68b8eac89e9f input/cookbook/polygon.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/input/cookbook/polygon.json Mon Dec 19 15:09:48 2011 -0800
@@ -0,0 +1,143 @@
+{
+ "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": "EquationShape",
+ "equation": "1"
+ },
+ "sphereShape":
+ {
+ "Type": "PolygonShape",
+ "vertices": [
+ "asciidata",
+ ["x","y"],
+ 1.0, .25,
+ 1.0707, .2207,
+ 1.1, .15,
+ 1.0707, .07929,
+ 1.0, .05,
+ .92929, .07929,
+ .9, .15,
+ .92929, .2207
+ ]
+ },
+ "nonsphereShape":
+ {
+ "Type": "Intersection",
+ "shapes":
+ [
+ "backgroundShape",
+ "!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"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "right",
+ "variables": [
+ {
+ "name": "vx",
+ "value": "1.0"
+ }
+ ]
+ },
+ {
+ "type": "WallVC",
+ "wall": "bottom",
+ "variables": [
+ {
+ "name": "vy",
+ "value": "0"
+ }
+ ]
+ }
+ ]
+ },
+
+ "FieldVariablesToCheckpoint": [
+ "StrainRateInvariantField",
+ "VelocityField",
+ "PressureField"
+ ],
+ "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