Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
538e69d
initial commit for adding the singlePhaseReactiveTransport
frankfeifan Mar 14, 2025
3d75862
added an 1D test
frankfeifan Mar 14, 2025
4ac1454
Merge remote-tracking branch 'origin/develop' into feature/frankfei/s…
frankfeifan Mar 14, 2025
23de93c
added diffusion
frankfeifan Mar 18, 2025
5b8ffb2
Merge remote-tracking branch 'origin/develop' into feature/frankfei/s…
frankfeifan Mar 18, 2025
253cf71
resolve merge conflict for logLevel issue
frankfeifan Mar 18, 2025
39b6098
enabled thermal and fixed a few bugs
frankfeifan Mar 28, 2025
b0b7826
Merge remote-tracking branch 'origin/develop' into feature/frankfei/s…
frankfeifan Mar 28, 2025
2b25ae8
feat: add HPCReact as a submodule
CusiniM Apr 2, 2025
4c3890b
Remove old Reactive fluid.
CusiniM Apr 2, 2025
d61e980
finally compiles
CusiniM Apr 3, 2025
9e9b518
added dispatch.
CusiniM Apr 5, 2025
f7dea2a
Merge remote-tracking branch 'origin/develop' into feature/frankfei/s…
frankfeifan Apr 9, 2025
7b1a758
Merge remote-tracking branch 'origin/cusini/single-phase-reactiveflui…
frankfeifan Apr 10, 2025
d04535b
changed the names of some fields
frankfeifan Apr 14, 2025
5ef97f2
Merge branch 'feature/frankfei/singlePhaseReactiveTransport' into fea…
frankfeifan Apr 14, 2025
11c60b2
plugged in the equilibrium reaction to the transport solver
frankfeifan Apr 24, 2025
af066f0
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Apr 24, 2025
94d281f
HPCReact
frankfeifan Apr 24, 2025
85f8184
Merge remote-tracking branch 'origin/develop' into cusini/single-phas…
CusiniM May 19, 2025
38a649e
interface with mixedSystem.
CusiniM May 19, 2025
bfa4f4e
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan May 20, 2025
44de8ae
Merge remote-tracking branch 'origin/cusini/single-phase-reactiveflui…
frankfeifan May 22, 2025
98965ab
enable mixed system update
frankfeifan May 22, 2025
776bab0
change the layout and rename some concentration arrays
frankfeifan May 28, 2025
de8841b
enable mixed system update
frankfeifan May 28, 2025
3aab47e
HPCReact update
frankfeifan May 28, 2025
668beb2
added a unit test
frankfeifan May 28, 2025
cbece00
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan May 28, 2025
b40f360
cleaned up the code and enabled thermal fluid
frankfeifan May 29, 2025
01d83b0
added thermal and isothermal mixed reaction test
frankfeifan May 29, 2025
a361591
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan May 29, 2025
4a65e5e
HPCReact
frankfeifan Jun 1, 2025
f816f92
enabled ultramafic and avoided hard coding
frankfeifan Jun 1, 2025
1004013
update hpcReact commit.
CusiniM Jun 2, 2025
f5025ee
fix compilation error.
CusiniM Jun 3, 2025
5916829
updated with HPCReact
frankfeifan Jun 4, 2025
2319c5c
added the porosity update with kinetic reaction
frankfeifan Jun 4, 2025
7182b83
Merge remote-tracking branch 'origin/feature/singlePhaseReactiveTrans…
frankfeifan Jun 4, 2025
c6a1a42
added some checks if using the reactive porosity model
frankfeifan Jun 7, 2025
d2c3896
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Jun 16, 2025
8d5f229
added source b.c.
frankfeifan Jun 16, 2025
02f4e5b
update HPCReact version.
CusiniM Jun 19, 2025
bf9bf47
Fixes for new hpcReact branch.
CusiniM Jun 19, 2025
5615c39
latest hpcReact commit.
CusiniM Jun 20, 2025
bf6a9e0
to update number of primary after adding the surface reaction in HPCR…
frankfeifan Jun 20, 2025
6ed29d0
added surfaceArea update
frankfeifan Jun 28, 2025
84bb91d
updated 1D tests
frankfeifan Jun 28, 2025
9652aa0
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Jun 28, 2025
c3f0c38
enabled mobile aggregate concentrations
frankfeifan Jul 15, 2025
6336f6a
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Jul 15, 2025
31e887f
initial attempts for the MoMaS
frankfeifan Jul 15, 2025
a569416
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Aug 1, 2025
6f7c4bf
HPCReact updated
frankfeifan Aug 5, 2025
fd8fc41
changed to use new enforce equilibrium function and updated xmls
frankfeifan Aug 5, 2025
163cddc
fixed build with HPCReact
frankfeifan Aug 12, 2025
c54ce5a
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Aug 12, 2025
e484544
fix for CUDA build
frankfeifan Aug 13, 2025
4b3b7ca
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Aug 13, 2025
d29bfa2
fixed b.c. for momas and clean up xmls.
frankfeifan Aug 13, 2025
24c12dd
change in hpcreact
frankfeifan Aug 13, 2025
25dca54
try to solve some compile errors
frankfeifan Aug 15, 2025
90d3e52
addded both advective and diffusive cases
frankfeifan Aug 16, 2025
7fb15bc
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Aug 16, 2025
da310fe
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Aug 26, 2025
7f2acbf
fixed logInfo
frankfeifan Aug 26, 2025
2f12d37
added initial primary species array and cleaned up xmls
frankfeifan Aug 27, 2025
5096026
updated HPCReact
frankfeifan Sep 3, 2025
0d33a94
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Sep 3, 2025
041234b
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Sep 12, 2025
616c340
enable momas medium test case
frankfeifan Sep 12, 2025
e920071
renamed the momas input file deck folder and added the 2D problem
frankfeifan Sep 12, 2025
cbe97f9
enabled face dirichlet and updated xmls
frankfeifan Sep 28, 2025
73a1d79
corrections in momas medium in HPCReact
frankfeifan Sep 28, 2025
379ab74
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Sep 28, 2025
872efc3
link to HPCReact
frankfeifan Oct 1, 2025
1fffddd
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Oct 1, 2025
31caa2a
clean up for momas inputs and changed back for kinetic reaction term
frankfeifan Oct 22, 2025
ead476d
added generic chain reaction all kinetic case
frankfeifan Oct 22, 2025
280902b
revised unit test
frankfeifan Oct 22, 2025
9e25f3b
uncrustify
frankfeifan Oct 22, 2025
fce0003
Merge remote-tracking branch 'origin/develop' into feature/singlePhas…
frankfeifan Oct 22, 2025
7945028
attempted workaround for cuda error
rrsettgast Oct 23, 2025
78e4f45
fix cuda compile issues
rrsettgast Oct 24, 2025
1671d9f
fix compile
frankfeifan Oct 24, 2025
7ddb0a8
initial chemomechanics coupling and an 1D example for simple testing
frankfeifan Oct 29, 2025
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "src/coreComponents/fileIO/coupling/hdf5_interface"]
path = src/coreComponents/fileIO/coupling/hdf5_interface
url = ../../GEOS-DEV/hdf5_interface.git
[submodule "src/coreComponents/constitutive/HPCReact"]
path = src/coreComponents/constitutive/HPCReact
url = [email protected]:GEOS-DEV/HPCReact.git
139 changes: 139 additions & 0 deletions inputFiles/chemoMechanics/ChemoMechanics_CarbonateSystem_base.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<?xml version="1.0" ?>

<Problem>

<NumericalMethods>
<FiniteElements>
<FiniteElementSpace
name="FE1"
order="1"/>
</FiniteElements>

<FiniteVolume>
<TwoPointFluxApproximation
name="singlePhaseTPFA"/>
</FiniteVolume>
</NumericalMethods>

<ElementRegions>
<CellElementRegion
name="Barrier"
cellBlocks="{ cb-0_0_0, cb-0_2_0 }"
materialList="{ reactiveRock, water }"/>

<CellElementRegion
name="Reaction"
cellBlocks="{ cb-0_1_0 }"
materialList="{ reactiveRock, water }"/>
</ElementRegions>

<Constitutive>
<PorousReactiveElasticIsotropic
name="reactiveRock"
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"/>

<ElasticIsotropic
name="rockSolid"
defaultDensity="0"
defaultBulkModulus="6.6667e7"
defaultShearModulus="4.0e7"/>

<ReactivePorosity
name="rockPorosity"
defaultReferencePorosity="0.1"
defaultInitialVolumeFractions="{ 0.1 }"
molarWeights="{ 0.100087 }"
mineralDensities="{ 2710 }"/>

<ConstantPermeability
name="rockPerm"
permeabilityComponents="{ 1e-20, 1e-20, 1e-20 }"/>

<ReactiveCompressibleSinglePhaseFluid
name="water"
defaultDensity="1000"
defaultViscosity="0.001"
referencePressure="0.0"
compressibility="5e-10"
viscosibility="0.0"
chemicalSystemType="carbonate"/>
</Constitutive>

<FieldSpecifications>
<FieldSpecification
name="initialPressureBarrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="pressure"
scale="0.0"/>

<FieldSpecification
name="initialPressureReaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="pressure"
scale="0.0"/>

<FieldSpecification
name="fixPressureBarrier"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="pressure"
scale="0.0"/>

<FieldSpecification
name="fixPressureReaction"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="pressure"
scale="0.0"/>

<FieldSpecification
name="xconstraint"
fieldName="totalDisplacement"
component="0"
objectPath="nodeManager"
setNames="{ yneg, ypos }"/>

<FieldSpecification
name="yconstraint"
fieldName="totalDisplacement"
component="1"
objectPath="nodeManager"
setNames="{ yneg, ypos }"/>

<FieldSpecification
name="zconstraint"
fieldName="totalDisplacement"
component="2"
objectPath="nodeManager"
setNames="{ yneg, ypos }"/>

<FieldSpecification
name="surfaceAreaReaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="initialSurfaceArea"
component="0"
scale="2.4573e+06"/>

<FieldSpecification
name="surfaceAreaBarrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="initialSurfaceArea"
component="0"
scale="0.0"/>
</FieldSpecifications>

<Outputs>
<VTK
name="vtkOutput"/>
</Outputs>
</Problem>
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?xml version="1.0" ?>

<Problem>
<Included>
<File name="./ChemoMechanics_CarbonateSystem_base.xml"/>
<File name="./ChemoMechanics_CarbonateSystem_initialAggregate.xml" />
<File name="./ChemoMechanics_CarbonateSystem_initialPrimaryConc.xml" />
</Included>

<Solvers
gravityVector="{ 0.0, 0.0, 0.0 }">
<SinglePhaseReactiveTransportPoromechanics
name="chemomechSolve"
solidSolverName="lagsolve"
flowSolverName="SinglePhaseReactiveFlow"
logLevel="1"
targetRegions="{ Reaction, Barrier }">
<NonlinearSolverParameters
newtonMaxIter="2"
newtonTol="1.0e-4"
couplingType="Sequential"
lineSearchAction="None"
subcycling="1"
maxTimeStepCuts="1"
lineSearchMaxCuts="0"/>
<LinearSolverParameters
directParallel="0"/>
</SinglePhaseReactiveTransportPoromechanics>

<SolidMechanicsLagrangianFEM
name="lagsolve"
logLevel="1"
discretization="FE1"
targetRegions="{ Reaction, Barrier }">
<NonlinearSolverParameters
newtonTol="1.0e-4"
newtonMaxIter="40"/>
<LinearSolverParameters
directParallel="0"/>
</SolidMechanicsLagrangianFEM>

<SinglePhaseReactiveTransport
name="SinglePhaseReactiveFlow"
logLevel="1"
discretization="singlePhaseTPFA"
targetRegions="{ Reaction, Barrier }">
<NonlinearSolverParameters
newtonTol="1.0e-4"
maxTimeStepCuts="5"
newtonMaxIter="40"
logLevel="2"
maxAllowedResidualNorm="1e100"/>
<LinearSolverParameters
directParallel="0"/>
</SinglePhaseReactiveTransport>
</Solvers>

<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0.0, 1.0 }"
yCoords="{ 0.0, 4.0, 6.0, 10.0 }"
zCoords="{ 0.0, 1.0 }"
nx="{ 1 }"
ny="{ 4, 2, 4 }"
nz="{ 1 }"
cellBlockNames="{ cb-0_0_0, cb-0_1_0, cb-0_2_0 }"/>
</Mesh>

<Events
maxTime="10.0">

<PeriodicEvent
name="outputs"
cycleFrequency="1"
target="/Outputs/vtkOutput"/>

<PeriodicEvent
name="solverApplication0"
maxEventDt="0.1"
target="/Solvers/chemomechSolve"/>
</Events>

</Problem>
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<?xml version="1.0" ?>

<Problem>
<FieldSpecifications>
<!-- AGGREGATE CONCENTRATIONS AT REACTION -->
<FieldSpecification
name="initialAggregate_H_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="0"
scale="1.585e-7"/>

<FieldSpecification
name="initialAggregate_HCO3_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="1"
scale="8.293e-3"/>

<FieldSpecification
name="initialAggregate_Ca_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="2"
scale="2.171e-3"/>

<FieldSpecification
name="initialAggregate_SO4_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="3"
scale="1.666e-6"/>

<FieldSpecification
name="initialAggregate_Cl_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="4"
scale="2.821e-5"/>

<FieldSpecification
name="initialAggregate_Mg_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="5"
scale="1.605e-3"/>

<FieldSpecification
name="initialAggregate_Na_reaction"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Reaction"
fieldName="water_primarySpeciesAggregateConcentration"
component="6"
scale="7.817e-4"/>

<!-- AGGREGATE CONCENTRATIONS AT BARRIER -->
<FieldSpecification
name="initialAggregate_H_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="0"
scale="1.585e-7"/>

<FieldSpecification
name="initialAggregate_HCO3_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="1"
scale="8.293e-3"/>

<FieldSpecification
name="initialAggregate_Ca_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="2"
scale="2.171e-3"/>

<FieldSpecification
name="initialAggregate_SO4_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="3"
scale="1.666e-6"/>

<FieldSpecification
name="initialAggregate_Cl_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="4"
scale="2.821e-5"/>

<FieldSpecification
name="initialAggregate_Mg_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="5"
scale="1.605e-3"/>

<FieldSpecification
name="initialAggregate_Na_barrier"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Barrier"
fieldName="water_primarySpeciesAggregateConcentration"
component="6"
scale="7.817e-4"/>
</FieldSpecifications>
</Problem>
Loading
Loading