Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make the rock toughness scalable with the fracture size and test anisotropic toughness #3310

Merged
merged 15 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="1e6"
initialRockToughness="1e6"
nodeBasedSIF="1"
mpiCommOrder="1"/>
</Solvers>
Expand Down
2 changes: 1 addition & 1 deletion inputFiles/almContactMechanics/ALM_stickFault_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
logLevel="0"
fractureRegion="Fracture"
targetRegions="{ Region }"
rockToughness="1.0e6"
initialRockToughness="1.0e6"
mpiCommOrder="1"/>
</Solvers>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
name="SurfaceGen"
targetRegions="{ Domain }"
nodeBasedSIF="1"
rockToughness="10.0e6"
initialRockToughness="10.0e6"
mpiCommOrder="1"/>
<!-- SPHINX_SNEDDON_SOLVER_END -->
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="$K_upscaled$"
initialRockToughness="$K_upscaled$"
nodeBasedSIF="1"
mpiCommOrder="1"/>
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="2.236068e6"
initialRockToughness="2.236068e6"
nodeBasedSIF="1"
mpiCommOrder="1"/>
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="1.0e6"/>
initialRockToughness="1.0e6"/>
</Solvers>

<Mesh>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="0.707e7"
initialRockToughness="0.707e7"
mpiCommOrder="1"/>
</Solvers>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<SurfaceGenerator
name="SurfaceGen"
targetRegions="{ Domain }"
rockToughness="0.707e7"
initialRockToughness="0.707e7"
nodeBasedSIF="1"
mpiCommOrder="1"/>
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
name="SurfaceGen"
targetRegions="{ Domain }"
nodeBasedSIF="1"
rockToughness="1e6"
initialRockToughness="1e6"
mpiCommOrder="1"/>
<!-- Sphinx_Solvers_SurfaceGenerator_End -->
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
name="SurfaceGen"
targetRegions="{ Domain }"
nodeBasedSIF="1"
rockToughness="1e6"
initialRockToughness="1e6"
mpiCommOrder="1"/>
</Solvers>

Expand Down
2 changes: 1 addition & 1 deletion inputFiles/hydraulicFracturing/kgdValidation_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
logLevel="1"
targetRegions="{ Domain }"
nodeBasedSIF="0"
rockToughness="1.2e6"
initialRockToughness="1.2e6"
mpiCommOrder="1"/>
<!-- SPHINX_SURFACEGENERATOR_END -->
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
name="SurfaceGen"
targetRegions="{ Domain }"
nodeBasedSIF="1"
rockToughness="1e4"
initialRockToughness="1e4"
mpiCommOrder="1"/>
<!-- Sphinx_Solvers_SurfaceGenerator_End -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
name="SurfaceGen"
targetRegions="{ Domain }"
nodeBasedSIF="1"
rockToughness="1e4"
initialRockToughness="1e4"
mpiCommOrder="1"
isPoroelastic="1"/>
</Solvers>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
<?xml version="1.0" ?>

<Problem>
<!-- SPHINX_ELEMENTREGIONS -->
<ElementRegions>
<CellElementRegion
name="Domain"
cellBlocks="{ cb1 }"
materialList="{ water, rock }"/>

<SurfaceElementRegion
name="Fracture"
defaultAperture="0.02e-3"
materialList="{ water, fractureFilling, fractureContact, hApertureModel }"/>
</ElementRegions>
<!-- SPHINX_ELEMENTREGIONS_END -->

<!-- SPHINX_MATERIAL -->
<Constitutive>
<CompressibleSinglePhaseFluid
name="water"
defaultDensity="1000"
defaultViscosity="1.0e-6"
referencePressure="0.0"
compressibility="5e-13"
referenceViscosity="1.0e-6"
viscosibility="0.0"/>

<ElasticIsotropic
name="rock"
defaultDensity="2700"
defaultBulkModulus="20.0e9"
defaultShearModulus="12.0e9"/>

<CompressibleSolidParallelPlatesPermeability
name="fractureFilling"
solidModelName="nullSolid"
porosityModelName="fracturePorosity"
permeabilityModelName="fracturePerm"/>

<NullModel
name="nullSolid"/>

<PressurePorosity
name="fracturePorosity"
defaultReferencePorosity="1.00"
referencePressure="0.0"
compressibility="0.0"/>

<ParallelPlatesPermeability
name="fracturePerm"/>

<FrictionlessContact
name="fractureContact"/>

<HydraulicApertureTable
name="hApertureModel"
apertureTableName="apertureTable"/>

</Constitutive>
<!-- SPHINX_MATERIAL_END -->

<!-- SPHINX_NUMERICAL -->
<NumericalMethods>
<FiniteElements>
<FiniteElementSpace
name="FE1"
order="1"/>
</FiniteElements>

<FiniteVolume>
<TwoPointFluxApproximation
name="singlePhaseTPFA"
/>
</FiniteVolume>
</NumericalMethods>
<!-- SPHINX_NUMERICAL_END -->

<!-- SPHINX_BC -->
<FieldSpecifications>
<FieldSpecification
name="waterDensity"
initialCondition="1"
setNames="{ fracture }"
objectPath="ElementRegions"
fieldName="water_density"
scale="1000"/>

<FieldSpecification
name="separableFace"
initialCondition="1"
setNames="{ core }"
objectPath="faceManager"
fieldName="isFaceSeparable"
scale="1"/>

<FieldSpecification
name="frac"
initialCondition="1"
setNames="{ fracture }"
objectPath="faceManager"
fieldName="ruptureState"
scale="1"/>

<FieldSpecification
name="yconstraint"
objectPath="nodeManager"
fieldName="totalDisplacement"
component="1"
scale="0.0"
setNames="{ yneg, ypos }"/>

<FieldSpecification
name="zconstraint"
objectPath="nodeManager"
fieldName="totalDisplacement"
component="2"
scale="0.0"
setNames="{ zneg, zpos }"/>

<FieldSpecification
name="xconstraint"
objectPath="nodeManager"
fieldName="totalDisplacement"
component="0"
scale="0.0"
setNames="{ xneg, xpos }"/>

<SourceFlux
name="sourceTerm"
objectPath="ElementRegions/Fracture"
scale="-6.625"
setNames="{ source }"/>

<FieldSpecification
name="KIC_00"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_00"
scale="3e6"/>

<FieldSpecification
name="KIC_10"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_10"
scale="3e6"/>

<FieldSpecification
name="KIC_20"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_20"
scale="3e6"/>

<FieldSpecification
name="KIC_01"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_01"
scale="6e6"/>

<FieldSpecification
name="KIC_11"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_11"
scale="6e6"/>

<FieldSpecification
name="KIC_21"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess the anisotropic KI will not affect the propagation direction (still perpendicular to the minimum principal stress) but the propagation speed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, correct. The fracture will remain in the same plane. It changes the propagation speed in the two directions though. It's quite useful to match field data.

fieldName="K_IC_21"
scale="6e6"/>

<FieldSpecification
name="KIC_02"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_02"
scale="3e6"/>

<FieldSpecification
name="KIC_12"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_12"
scale="3e6"/>

<FieldSpecification
name="KIC_22"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions"
fieldName="K_IC_22"
scale="3e6"/>
</FieldSpecifications>
<!-- SPHINX_BC_END -->

<Functions>
<TableFunction
name="apertureTable"
coordinates="{ -1.0e-3, 0.0 }"
values="{ 0.002e-3, 0.02e-3 }"/>
</Functions>

<!-- SPHINX_OUTPUT -->
<Outputs>
<VTK
name="vtkOutput"
plotFileRoot="zeroViscosity"
plotLevel="3"
parallelThreads="48"/>

<Restart
name="restartOutput"/>
</Outputs>
<!-- SPHINX_OUTPUT_END -->
</Problem>
Loading
Loading