Skip to content

Commit

Permalink
refactor: separate friction and hydraulic aperture - stress relation. (
Browse files Browse the repository at this point in the history
  • Loading branch information
CusiniM authored Aug 7, 2024
1 parent c914283 commit 7cce9a0
Show file tree
Hide file tree
Showing 136 changed files with 2,088 additions and 1,557 deletions.
2 changes: 1 addition & 1 deletion .integrated_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baselines:
bucket: geosx
baseline: integratedTests/baseline_integratedTests-pr3202-6636-2821c93
baseline: integratedTests/baseline_integratedTests-pr3197-6679-a003f43

allow_fail:
all: ''
Expand Down
4 changes: 4 additions & 0 deletions BASELINE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This file is designed to track changes to the integrated test baselines.
Any developer who updates the baseline ID in the .integrated_tests.yaml file is expected to create an entry in this file with the pull request number, date, and their justification for rebaselining.
These notes should be in reverse-chronological order, and use the following time format: (YYYY-MM-DD).

PR 3197 (2024-08-07)
====================
Separation of contact and friction laws.

PR #3202 (2024-08-03)
======================
Acoustic VTI tests needed rebaselining after update in source and receiver location algorithm.
Expand Down
15 changes: 8 additions & 7 deletions examples/pygeosxExamples/modifyBoundaryCondition/pkn_example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
name="hydrofracture"
solidSolverName="lagsolve"
logLevel="1"
contactRelationName="fractureContact"
flowSolverName="SinglePhaseFlow"
surfaceGeneratorName="SurfaceGen"
targetRegions="{ Domain, Fracture }">
Expand All @@ -39,8 +38,8 @@
timeIntegrationOption="QuasiStatic"
discretization="FE1"
name="lagsolve"
contactRelationName="fractureContact"
targetRegions="{ Domain, Fracture }">
targetRegions="{ Domain, Fracture }"
contactPenaltyStiffness="1.0e0">
<NonlinearSolverParameters
newtonTol="1.0e-6"/>
<LinearSolverParameters
Expand Down Expand Up @@ -77,7 +76,7 @@
<SurfaceElementRegion
name="Fracture"
defaultAperture="0.02e-3"
materialList="{ water, rock, fractureFilling, fracturePorosity, fracturePerm, nullSolid }"/>
materialList="{ water, rock, fractureFilling, fracturePorosity, fracturePerm, nullSolid, hApertureTable }"/>
</ElementRegions>

<Constitutive>
Expand Down Expand Up @@ -112,9 +111,11 @@
compressibility="0.0"/>

<FrictionlessContact
name="fractureContact"
penaltyStiffness="1.0e0"
apertureTableName="apertureTable"/>
name="fractureContact"/>

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

<ParallelPlatesPermeability
name="fracturePerm"/>
Expand Down
7 changes: 0 additions & 7 deletions host-configs/apple/macOS_customized.cmake

This file was deleted.

7 changes: 5 additions & 2 deletions inputFiles/almContactMechanics/ALM_stickFault_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@
<Coulomb
name="fractureMaterial"
cohesion="0.0"
frictionCoefficient="0.1"
apertureTableName="apertureTable"/>
frictionCoefficient="0.1"/>

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

<Functions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
initialDt="10"
discretization="FE1"
timeIntegrationOption="QuasiStatic"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="1.0e12">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down Expand Up @@ -48,7 +49,7 @@
name="Fracture"
faceBlock="embeddedSurfaceSubRegion"
subRegionType="embeddedElement"
materialList="{ fractureContact }"
materialList="{ frictionLaw }"
defaultAperture="1e-3"/>
</ElementRegions>

Expand All @@ -60,12 +61,10 @@
defaultShearModulus="1.0e10"/>

<Coulomb
name="fractureContact"
penaltyStiffness="1.0e12"
name="frictionLaw"
shearStiffness="1.0e8"
cohesion ="0.0"
frictionCoefficient = "0.8"
apertureTableName="apertureTable"/>
frictionCoefficient = "0.8"/>
</Constitutive>

<Functions>
Expand Down Expand Up @@ -116,13 +115,6 @@
scale="0.0"
setNames="{ zneg, zpos }"/>
</FieldSpecifications>

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

<Tasks>
<PackCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
initialDt="10"
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="1.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down Expand Up @@ -48,7 +49,7 @@
name="Fracture"
faceBlock="embeddedSurfaceSubRegion"
subRegionType="embeddedElement"
materialList="{ fractureContact }"
materialList="{ frictionLaw }"
defaultAperture="1e-3"/>
</ElementRegions>

Expand All @@ -60,18 +61,9 @@
defaultShearModulus="1.0e10"/>

<FrictionlessContact
name="fractureContact"
penaltyStiffness="1.0e8"
apertureTableName="apertureTable"/>
name="frictionLaw"/>
</Constitutive>

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

<FieldSpecifications>
<Traction
name="xload1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1"
useStaticCondensation="1">
useStaticCondensation="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
timeIntegrationOption="QuasiStatic"
logLevel="1"
discretization="FE1"
useStaticCondensation="1">
useStaticCondensation="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down
3 changes: 2 additions & 1 deletion inputFiles/efemFractureMechanics/SneddonRotated_smoke.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1"
useStaticCondensation="1">
useStaticCondensation="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
initialDt="10"
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down Expand Up @@ -70,7 +71,7 @@
name="Fracture"
faceBlock="embeddedSurfaceSubRegion"
subRegionType="embeddedElement"
materialList="{ fractureContact }"
materialList="{ frictionLaw }"
defaultAperture="1e-3"/>
</ElementRegions>
<!-- SPHINX_SNEDDON_REGIONS_END -->
Expand All @@ -85,19 +86,10 @@
defaultShearModulus="1.0e10"/>

<FrictionlessContact
name="fractureContact"
penaltyStiffness="0.0e8"
apertureTableName="apertureTable"/>
name="frictionLaw"/>
</Constitutive>
<!-- SPHINX_SNEDDON_MATERIAL_END-->

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

<!-- SPHINX_SNEDDON_BC -->
<FieldSpecifications>
<FieldSpecification
Expand Down
13 changes: 2 additions & 11 deletions inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
name="Fracture"
faceBlock="embeddedSurfaceSubRegion"
subRegionType="embeddedElement"
materialList="{ fractureContact }"
materialList="{ frictionLaw }"
defaultAperture="1e-3"/>
</ElementRegions>
<!-- SPHINX_SNEDDON_REGIONS_END -->
Expand All @@ -35,19 +35,10 @@
defaultShearModulus="1.0e10"/>

<FrictionlessContact
name="fractureContact"
penaltyStiffness="0.0e8"
apertureTableName="apertureTable"/>
name="frictionLaw"/>
</Constitutive>
<!-- SPHINX_SNEDDON_MATERIAL_END-->

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

<!-- SPHINX_SNEDDON_BC -->
<FieldSpecifications>
<FieldSpecification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
initialDt="10"
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-3"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
initialDt="10"
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
timeIntegrationOption="QuasiStatic"
logLevel="1"
discretization="FE1"
useStaticCondensation="1">
useStaticCondensation="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-3"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1"
useStaticCondensation="1">
useStaticCondensation="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-5"
newtonMaxIter="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
initialDt="10"
timeIntegrationOption="QuasiStatic"
discretization="FE1"
logLevel="1">
logLevel="1"
contactPenaltyStiffness="0.0e8">
<NonlinearSolverParameters
newtonTol="1.0e-6"
newtonMaxIter="2"
Expand Down
14 changes: 8 additions & 6 deletions inputFiles/hydraulicFracturing/Sneddon_hydroFrac_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
surfaceGeneratorName="SurfaceGen"
logLevel="1"
targetRegions="{ Fracture }"
contactRelationName="fractureContact"
maxNumResolves="2">
<NonlinearSolverParameters
newtonTol="1.0e-5"
Expand All @@ -26,7 +25,8 @@
timeIntegrationOption="QuasiStatic"
discretization="FE1"
targetRegions="{ Domain, Fracture }"
contactRelationName="fractureContact"/>
contactRelationName="fractureContact"
contactPenaltyStiffness="1.0e0"/>

<SinglePhaseFVM
name="SinglePhaseFlow"
Expand Down Expand Up @@ -86,7 +86,7 @@
name="Fracture"
faceBlock="faceElementSubRegion"
defaultAperture="0.02e-3"
materialList="{ water, fractureFilling, fractureContact }"/>
materialList="{ water, fractureFilling, fractureContact, hApertureModel }"/>
</ElementRegions>
<!-- SPHINX_SNEDDON_REGIONS_END -->

Expand Down Expand Up @@ -126,9 +126,11 @@
name="fracturePerm"/>

<FrictionlessContact
name="fractureContact"
penaltyStiffness="1.0e0"
apertureTableName="apertureTable" />
name="fractureContact"/>

<HydraulicApertureTable
name="hApertureModel"
apertureTableName="apertureTable"/>
</Constitutive>
<!-- SPHINX_SNEDDON_MATERIAL_END-->

Expand Down
Loading

0 comments on commit 7cce9a0

Please sign in to comment.