-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Augmented Lagrangian (stick mode) - InterfaceKernelBase - Bubble Func…
…tions (#3130)
- Loading branch information
1 parent
9134c42
commit 949a758
Showing
27 changed files
with
4,211 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<Problem> | ||
<!-- SPHINX_SOLVER --> | ||
<Solvers | ||
gravityVector="{0.0, 0.0, 0.0}"> | ||
<SolidMechanicsAugmentedLagrangianContact | ||
name="AugmentedLagrangian" | ||
timeIntegrationOption="QuasiStatic" | ||
logLevel="1" | ||
discretization="FE1" | ||
targetRegions="{ Region, Fracture }"> | ||
<NonlinearSolverParameters | ||
newtonTol="1.0e-8" | ||
logLevel="2" | ||
newtonMaxIter="10" | ||
maxNumConfigurationAttempts="10" | ||
lineSearchAction="Require" | ||
lineSearchMaxCuts="2" | ||
maxTimeStepCuts="2"/> | ||
<LinearSolverParameters | ||
solverType="direct" | ||
directParallel="0" | ||
logLevel="0"/> | ||
</SolidMechanicsAugmentedLagrangianContact> | ||
|
||
<SurfaceGenerator | ||
name="SurfaceGen" | ||
logLevel="0" | ||
fractureRegion="Fracture" | ||
targetRegions="{ Region }" | ||
rockToughness="1.0e6" | ||
mpiCommOrder="1"/> | ||
</Solvers> | ||
|
||
<Events | ||
maxTime="1.0"> | ||
<SoloEvent | ||
name="preFracture" | ||
target="/Solvers/SurfaceGen"/> | ||
|
||
<PeriodicEvent | ||
name="solverApplications" | ||
beginTime="0.0" | ||
endTime="1.0" | ||
forceDt="0.5" | ||
target="/Solvers/AugmentedLagrangian"/> | ||
|
||
<PeriodicEvent | ||
name="restarts" | ||
timeFrequency="0.5" | ||
target="/Outputs/restartOutput"/> | ||
|
||
<PeriodicEvent | ||
name="outputs" | ||
beginTime="0.0" | ||
endTime="1.0" | ||
forceDt="0.5" | ||
target="/Outputs/vtkOutput"/> | ||
</Events> | ||
|
||
<NumericalMethods> | ||
<FiniteElements> | ||
<FiniteElementSpace | ||
name="FE1" | ||
order="1"/> | ||
</FiniteElements> | ||
|
||
</NumericalMethods> | ||
|
||
<ElementRegions> | ||
<CellElementRegion | ||
name="Region" | ||
cellBlocks="{ cb1 }" | ||
materialList="{ rock }"/> | ||
|
||
<SurfaceElementRegion | ||
name="Fracture" | ||
faceBlock="faceElementSubRegion" | ||
defaultAperture="0.0" | ||
materialList="{ fractureMaterial, rock }"/> | ||
</ElementRegions> | ||
|
||
<!-- SPHINX_MATERIAL --> | ||
<Constitutive> | ||
<ElasticIsotropic | ||
name="rock" | ||
defaultDensity="2700" | ||
defaultBulkModulus="2e10" | ||
defaultShearModulus="9e9"/> | ||
|
||
<Coulomb | ||
name="fractureMaterial" | ||
cohesion="0.0" | ||
frictionCoefficient="0.1" | ||
apertureTableName="apertureTable"/> | ||
</Constitutive> | ||
|
||
<Functions> | ||
<TableFunction | ||
name="apertureTable" | ||
coordinates="{ -1.0e-3, 0.0 }" | ||
values="{ 1.0e-6, 9.15e-6 }"/> | ||
|
||
<TableFunction | ||
name="dispFunction" | ||
inputVarNames="{ time }" | ||
coordinates="{ 0.0, 1.0 }" | ||
values="{ 0.0, 1.0 }"/> | ||
</Functions> | ||
|
||
</Problem> |
110 changes: 110 additions & 0 deletions
110
inputFiles/almContactMechanics/ALM_stickFault_vertical_smoke.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<Problem> | ||
|
||
<Included> | ||
<File name="./ALM_stickFault_base.xml"/> | ||
</Included> | ||
|
||
<Mesh> | ||
<InternalMesh | ||
name="mesh1" | ||
elementTypes="{ C3D8 }" | ||
xCoords="{ -100, 0, 100 }" | ||
yCoords="{ -100, 100 }" | ||
zCoords="{ 0, 200 }" | ||
nx="{ 8, 8 }" | ||
ny="{ 16 }" | ||
nz="{ 16 }" | ||
cellBlockNames="{ cb1 }"/> | ||
</Mesh> | ||
|
||
<Geometry> | ||
<Rectangle | ||
name="fracture" | ||
normal="{1.0, 0.0, 0.0}" | ||
origin="{0.0, 0.0, 0.0}" | ||
lengthVector="{0.0, 1.0, 0.0}" | ||
widthVector="{0.0, 0.0, 1.0}" | ||
dimensions="{ 500, 200 }"/> | ||
|
||
<Rectangle | ||
name="core" | ||
normal="{1.0, 0.0, 0.0}" | ||
origin="{0.0, 0.0, 0.0}" | ||
lengthVector="{0.0, 1.0, 0.0}" | ||
widthVector="{0.0, 0.0, 1.0}" | ||
dimensions="{ 180, 100 }"/> | ||
|
||
</Geometry> | ||
|
||
<FieldSpecifications> | ||
<FieldSpecification | ||
name="frac" | ||
initialCondition="1" | ||
setNames="{ fracture }" | ||
objectPath="faceManager" | ||
fieldName="ruptureState" | ||
scale="1"/> | ||
|
||
<FieldSpecification | ||
name="separableFace" | ||
initialCondition="1" | ||
setNames="{ core }" | ||
objectPath="faceManager" | ||
fieldName="isFaceSeparable" | ||
scale="1"/> | ||
|
||
<FieldSpecification | ||
name="xconstraint" | ||
objectPath="nodeManager" | ||
fieldName="totalDisplacement" | ||
component="0" | ||
scale="0.0" | ||
setNames="{ xneg, xpos }"/> | ||
|
||
<FieldSpecification | ||
name="yconstraint" | ||
objectPath="nodeManager" | ||
fieldName="totalDisplacement" | ||
component="1" | ||
scale="0.0" | ||
setNames="{ xneg }"/> | ||
|
||
<FieldSpecification | ||
name="zconstraint" | ||
objectPath="nodeManager" | ||
fieldName="totalDisplacement" | ||
component="2" | ||
scale="0.0" | ||
setNames="{ xneg }"/> | ||
|
||
<FieldSpecification | ||
name="xnormal" | ||
objectPath="nodeManager" | ||
fieldName="totalDisplacement" | ||
component="0" | ||
scale="-0.00001" | ||
setNames="{ xpos }" | ||
functionName="dispFunction"/> | ||
|
||
<FieldSpecification | ||
name="ytan" | ||
objectPath="nodeManager" | ||
fieldName="totalDisplacement" | ||
component="1" | ||
scale="-0.00001" | ||
setNames="{ xpos }" | ||
functionName="dispFunction"/> | ||
|
||
</FieldSpecifications> | ||
|
||
<Outputs> | ||
<VTK | ||
name="vtkOutput" | ||
plotFileRoot="faultStick_vertical"/> | ||
|
||
<Restart | ||
name="restartOutput"/> | ||
</Outputs> | ||
</Problem> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import os | ||
import geos_ats | ||
from geos_ats.test_builder import TestDeck, RestartcheckParameters, generate_geos_tests | ||
|
||
restartcheck_params = {} | ||
restartcheck_params["atol"] = 2.0E-4 | ||
restartcheck_params["rtol"] = 1.0E-7 | ||
|
||
decks = [ | ||
TestDeck( | ||
name="ALM_stickFault_vertical_smoke", | ||
description= | ||
"Cube with a vertical fracture (structured grid)", | ||
partitions=((1, 1, 1), (2, 2, 2)), | ||
restart_step=1, | ||
check_step=2, | ||
restartcheck_params=RestartcheckParameters(**restartcheck_params)), | ||
] | ||
|
||
generate_geos_tests(decks) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.