Skip to content

Commit 1e6446b

Browse files
matteofrigo5rrsettgast
authored andcommitted
feat: Augmented Lagrangian (slip and open modes) (#3217)
* Implementation of slip and open modes for ALM * Adding a new inputFile for ALM and bug (bubble functions) fixed * Bug bubble functions gradient fixed * Adding initial stress contribution for bubble functions - updating lambda functions * Adding nested ALM * Adding simultaneous and nested ALM * Moving the traction update into the friction model * Moved contact constitutive behavior from ALM to the friction law
1 parent b95d7ba commit 1e6446b

72 files changed

Lines changed: 3740 additions & 1390 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.integrated_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
baselines:
22
bucket: geosx
3-
baseline: integratedTests/baseline_integratedTests-pr3318-7578-14f13e2
3+
baseline: integratedTests/baseline_integratedTests-pr3217-7661-9b4a604
44

55
allow_fail:
66
all: ''

BASELINE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This file is designed to track changes to the integrated test baselines.
66
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.
77
These notes should be in reverse-chronological order, and use the following time format: (YYYY-MM-DD).
88

9+
PR #3217 (2024-09-16)
10+
======================
11+
ALM slip and open modes with relative tests.
12+
913
PR #3318 (2024-09-12)
1014
======================
1115
Modified SeismicityRate poroelastic case.

host-configs/Stanford/sherlock-gcc10-ompi4.1.2-openblas0.3.10.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ set(LAPACK_LIBRARIES "${OPENBLAS_ROOT}/lib/libopenblas.so" CACHE STRING "")
4040
set(ENABLE_VALGRIND OFF CACHE BOOL "")
4141
set(ENABLE_CALIPER ON CACHE BOOL "")
4242

43-
set(GEOS_TPL_DIR "$ENV{GEOSX_TPL_DIR}" CACHE PATH "" FORCE)
4443
include(${CMAKE_CURRENT_LIST_DIR}/../tpls.cmake)

inputFiles/almContactMechanics/ALM_stickFault_base.xml

Lines changed: 0 additions & 115 deletions
This file was deleted.

inputFiles/almContactMechanics/alm.ats

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" ?>
2+
3+
<Problem>
4+
<Included>
5+
<File
6+
name="./PassingCrack_smoke.xml"/>
7+
</Included>
8+
9+
<Solvers
10+
gravityVector="{ 0.0, 0.0, 0.0 }">
11+
<SolidMechanicsAugmentedLagrangianContact
12+
name="AugmentedLagrangian"
13+
logLevel="2"
14+
timeIntegrationOption="QuasiStatic"
15+
discretization="FE1"
16+
targetRegions="{ Region, Fracture }">
17+
<NonlinearSolverParameters
18+
newtonTol="1.0e-6"
19+
logLevel="2"
20+
maxNumConfigurationAttempts="50"
21+
newtonMaxIter="20"
22+
lineSearchAction="None"
23+
lineSearchMaxCuts="4"/>
24+
<LinearSolverParameters
25+
directParallel="0"/>
26+
</SolidMechanicsAugmentedLagrangianContact>
27+
</Solvers>
28+
29+
<Events
30+
maxTime="1.0">
31+
<SoloEvent
32+
name="preFracture"
33+
target="/Solvers/SurfaceGen"/>
34+
35+
<PeriodicEvent
36+
name="solverApplications"
37+
beginTime="0.0"
38+
endTime="1.0"
39+
forceDt="1.0"
40+
target="/Solvers/AugmentedLagrangian"/>
41+
42+
<PeriodicEvent
43+
name="restarts"
44+
timeFrequency="1.0"
45+
targetExactTimestep="0"
46+
target="/Outputs/restartOutput"/>
47+
48+
<PeriodicEvent
49+
name="outputs"
50+
timeFrequency="1"
51+
targetExactTimestep="0"
52+
target="/Outputs/vtkOutput"/>
53+
</Events>
54+
55+
</Problem>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" ?>
2+
3+
<Problem>
4+
<Included>
5+
<File
6+
name="./SimpleCubes_smoke.xml"/>
7+
</Included>
8+
9+
<Solvers
10+
gravityVector="{ 0.0, 0.0, 0.0 }">
11+
<SolidMechanicsAugmentedLagrangianContact
12+
name="AugmentedLagrangian"
13+
logLevel="2"
14+
timeIntegrationOption="QuasiStatic"
15+
discretization="FE1"
16+
targetRegions="{ Region, Fracture }">
17+
<NonlinearSolverParameters
18+
newtonTol="1.0e-6"
19+
logLevel="2"
20+
maxNumConfigurationAttempts="50"
21+
newtonMaxIter="20"
22+
lineSearchAction="None"
23+
lineSearchMaxCuts="4"/>
24+
<LinearSolverParameters
25+
directParallel="0"/>
26+
</SolidMechanicsAugmentedLagrangianContact>
27+
</Solvers>
28+
29+
<Events
30+
maxTime="10.0">
31+
<SoloEvent
32+
name="initialPlot"
33+
target="/Outputs/siloOutput"/>
34+
35+
<SoloEvent
36+
name="preFracture"
37+
target="/Solvers/SurfaceGen"/>
38+
39+
<PeriodicEvent
40+
name="solverApplications"
41+
beginTime="0.0"
42+
forceDt="1.0"
43+
target="/Solvers/AugmentedLagrangian"/>
44+
45+
<PeriodicEvent
46+
name="restarts"
47+
timeFrequency="5.0"
48+
targetExactTimestep="0"
49+
target="/Outputs/restartOutput"/>
50+
51+
<PeriodicEvent
52+
name="outputs"
53+
timeFrequency="1"
54+
targetExactTimestep="0"
55+
target="/Outputs/siloOutput"/>
56+
</Events>
57+
58+
</Problem>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" ?>
2+
3+
<Problem>
4+
5+
<Included>
6+
<File name="./SingleFracCompression_benchmark.xml"/>
7+
</Included>
8+
9+
<Solvers
10+
gravityVector="{ 0.0, 0.0, 0.0 }">
11+
<SolidMechanicsAugmentedLagrangianContact
12+
name="AugmentedLagrangian"
13+
logLevel="2"
14+
timeIntegrationOption="QuasiStatic"
15+
discretization="FE1"
16+
targetRegions="{ Region, Fracture }">
17+
<NonlinearSolverParameters
18+
newtonTol="1.0e-6"
19+
logLevel="2"
20+
maxNumConfigurationAttempts="50"
21+
newtonMaxIter="20"
22+
lineSearchAction="None"
23+
lineSearchMaxCuts="4"/>
24+
<LinearSolverParameters
25+
directParallel="0"/>
26+
</SolidMechanicsAugmentedLagrangianContact>
27+
</Solvers>
28+
29+
<Events
30+
maxTime="1.0">
31+
<SoloEvent
32+
name="preFracture"
33+
target="/Solvers/SurfaceGen"/>
34+
35+
<PeriodicEvent
36+
name="solverApplications"
37+
beginTime="0.0"
38+
forceDt="1.0"
39+
target="/Solvers/AugmentedLagrangian"/>
40+
41+
<PeriodicEvent
42+
name="outputs"
43+
timeFrequency="1"
44+
targetExactTimestep="0"
45+
target="/Outputs/vtkOutput"/>
46+
47+
<PeriodicEvent
48+
name="restarts"
49+
timeFrequency="1.0"
50+
targetExactTimestep="0"
51+
target="/Outputs/restartOutput"/>
52+
53+
<PeriodicEvent
54+
name="timeHistoryCollection"
55+
timeFrequency="1"
56+
targetExactTimestep="1"
57+
target="/Tasks/tractionCollection" />
58+
59+
<PeriodicEvent
60+
name="timeHistoryOutput"
61+
timeFrequency="1"
62+
targetExactTimestep="0"
63+
target="/Outputs/timeHistoryOutput"/>
64+
65+
<PeriodicEvent
66+
name="timeHistoryCollection1"
67+
timeFrequency="1"
68+
targetExactTimestep="1"
69+
target="/Tasks/displacementJumpCollection" />
70+
71+
<PeriodicEvent
72+
name="timeHistoryOutput1"
73+
timeFrequency="1"
74+
targetExactTimestep="0"
75+
target="/Outputs/timeHistoryOutput1"/>
76+
</Events>
77+
</Problem>

0 commit comments

Comments
 (0)