-
Notifications
You must be signed in to change notification settings - Fork 89
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
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
28849b0
make the toughness scalable with the fracture size
frankfeifan d5049c3
allow to plot K_IC
frankfeifan 952b9d1
fixed xmls
frankfeifan 4e174f1
Merge remote-tracking branch 'origin/develop' into feat/frankfei/scal…
frankfeifan 2281f88
Merge remote-tracking branch 'origin/develop' into feat/frankfei/scal…
frankfeifan 75a2330
changed baseRockToughness to initialRockToughness and removed unneces…
frankfeifan af20655
added an example for anisotropic toughness
frankfeifan 79f5c28
Merge remote-tracking branch 'origin/develop' into feat/frankfei/scal…
frankfeifan 6f88d62
added an example with anisotropic size dependent toughness
frankfeifan 4b4d2c8
Merge remote-tracking branch 'origin/develop' into feat/frankfei/scal…
frankfeifan 6d988e3
removed unused faceManager
frankfeifan 35af17b
uncrustify
frankfeifan 9a0bd40
rebaseline.
CusiniM f7b5045
Merge branch 'develop' into feat/frankfei/scalingToughness
CusiniM 1eb3f94
rebaseline again.
CusiniM File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
228 changes: 228 additions & 0 deletions
228
inputFiles/hydraulicFracturing/pennyShapedAnisotropicToughness_base.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
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> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.