-
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.
feat: Rate-and-state friction with explicit time integration (#3450)
* Add rate-and-state kernel for explicit time stepping and quasi-dynamic solver using Runge-Kutta 3(2) * Update strings for added rate-and-state fields * Change to using a single multi-d array for the Runge-Kutta stage rates * Add PID controller to adaptive time step update * Bracket slip rate after Newton update * Add kernel for EmbeddedRungeKutta time stepping of slip and state and refactor QuasiDynamicEQRK32 solver * Add some comments to QuasiDynamicEQRK32 solver * Add Bogacki-Shampine 3(2) Runge-Kutta method * Add PIDController class for time step control * Add xml input for explicit solver, update subrepo, add docs * Rename constructor arguments to prevent shadowing * rebaseline --------- Co-authored-by: Matteo Cusini <[email protected]>
- Loading branch information
1 parent
eef8de4
commit 7e2c33b
Showing
16 changed files
with
1,539 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
baselines: | ||
bucket: geosx | ||
baseline: integratedTests/baseline_integratedTests-pr3480-9217-caaecb8 | ||
baseline: integratedTests/baseline_integratedTests-pr3450-9221-37d940c | ||
allow_fail: | ||
all: '' | ||
streak: '' |
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
167 changes: 167 additions & 0 deletions
167
inputFiles/inducedSeismicity/SpringSliderExplicit_base.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,167 @@ | ||
<?xml version="1.0" ?> | ||
<Problem> | ||
<Solvers> | ||
<QuasiDynamicEQRK32 | ||
name="SpringSlider" | ||
targetRegions="{ Fault }" | ||
shearImpedance="4.41" | ||
initialDt="1e-5" | ||
logLevel="1" | ||
discretization="FE1"> | ||
</QuasiDynamicEQRK32> | ||
|
||
<SurfaceGenerator | ||
name="SurfaceGen" | ||
targetRegions="{ Domain }" | ||
rockToughness="1.0" | ||
mpiCommOrder="1" | ||
fractureRegion="Fault"/> | ||
</Solvers> | ||
|
||
<NumericalMethods> | ||
<FiniteElements> | ||
<FiniteElementSpace | ||
name="FE1" | ||
order="1"/> | ||
</FiniteElements> | ||
</NumericalMethods> | ||
|
||
<Mesh> | ||
<InternalMesh | ||
name="mesh" | ||
elementTypes="{ C3D8 }" | ||
xCoords="{ 0, 1 }" | ||
yCoords="{ 0, 2 }" | ||
zCoords="{ 0, 1 }" | ||
nx="{ 1 }" | ||
ny="{ 2 }" | ||
nz="{ 1 }" | ||
cellBlockNames="{ cb1 }"/> | ||
</Mesh> | ||
|
||
<Geometry> | ||
<ThickPlane | ||
name="faultPlane" | ||
normal="{ 0, 1, 0 }" | ||
origin="{ 0, 1, 0 }" | ||
thickness="0.1"/> | ||
</Geometry> | ||
|
||
<ElementRegions> | ||
<CellElementRegion | ||
name="Domain" | ||
cellBlocks="{ cb1 }" | ||
materialList="{}"/> | ||
|
||
<SurfaceElementRegion | ||
name="Fault" | ||
materialList="{frictionLaw}" | ||
defaultAperture="1e-3"/> | ||
</ElementRegions> | ||
|
||
<Constitutive> | ||
<RateAndStateFriction | ||
name="frictionLaw" | ||
defaultA="0.01" | ||
defaultB="0.015" | ||
defaultDc="1.0e-5" | ||
defaultReferenceVelocity="1.0e-6" | ||
defaultReferenceFrictionCoefficient="0.6"/> | ||
</Constitutive> | ||
|
||
<FieldSpecifications> | ||
<FieldSpecification | ||
name="fault" | ||
fieldName="ruptureState" | ||
initialCondition="1" | ||
objectPath="faceManager" | ||
scale="1" | ||
setNames="{ faultPlane }"/> | ||
|
||
<FieldSpecification | ||
name="normalTraction" | ||
fieldName="traction" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
component="0" | ||
scale="50" | ||
setNames="{all}"/> | ||
|
||
<FieldSpecification | ||
name="shearTraction1" | ||
fieldName="traction" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
component="1" | ||
scale="21.2132034356" | ||
setNames="{all}"/> | ||
<FieldSpecification | ||
name="shearTraction2" | ||
fieldName="traction" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
component="2" | ||
scale="21.2132034356" | ||
setNames="{all}"/> | ||
<FieldSpecification | ||
name="stateVariable" | ||
fieldName="stateVariable" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
scale="0.6" | ||
setNames="{all}"/> | ||
<FieldSpecification | ||
name="slipRate" | ||
fieldName="slipRate" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
scale="1.0e-6" | ||
setNames="{all}"/> | ||
<FieldSpecification | ||
name="slipVelocity1" | ||
fieldName="slipVelocity" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
component="0" | ||
scale="0.70710678118e-6" | ||
setNames="{all}"/> | ||
<FieldSpecification | ||
name="slipVelocity2" | ||
fieldName="slipVelocity" | ||
initialCondition="1" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
component="1" | ||
scale="0.70710678118e-6" | ||
setNames="{all}"/> | ||
</FieldSpecifications> | ||
|
||
<Outputs> | ||
<VTK | ||
name="vtkOutput" | ||
plotFileRoot="springSliderExplicit"/> | ||
<Restart | ||
name="restart"/> | ||
|
||
<TimeHistory | ||
name="timeHistoryOutput" | ||
sources="{/Tasks/slipCollection,/Tasks/slipRateCollection,/Tasks/stateVariableCollection}" | ||
filename="springSliderExplicit"/> | ||
</Outputs> | ||
|
||
<Tasks> | ||
<PackCollection | ||
name="slipCollection" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
fieldName="displacementJump"/> | ||
|
||
<PackCollection | ||
name="slipRateCollection" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
fieldName="slipRate"/> | ||
|
||
<PackCollection | ||
name="stateVariableCollection" | ||
objectPath="ElementRegions/Fault/FractureSubRegion" | ||
fieldName="stateVariable"/> | ||
</Tasks> | ||
</Problem> |
32 changes: 32 additions & 0 deletions
32
inputFiles/inducedSeismicity/SpringSliderExplicit_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,32 @@ | ||
<?xml version="1.0" ?> | ||
<Problem> | ||
<Included> | ||
<File | ||
name="./SpringSliderExplicit_base.xml"/> | ||
</Included> | ||
|
||
<Events | ||
maxTime="4.5e4"> | ||
|
||
<SoloEvent | ||
name="generateFault" | ||
target="/Solvers/SurfaceGen"/> | ||
|
||
<PeriodicEvent | ||
name="vtkOutput" | ||
cycleFrequency="1" | ||
targetExactTimestep="0" | ||
target="/Outputs/vtkOutput"/> | ||
|
||
<PeriodicEvent | ||
name="solverApplications" | ||
maxEventDt="1e4" | ||
target="/Solvers/SpringSlider"/> | ||
|
||
<PeriodicEvent | ||
name="resarts" | ||
timeFrequency="2e4" | ||
targetExactTimestep="0" | ||
target="/Outputs/restart"/> | ||
</Events> | ||
</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
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
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.