Skip to content

feat: make possible to use solid mechanics solver to perform poromechanics initialization - #3396

Merged
paveltomin merged 64 commits into
developfrom
pt/poromech-init-again
Mar 22, 2025
Merged

paveltomin merged 64 commits into
developfrom
pt/poromech-init-again

Conversation

@paveltomin

@paveltomin paveltomin commented Oct 12, 2024 •

Copy link
Copy Markdown
Collaborator

and call it with poromechanics solver pointer to perform initialization independently from coupled solver

@paveltomin paveltomin added the type: feature New feature or request label Oct 12, 2024
@paveltomin paveltomin self-assigned this Oct 12, 2024
@paveltomin paveltomin added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Oct 12, 2024
Comment thread inputFiles/poromechanics/PoroElastic_staircase_co2_3d_fim_new.xml Outdated
InputError );

DomainPartition & domain = this->template getGroupByPath< DomainPartition >( "/Problem/domain" );
flowSolver()->initialize( domain );

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to call this first to initialize porosity and densities

@tjb-ltk tjb-ltk Oct 14, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised that initialization of these quantities can be called from a constructor.... versus in some post process routine... it's good to have explicit naming for initialization... I'm assuming this is capillary gravity equilibrium for the reservoir solver ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a bunch of things including hydrostatic equilibrium
multiphase equilibration is not yet supported, see

// Note: for now, we assume that the reservoir is in a single-phase state at initialization

Comment thread src/coreComponents/physicsSolvers/multiphysics/PoromechanicsSolver.hpp Outdated
@paveltomin
paveltomin requested a review from tjb-ltk October 12, 2024 16:31
@paveltomin paveltomin changed the title feature: make possible to use solid mechanics solver to perform poromechanics initialization feat: make possible to use solid mechanics solver to perform poromechanics initialization Oct 12, 2024
arrayView1d< string const > const & regionNames )
{
if( m_isFixedStressPoromechanicsUpdate )
if( m_isFixedStressPoromechanicsUpdate || m_performStressInitialization )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that this PR is the introduction of this, but the single physics solver shouldn't know about the coupled physics solver.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the case of coupled reservoir and well solver, where the event section only activates the reservoir solver, doesn't the well solver need to know that reservoir solver is assuming that well variables are constant. the well solver knows its coupled to the reservoir via perforations.

@rrsettgast

Copy link
Copy Markdown
Contributor

@paveltomin Why can the mechanics solver not be called directly from the poromechanics initialization? I am missing something.

@paveltomin

Copy link
Copy Markdown
Collaborator Author

@paveltomin Why can the mechanics solver not be called directly from the poromechanics initialization? I am missing something.

I am not sure I understood you correctly, sorry.
When mechanics solver is called directly it should know that the whole problem is a poromechanics problem, not pure mechanics.

@paveltomin
paveltomin removed the request for review from ryar9534 March 4, 2025 15:32
arrayView1d< globalIndex const > const
dofNumber = nodeManager.getReference< globalIndex_array >( dofManager.getKey( solidMechanics::totalDisplacement::key() ) );

if( m_contactRelationName != viewKeyStruct::noContactRelationNameString() )

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CusiniM this seems not needed and when called - it does not work, no FE discretization is registered for face elements

@paveltomin paveltomin added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Mar 6, 2025
@paveltomin paveltomin removed the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Mar 9, 2025
@paveltomin paveltomin added ci: run CUDA builds ci: run integrated tests Allows to run the integrated tests in GEOS CI and removed flag: ready for review labels Mar 10, 2025
@paveltomin
paveltomin merged commit 3c4000e into develop Mar 22, 2025
@paveltomin
paveltomin deleted the pt/poromech-init-again branch March 22, 2025 13:36
arng40 added a commit that referenced this pull request Mar 25, 2025
commit e495521
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Mon Mar 24 16:51:43 2025 +0100

    🐛 ✅ 2 bug fixes: when parent column only is not visible (now hides children) + it is no longer possible to enter wrong visibility value

commit 7972176
Merge: 9653609 3c4000e
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Mon Mar 24 15:47:14 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 3c4000e
Author: Pavel Tomin <paveltomin@users.noreply.github.com>
Date:   Sat Mar 22 08:35:57 2025 -0500

    feat: make possible to use solid mechanics solver to perform poromechanics initialization (#3396)

commit 2118b48
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Fri Mar 21 17:53:47 2025 -0500

    feat: Add a compositional Phillips brine density model (#3598)

    Co-authored-by: Omar Duran <omaryesiduran@gmail.com>

commit 8863635
Author: Brian Han <han12@llnl.gov>
Date:   Fri Mar 21 11:53:52 2025 -0700

    Fix links in spack docs; reword beginning section (#3550)

    Co-authored-by: Matteo Cusini <49037133+CusiniM@users.noreply.github.com>

commit ab75c18
Author: Brian Han <han12@llnl.gov>
Date:   Fri Mar 21 09:22:21 2025 -0700

    fix: CI style and docs checks (#3584)

    * Add host-config path so style and docs jobs can find deps

    * Capture return code of cmake configuration line in config-build.py instead of always returning success on cmake configure line call

    * Fix doyxgen errors - undo deleted getMeshTargets() comment

    * Rerun uncrustify

    ---------

    Co-authored-by: Matteo Cusini <49037133+CusiniM@users.noreply.github.com>

commit 9653609
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:10:26 2025 +0100

    🐛 ✅ finalized the fix for when the reference row has merged cell : removed the reference-row concept in favor of a columns-width array

commit 158485e
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:07:48 2025 +0100

    🧪 added failing test for the side case when the reference row has merged cell(s)

commit 8b425a9
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:05:09 2025 +0100

    🐛 ✅ finalized the fix for the side-case bug (when only one merged line) + correct unit test

commit 3d71945
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 12:05:38 2025 +0100

    🐛 🚧 fix two side-case bugs + docs on a bug to fix/warn later

commit 8ff38d3
Merge: aea705c 5732c5c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 10:19:40 2025 +0100

    Merge commit '5732c5c0be16ead0b846c302ed06d30988da4a9f' into bugfix/rey/csv-export-fail

commit aea705c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 10:11:05 2025 +0100

    🦺 rebaseline

commit 5732c5c
Author: Frank Fei <frankfei0929@gmail.com>
Date:   Thu Mar 20 18:23:52 2025 -0700

    feat: phase-field nucleation modeling of hydraulic fracturing  (#2125)

    * add constitutive files for the phase-field nucleation formulation

    * add constitutive files for the phase-field nucleation formulation

    * modify the pf formulation by adding an external driving force

    * add a member variable for the external driving force and a member function to output it

    * add the new constitutive for pf nucleation into the passthru

    * Add DamageExtDrivingForce files into CMakeLists

    * solve the segmentation error

    * Add an input file for the phase-field nucleation formulation

    * correct the calculation of the external driving force

    * adding TableFunction files for the surfing boundary condition

    * adding an option variable for the external driving force term

    * adding the initial fracture and surfing boundary condition

    * set upper and lower bounds of the damage when calculating the degradation function

    * correct the typo in the formulation

    * set a threshold for the strain energy based on c_e to keep the damage value non-negative

    * clean the phase-field code and add the external driving force term into the Damage base code

    * Add a switch of the external driving force to check if the nucleation formulation is called

    * clean the phase-field code by merging the nucleation formulation into the damage base code

    * create the input file and mesh for the three point test

    * add new mesh files for the 3 points loading test

    * change the upper limit of d to 1 in the degradation function

    * add the input file for the test to calibrate modeling parameters

    * add an input file for the wellbore problem

    * fixed changes in schema and .rst files for nucleation formulation

    * remove unnecessary function for specifying the nodal value

    * fixed the linear solver parameters and changed the material parameters to cement

    * added a small tolerance in the degradation such that it has a small residual when d = 1

    * modified the upper threshold of d

    * added a nodal scale array to calculate the traction magnitude

    * added a damageUpperBound variable to indicate the upper limit of the phase-field

    * renamed the flag to add the external driving force for the nucleation model

    * changed the default value of upper bound

    * removed the function to apply damage on traction B.C.

    * reset the default value of the upper bound of damage

    * added a lower limit parameter for the degradation

    * added a damage upper bound constraint

    * changed the parameter for the smoke file

    * removed the unnecessary changes in TractionBoundaryCondition

    * added discretization for surface generator in parameter file and changed MeshTargets loop.

    * added a flag to indicate whether to apply the nodal damage irreversibility constraint

    * made the signs consistent when assembling the system

    * added the flag to indicate the crack irreversibility constraint

    * removed the discretization in surface generator parameters

    * rebaselined for the phasefield_nucleation_formulation

    * added checks of input parameters if the extDrivingForceFlag is turned on

    * added lapack routines and functions to compute least squares solutions

    * added the function to update pressure gradient in a cell

    * added a phase-field poromechanics solver

    * modified Damage model for pressurized fracture

    * added new variables into spectral and vol-dev damage models

    * added a porous solid model for damage model

    * added new PhaseFieldPoromechancisSolver into CmakeLists

    * changed damage variable name according to the Damage model

    * added a poromechanics damage kernel for assembly of solid mechanics and flow equation.

    * added the permeability model for damaged materials

    * added a fracture injection example

    * added pressure effect term in the damage equation

    * added the input file for the wellbore problem

    * temporarily turned off chechSystemSolution

    * applied damage on surface traction

    * added an input file for the wellbore concrete specimen

    * added a wellbore example for the solid phase-field nucleation solver

    * updated the schema and docs for the new solver and models

    * modified parameter in damage permeability

    * changed the scale ont he degraded traction

    * added the pressurized damage kernel

    * added the function to apply the degradation on traction B.C.

    * moved pressureGradient and its update function to SinglePhaseBase

    * refactored the damage kernel and PorousDamageSolid for singlePhasePoromechanics

    * updated total stress calculation in the phase-field poromechancis solve

    * modified phaseFieldPoromechanics to fit in the template of coupledSolver

    * compiled with the new phaseFieldPoromechanics solver

    * removed unnecessary pressure gradient update

    * change the imposed damage to 1 for irreversibility

    * changed the fracture pressure term to pressure_n

    * modified injection case xml

    * corrected the string array type

    * to model pressurized crack

    * changed the linear solver for the damage solver

    * added fields of certain parameters to allow for random distribution

    * added field variables for compressive strength and delat coefficient

    * made SinglePhasePoromechanicsDamage a derivative of SinglePhasePoromechanics kernel and updated copyright content

    * made the damage dependent constant an input parameter

    * removed pressurized damage kernel for nonporous impermeable solid in this branch

    * modified xmls and added a smoke test

    * added SinglePhasePoromechanics_impl.hpp to the instantiation of  SinglePhasePoromechanicsDamage

    ---------

commit ccc9eac
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 18:04:09 2025 +0100

    🐛 forgot a side case (when we have no data)

commit 6bb553c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 17:49:17 2025 +0100

    🎨 uncrustify + better suggestion

commit 9a7f8be
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 17:48:55 2025 +0100

    🎨 uncrustify + better suggestion

commit 1dfb5d2
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:51:54 2025 +0100

    🐛 fix compilation by using the right macro

commit 08bd71b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:49:19 2025 +0100

    🐛 fix compilation by removing a unused var, and actually use another one.

commit 6cd6a20
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:42:03 2025 +0100

    🎨 uncrustify

commit 3cd1826
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:30:07 2025 +0100

    🦺 rebaseline

commit 50e1739
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 15:53:04 2025 +0100

    🎨 uncoupled title & header layout populating (we will later be able to insert other content in-between more easily)

commit beda2bb
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 13:45:17 2025 +0100

    📝 documenting test goal explanation

commit c734b7b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 11:47:34 2025 +0100

    📝 adding a note for error management

commit 0879433
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 10:31:38 2025 +0100

    📦 schemaschemaschemaschemaschema

commit a00f6bc
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 10:30:30 2025 +0100

    🦺 rebaseline

commit 743a89f
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 16:35:47 2025 +0100

    🔧 support for std::filesystem for CUDA/GCC8.5 compilers

commit 5db0b2e
Merge: 8febff2 24eca07
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 16:23:59 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 8febff2
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 15:30:58 2025 +0100

    ✨ ✅ support table formatting without layout specification, add a unit-test for it

commit 24eca07
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Wed Mar 19 09:28:30 2025 -0500

    feat: Soreide-Whitson equation of state (#3597)

    Co-authored-by: Omar Duran <omaryesiduran@gmail.com>

commit 4b13f7b
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Wed Mar 19 09:28:06 2025 -0500

    feat: Add precision field to PVTDriver (#3600)

commit 8620c7b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 11:17:44 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 33fc3fc
Author: Pavel Tomin <paveltomin@users.noreply.github.com>
Date:   Tue Mar 18 18:57:40 2025 -0400

    build: remove large mem (#3590)

commit 8d9ac9d
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Tue Mar 18 16:26:35 2025 -0500

    refactor: Separate compositional fluid parameters from models (#3594)

commit c988661
Author: Omar Duran <omaryesiduran@gmail.com>
Date:   Tue Mar 18 12:26:14 2025 -0700

    ci: oduran/xml_validation (#3588)

commit cfab6c8
Author: Arnaud DUDES <155963334+arng40@users.noreply.github.com>
Date:   Tue Mar 18 20:24:00 2025 +0100

    docs: Log level documentation on remaining package (#3494)

commit 96a9449
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:59:52 2025 +0100

    🚧 added no-layout formatter (untested)

commit c636a09
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:57:45 2025 +0100

    📦 other schema

commit a7f1771
Merge: e413bf2 7000da0
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:54:47 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 7000da0
Author: Randolph Settgast <settgast1@llnl.gov>
Date:   Mon Mar 17 11:11:58 2025 -0700

    remove some constructors/destructors in VEM implementation to avoid warnings (#3599)
arng40 added a commit that referenced this pull request Mar 28, 2025
commit 88e5db1
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 27 13:58:47 2025 +0100

    Revert "➖ removal of gcc<9 compiler option"

    This reverts commit 977a24d.

commit 5759d0a
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 27 13:43:44 2025 +0100

    🚨 🎨 remove some CUDA warning

commit 977a24d
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 27 10:18:04 2025 +0100

    ➖ removal of gcc<9 compiler option

commit 9f032fd
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 26 15:10:18 2025 +0100

    🎨 uncrustify

commit 84894bb
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 26 14:02:47 2025 +0100

    📝 last lacking docs

commit a9298de
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 26 13:53:39 2025 +0100

    📝 🐛 doxygen region not suported for this usecase :'(

commit 35911a0
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 26 12:01:42 2025 +0100

    📝 🎨 Improve Cell object robustness & encapsulation + docs

commit dbc7f0d
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 16:07:24 2025 +0100

    🐛 compil fix

commit b37eefc
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 15:43:27 2025 +0100

    🐛 compil fix

commit 4642bda
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 15:36:44 2025 +0100

    🐛 🎨 repaired addSubColumns so it really append + added the "Cell" type to base Column on it and propose a type that stores the setting AND the data (for further works)

commit 47b493b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 11:27:28 2025 +0100

    🦺 rebaseline

commit 953ea3b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 11:24:35 2025 +0100

    🐛 completed the hidden column fix in commit e495521

commit 1202d4e
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 25 11:11:06 2025 +0100

    📝 docs

commit 9327e03
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Mon Mar 24 17:55:13 2025 +0100

    📝 docs

commit e495521
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Mon Mar 24 16:51:43 2025 +0100

    🐛 ✅ 2 bug fixes: when parent column only is not visible (now hides children) + it is no longer possible to enter wrong visibility value

commit 7972176
Merge: 9653609 3c4000e
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Mon Mar 24 15:47:14 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 3c4000e
Author: Pavel Tomin <paveltomin@users.noreply.github.com>
Date:   Sat Mar 22 08:35:57 2025 -0500

    feat: make possible to use solid mechanics solver to perform poromechanics initialization (#3396)

commit 2118b48
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Fri Mar 21 17:53:47 2025 -0500

    feat: Add a compositional Phillips brine density model (#3598)

    Co-authored-by: Omar Duran <omaryesiduran@gmail.com>

commit 8863635
Author: Brian Han <han12@llnl.gov>
Date:   Fri Mar 21 11:53:52 2025 -0700

    Fix links in spack docs; reword beginning section (#3550)

    Co-authored-by: Matteo Cusini <49037133+CusiniM@users.noreply.github.com>

commit ab75c18
Author: Brian Han <han12@llnl.gov>
Date:   Fri Mar 21 09:22:21 2025 -0700

    fix: CI style and docs checks (#3584)

    * Add host-config path so style and docs jobs can find deps

    * Capture return code of cmake configuration line in config-build.py instead of always returning success on cmake configure line call

    * Fix doyxgen errors - undo deleted getMeshTargets() comment

    * Rerun uncrustify

    ---------

    Co-authored-by: Matteo Cusini <49037133+CusiniM@users.noreply.github.com>

commit 9653609
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:10:26 2025 +0100

    🐛 ✅ finalized the fix for when the reference row has merged cell : removed the reference-row concept in favor of a columns-width array

commit 158485e
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:07:48 2025 +0100

    🧪 added failing test for the side case when the reference row has merged cell(s)

commit 8b425a9
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 14:05:09 2025 +0100

    🐛 ✅ finalized the fix for the side-case bug (when only one merged line) + correct unit test

commit 3d71945
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 12:05:38 2025 +0100

    🐛 🚧 fix two side-case bugs + docs on a bug to fix/warn later

commit 8ff38d3
Merge: aea705c 5732c5c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 10:19:40 2025 +0100

    Merge commit '5732c5c0be16ead0b846c302ed06d30988da4a9f' into bugfix/rey/csv-export-fail

commit aea705c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Fri Mar 21 10:11:05 2025 +0100

    🦺 rebaseline

commit 5732c5c
Author: Frank Fei <frankfei0929@gmail.com>
Date:   Thu Mar 20 18:23:52 2025 -0700

    feat: phase-field nucleation modeling of hydraulic fracturing  (#2125)

    * add constitutive files for the phase-field nucleation formulation

    * add constitutive files for the phase-field nucleation formulation

    * modify the pf formulation by adding an external driving force

    * add a member variable for the external driving force and a member function to output it

    * add the new constitutive for pf nucleation into the passthru

    * Add DamageExtDrivingForce files into CMakeLists

    * solve the segmentation error

    * Add an input file for the phase-field nucleation formulation

    * correct the calculation of the external driving force

    * adding TableFunction files for the surfing boundary condition

    * adding an option variable for the external driving force term

    * adding the initial fracture and surfing boundary condition

    * set upper and lower bounds of the damage when calculating the degradation function

    * correct the typo in the formulation

    * set a threshold for the strain energy based on c_e to keep the damage value non-negative

    * clean the phase-field code and add the external driving force term into the Damage base code

    * Add a switch of the external driving force to check if the nucleation formulation is called

    * clean the phase-field code by merging the nucleation formulation into the damage base code

    * create the input file and mesh for the three point test

    * add new mesh files for the 3 points loading test

    * change the upper limit of d to 1 in the degradation function

    * add the input file for the test to calibrate modeling parameters

    * add an input file for the wellbore problem

    * fixed changes in schema and .rst files for nucleation formulation

    * remove unnecessary function for specifying the nodal value

    * fixed the linear solver parameters and changed the material parameters to cement

    * added a small tolerance in the degradation such that it has a small residual when d = 1

    * modified the upper threshold of d

    * added a nodal scale array to calculate the traction magnitude

    * added a damageUpperBound variable to indicate the upper limit of the phase-field

    * renamed the flag to add the external driving force for the nucleation model

    * changed the default value of upper bound

    * removed the function to apply damage on traction B.C.

    * reset the default value of the upper bound of damage

    * added a lower limit parameter for the degradation

    * added a damage upper bound constraint

    * changed the parameter for the smoke file

    * removed the unnecessary changes in TractionBoundaryCondition

    * added discretization for surface generator in parameter file and changed MeshTargets loop.

    * added a flag to indicate whether to apply the nodal damage irreversibility constraint

    * made the signs consistent when assembling the system

    * added the flag to indicate the crack irreversibility constraint

    * removed the discretization in surface generator parameters

    * rebaselined for the phasefield_nucleation_formulation

    * added checks of input parameters if the extDrivingForceFlag is turned on

    * added lapack routines and functions to compute least squares solutions

    * added the function to update pressure gradient in a cell

    * added a phase-field poromechanics solver

    * modified Damage model for pressurized fracture

    * added new variables into spectral and vol-dev damage models

    * added a porous solid model for damage model

    * added new PhaseFieldPoromechancisSolver into CmakeLists

    * changed damage variable name according to the Damage model

    * added a poromechanics damage kernel for assembly of solid mechanics and flow equation.

    * added the permeability model for damaged materials

    * added a fracture injection example

    * added pressure effect term in the damage equation

    * added the input file for the wellbore problem

    * temporarily turned off chechSystemSolution

    * applied damage on surface traction

    * added an input file for the wellbore concrete specimen

    * added a wellbore example for the solid phase-field nucleation solver

    * updated the schema and docs for the new solver and models

    * modified parameter in damage permeability

    * changed the scale ont he degraded traction

    * added the pressurized damage kernel

    * added the function to apply the degradation on traction B.C.

    * moved pressureGradient and its update function to SinglePhaseBase

    * refactored the damage kernel and PorousDamageSolid for singlePhasePoromechanics

    * updated total stress calculation in the phase-field poromechancis solve

    * modified phaseFieldPoromechanics to fit in the template of coupledSolver

    * compiled with the new phaseFieldPoromechanics solver

    * removed unnecessary pressure gradient update

    * change the imposed damage to 1 for irreversibility

    * changed the fracture pressure term to pressure_n

    * modified injection case xml

    * corrected the string array type

    * to model pressurized crack

    * changed the linear solver for the damage solver

    * added fields of certain parameters to allow for random distribution

    * added field variables for compressive strength and delat coefficient

    * made SinglePhasePoromechanicsDamage a derivative of SinglePhasePoromechanics kernel and updated copyright content

    * made the damage dependent constant an input parameter

    * removed pressurized damage kernel for nonporous impermeable solid in this branch

    * modified xmls and added a smoke test

    * added SinglePhasePoromechanics_impl.hpp to the instantiation of  SinglePhasePoromechanicsDamage

    ---------

commit ccc9eac
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 18:04:09 2025 +0100

    🐛 forgot a side case (when we have no data)

commit 6bb553c
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 17:49:17 2025 +0100

    🎨 uncrustify + better suggestion

commit 9a7f8be
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 17:48:55 2025 +0100

    🎨 uncrustify + better suggestion

commit 1dfb5d2
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:51:54 2025 +0100

    🐛 fix compilation by using the right macro

commit 08bd71b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:49:19 2025 +0100

    🐛 fix compilation by removing a unused var, and actually use another one.

commit 6cd6a20
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:42:03 2025 +0100

    🎨 uncrustify

commit 3cd1826
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 16:30:07 2025 +0100

    🦺 rebaseline

commit 50e1739
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 15:53:04 2025 +0100

    🎨 uncoupled title & header layout populating (we will later be able to insert other content in-between more easily)

commit beda2bb
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 13:45:17 2025 +0100

    📝 documenting test goal explanation

commit c734b7b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 11:47:34 2025 +0100

    📝 adding a note for error management

commit 0879433
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 10:31:38 2025 +0100

    📦 schemaschemaschemaschemaschema

commit a00f6bc
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Thu Mar 20 10:30:30 2025 +0100

    🦺 rebaseline

commit 743a89f
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 16:35:47 2025 +0100

    🔧 support for std::filesystem for CUDA/GCC8.5 compilers

commit 5db0b2e
Merge: 8febff2 24eca07
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 16:23:59 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 8febff2
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 15:30:58 2025 +0100

    ✨ ✅ support table formatting without layout specification, add a unit-test for it

commit 24eca07
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Wed Mar 19 09:28:30 2025 -0500

    feat: Soreide-Whitson equation of state (#3597)

    Co-authored-by: Omar Duran <omaryesiduran@gmail.com>

commit 4b13f7b
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Wed Mar 19 09:28:06 2025 -0500

    feat: Add precision field to PVTDriver (#3600)

commit 8620c7b
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Wed Mar 19 11:17:44 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 33fc3fc
Author: Pavel Tomin <paveltomin@users.noreply.github.com>
Date:   Tue Mar 18 18:57:40 2025 -0400

    build: remove large mem (#3590)

commit 8d9ac9d
Author: Dickson Kachuma <81433670+dkachuma@users.noreply.github.com>
Date:   Tue Mar 18 16:26:35 2025 -0500

    refactor: Separate compositional fluid parameters from models (#3594)

commit c988661
Author: Omar Duran <omaryesiduran@gmail.com>
Date:   Tue Mar 18 12:26:14 2025 -0700

    ci: oduran/xml_validation (#3588)

commit cfab6c8
Author: Arnaud DUDES <155963334+arng40@users.noreply.github.com>
Date:   Tue Mar 18 20:24:00 2025 +0100

    docs: Log level documentation on remaining package (#3494)

commit 96a9449
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:59:52 2025 +0100

    🚧 added no-layout formatter (untested)

commit c636a09
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:57:45 2025 +0100

    📦 other schema

commit a7f1771
Merge: e413bf2 7000da0
Author: MelReyCG <melvin.rey@capgemini.com>
Date:   Tue Mar 18 11:54:47 2025 +0100

    Merge remote-tracking branch 'origin/develop' into bugfix/rey/csv-export-fail

commit 7000da0
Author: Randolph Settgast <settgast1@llnl.gov>
Date:   Mon Mar 17 11:11:58 2025 -0700

    remove some constructors/destructors in VEM implementation to avoid warnings (#3599)
danielemoretto44 pushed a commit that referenced this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: requires rebaseline Requires rebaseline branch in integratedTests type: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stress initialization does not properly work in sequential mode when mechanics-only solver is used to perform initialization

5 participants