Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
22 changes: 21 additions & 1 deletion inputFiles/constitutiveDriver/constitutiveDriver.ats
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,33 @@ def create_pvt_test(name, description=None):
check_step=0,
restartcheck_params=RestartcheckParameters(**restartcheck_params))

def create_triaxial_test(name, description=None):
if description is None: description = name
return TestDeck(
name=name,
description=description,
partitions=[(1, 1, 1)],
restart_step=0,
check_step=0,
restartcheck_params=RestartcheckParameters(**restartcheck_params))

decks = [
create_pvt_test("testPVT"),
create_pvt_test("testPVT_CO2Brine", "PVT Driver test for CO2 fluid models"),
create_pvt_test("testPVT_CO2BrineTables", "PVT Driver test for CO2 fluid models with solubility tables"),
create_pvt_test("testPVT_PhaseComposition", "PVT Driver test with composition output"),
create_pvt_test("testPVT_ThreePhaseCompositional", "PVT Driver test for three phase compositional models"),
create_pvt_test("testPVT_docExample", "PVT Driver documentation example")
create_pvt_test("testPVT_docExample", "PVT Driver documentation example"),
create_triaxial_test("testTriaxial_delftEggCase1", "Delft Egg Case 1"),
create_triaxial_test("testTriaxial_delftEggCase2", "Delft Egg Case 2"),
create_triaxial_test("testTriaxial_delftEggLoadPathDryUseLinear", "Delft Egg with load path"),
create_triaxial_test("testTriaxial_delftEggLoadPathWetUseLinear", "Delft Egg with load path"),
create_triaxial_test("testTriaxial_delftEggUseLinear", "Delft Egg linear"),
create_triaxial_test("testTriaxial_druckerPragerExtended", "Extended Drucker-Prager model"),
create_triaxial_test("testTriaxial_elasticIsotropic", "Elastic isotropic model"),
create_triaxial_test("testTriaxial_elasticIsotropicPressureDependent", "Pressure dependent elastic isotropic model"),
create_triaxial_test("testTriaxial_modifiedCamClay", "Modified CamClay model"),
create_triaxial_test("testTriaxial_modifiedCamClayVolumetric", "Volumetric modified CamClay model")
]

generate_geos_tests(decks)
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,25 @@
radialControl="stressFunction"
initialStress="-19.6e6"
steps="50"
logLevel="0"
baseline="testTriaxial_delftEggCase1.txt"
output="none"/>
logLevel="1" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>
target="/Tasks/triaxialDriver" />

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput" />
</Events>

<Constitutive>
Expand Down Expand Up @@ -48,25 +57,4 @@
coordinates="{ 0.0, 1.0 }"
values="{ -19.6e6, -19.6e6 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,26 @@
radialControl="stressFunction"
initialStress="-4.6e6"
steps="50"
baseline="testTriaxial_delftEggCase2.txt"
output="none"/>
logLevel="1"
output="testTriaxial_delftEggCase2.txt" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput"/>
</Events>

<Constitutive>
Expand Down Expand Up @@ -47,25 +58,4 @@
coordinates="{ 0.0, 1.0 }"
values="{ -4.6e6, -4.6e6 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@
radialControl="stressFunction"
initialStress="-1.0"
steps="50"
logLevel="0"
baseline="testTriaxial_delftEggLoadPathDryUseLinear.txt"
output="none"/>
logLevel="1"
output="testTriaxial_delftEggLoadPathDryUseLinear.txt" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput"/>
</Events>

<Constitutive>
Expand Down Expand Up @@ -48,25 +58,4 @@
coordinates="{ 0.0, 1.0 }"
values="{ -1.0, -1.0 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@
initialStress="-1.0"
steps="50"
logLevel="0"
baseline="testTriaxial_delftEggLoadPathWetUseLinear.txt"
output="none"/>
output="testTriaxial_delftEggLoadPathWetUseLinear.txt" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput"/>
</Events>

<Constitutive>
Expand Down Expand Up @@ -48,25 +58,4 @@
coordinates="{ 0.0, 1.0 }"
values="{ -1.0, -1.0 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@
initialStress="-1.0"
steps="50"
logLevel="0"
baseline="testTriaxial_delftEggUseLinear.txt"
output="none"/>
output="testTriaxial_delftEggUseLinear.txt" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput"/>
</Events>

<Constitutive>
Expand Down Expand Up @@ -48,25 +58,4 @@
coordinates="{ 0.0, 1.0 }"
values="{ -1.0, -1.0 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@
radialControl="stressFunction"
initialStress="-1.0"
steps="40"
output="none"
baseline="testTriaxial_druckerPragerExtended.txt"
logLevel="0"/>
logLevel="1"
output="testTriaxial_druckerPragerExtended.txt" />
</Tasks>

<Outputs>
<Restart
name="restartOutput"/>
</Outputs>

<Events
maxTime="1">
<SoloEvent
name="triaxialDriver"
target="/Tasks/triaxialDriver"/>

<PeriodicEvent
name="restarts"
timeFrequency="1"
targetExactTimestep="0"
target="/Outputs/restartOutput"/>
</Events>

<Constitutive>
Expand Down Expand Up @@ -48,25 +58,4 @@
coordinates="{ 0.0, 8.0 }"
values="{ -1.0, -1.0 }"/>
</Functions>

<!-- Mesh is not used, but GEOSX throws an error without one. Will resolve soon-->
<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 1 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 1 }"
nz="{ 1 }"
cellBlockNames="{ cellBlock01 }"/>
</Mesh>

<ElementRegions>
<CellElementRegion
name="dummy"
cellBlocks="{ * }"
materialList="{ dummy }"/>
</ElementRegions>
</Problem>
Loading
Loading