Skip to content

fix multiple tutorial problems #2920

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

Merged
merged 3 commits into from
Jan 11, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ verbosity levels, target regions, and other solver-specific attributes.

Additionally, we need to specify another solver of type, ``EmbeddedSurfaceGenerator``, which is used to discretize the fracture planes.

.. literalinclude:: ../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_base.xml
.. literalinclude:: ../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_verification.xml
:language: xml
:start-after: <!-- SPHINX_SNEDDON_SOLVER -->
:end-before: <!-- SPHINX_SNEDDON_SOLVER_END -->
Expand Down Expand Up @@ -234,7 +234,7 @@ In this example, a task is specified to output fracture aperture (normal opening

- The test case with EmbeddedFractures solver:

.. literalinclude:: ../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_verification.xml
.. literalinclude:: ../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_base.xml
:language: xml
:start-after: <!-- SPHINX_SNEDDON_TASK -->
:end-before: <!-- SPHINX_SNEDDON_TASK_END -->
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ def main():
loc_HydroFrac = x[0, :, 1]

#-------- Extract info from XML
xmlFilePath = "../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac_base.xml"
xmlFilePath = "../../../../../../../inputFiles/efemFractureMechanics/Sneddon_embeddedFrac"

mechanicalParameters = getMechanicalParametersFromXML(xmlFilePath)
appliedPressure = getFracturePressureFromXML(xmlFilePath)
mechanicalParameters = getMechanicalParametersFromXML(xmlFilePath+"_base.xml")
appliedPressure = getFracturePressureFromXML(xmlFilePath+"_base.xml")

# Get length of the fracture
length, origin = getFractureLengthFromXML(xmlFilePath)
length, origin = getFractureLengthFromXML(xmlFilePath+"_verification.xml")

# Initialize Sneddon's analytical solution
sneddonAnalyticalSolution = Sneddon(mechanicalParameters, length, appliedPressure)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ The next figure shows the distribution of vertical displacement (:math:`u_z(x,z,

The figure below compares the results from GEOS (marks) and the corresponding analytical solution (lines) for the pore pressure along the x-direction and vertical displacement along the z-direction. GEOS reliably captures the short-term Mandel-Cryer effect and shows excellent agreement with the analytical solution at various times.

.. plot:: docs/sphinx/advancedExamples/validationStudies/faultMechanics/mandel/mandelFigure.py
.. plot:: docs/sphinx/advancedExamples/validationStudies/poromechanics/mandel/mandelFigure.py



Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ A good agreement between the GEOS results and analytical results is shown in the

.. plot:: docs/sphinx/advancedExamples/validationStudies/wellboreProblems/pureThermalDiffusion/pureThermalDiffusionAroundWellbore.py

.. _resultsThermalDiffusionWellboreFig:
.. figure:: radialThermalDiffusionResults.png
:align: center
:width: 500
:figclass: align-center

Radial thermal diffusion around a wellbore: a validation against analytical results

------------------------------------------------------------------
To go further
Expand Down
Binary file not shown.