[CIG-LONG] erosion plugin

Walter Landry wlandry at caltech.edu
Sat Jul 14 09:03:03 PDT 2012


Benjamin Hooks <bhooks at utm.edu> wrote:
> 
> I am interested in using the SurfaceProcess and HRS_Erosion plugins
> but am unsure how to add them to my input file.  Any help would be
> great.

That is, unfortunately, not documented enough.  I am attaching a
version of multi_material.json that has diffusion.  Let me know if you
need more help.

Cheers,
Walter Landry
-------------- next part --------------
{
    "plugins":
    [
        {
            "Type": "StgFEM_StandardConditionFunctions",
            "Context": "context"
        },
        {
            "Type": "Underworld_EulerDeform",
            "Context": "context"
        },
        {
            "Type": "Underworld_SurfaceProcess",
            "Context": "context"
        }
    ],
    "EulerDeform":
    {
        "systems": [
            {
                "mesh": "v-mesh",
                "p-mesh": "p-mesh",
                "remesher": "velocityRemesher",
                "velocityField": "VelocityField",
                "wrapTop": "True"
            }
        ]
    },
    "SurfaceProcess":
    {
        "mesh": "v-mesh",
        "VelocityField": "VelocityField",
        "diffusionCoefficient": 100
    },
    "components":
    {
        "buoyancyForceTerm":
        {
            "Type": "BuoyancyForceTerm",
            "ForceVector": "mom_force",
            "Swarm": "gaussSwarm",
            "gravity": "gravity"
        },
        "backgroundShape":
        {
            "Type": "EquationShape",
            "equation": "1"
        },
        "sphereShape":
        {
            "Type": "EquationShape",
            "equation": ".1^2 - ((x-1)^2 + (y-.15)^2)"
        },
        "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"
}


More information about the CIG-LONG mailing list