Skip to content
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: Temperature dependent single phase thermal conductivity #3135

Merged
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
901e4b7
prepare for implementing linear solid thermal conductivity
sytuannguyen May 15, 2024
158bb3e
update the thermal conductivity constitutive class
sytuannguyen May 15, 2024
5303002
update the name of the thermal conductivity model in xml files
sytuannguyen May 16, 2024
89b7909
update thermal model name in srt and py files
sytuannguyen May 16, 2024
fde823e
add thermal model name to coupled constitutive model
sytuannguyen May 16, 2024
541976e
add cond gradient attribute and update xmls
sytuannguyen May 16, 2024
3e3676a
update thermal single phase FVM kernel w.r.t. non const thermal condu…
sytuannguyen May 20, 2024
233f100
add dThermalCond_dT to single phase thermal flow solver
sytuannguyen May 21, 2024
4219e49
fix floating point exception
sytuannguyen May 22, 2024
6ae57b7
add thermal conductivity derivative to kernel
sytuannguyen May 22, 2024
4de8fab
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen May 22, 2024
826172b
fix conflict
sytuannguyen Jun 26, 2024
0c341e9
uncrustify_style
sytuannguyen Jun 26, 2024
5aa2b77
add doc and python script for validation
sytuannguyen Jun 26, 2024
26b7ac4
update thermal unit tests
sytuannguyen Jun 26, 2024
a024785
add integrated test and xmls for benchmark
sytuannguyen Jun 26, 2024
cf70f7d
update doc and Python script
sytuannguyen Jun 26, 2024
39d8e3f
fix unit test
sytuannguyen Jun 26, 2024
2f9a18e
more fix for unit test
sytuannguyen Jun 26, 2024
fd3a389
fix set apply default vector
sytuannguyen Jun 26, 2024
5d6ac8f
uncrustify_style
sytuannguyen Jun 27, 2024
20cea11
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Jun 27, 2024
aeace94
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Jun 29, 2024
1e39149
merge develop
sytuannguyen Jul 22, 2024
8aa1c83
add ThermalCompressibleSolid class
sytuannguyen Jul 23, 2024
18705ed
update xml
sytuannguyen Jul 23, 2024
f0caa6c
uncrustify_style
sytuannguyen Jul 23, 2024
ef365ac
fix an unit test
sytuannguyen Jul 23, 2024
9180501
add ThermoPoroMechanics class
sytuannguyen Jul 24, 2024
88abd53
uncrustify_style
sytuannguyen Jul 25, 2024
9453bc8
update the validation examples
sytuannguyen Jul 25, 2024
31d7853
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Jul 25, 2024
9a3996a
fix python scripts
sytuannguyen Jul 25, 2024
894be09
update linear thermal diffusion example
sytuannguyen Jul 25, 2024
8df82ee
update a python script
sytuannguyen Jul 26, 2024
9ab1382
simplification
sytuannguyen Jul 29, 2024
50d6048
update xmls
sytuannguyen Jul 29, 2024
7af4efd
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Jul 29, 2024
168df8e
update xmls
sytuannguyen Jul 29, 2024
ed5f588
remove redundant files
sytuannguyen Jul 29, 2024
8b8303f
some minor fixs
sytuannguyen Jul 29, 2024
bd3bb35
fix an unit test
sytuannguyen Jul 30, 2024
bd096dd
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
jhuang2601 Aug 1, 2024
c3152ab
add smoke tests for integratedTest
jhuang2601 Aug 1, 2024
8fadb85
add a doc for this new model
jhuang2601 Aug 1, 2024
5c6f798
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Aug 5, 2024
f296222
address comments
sytuannguyen Aug 5, 2024
1fe01a9
Merge branch 'feature/sytuan/temperatureDependentThermalConductivity'…
sytuannguyen Aug 5, 2024
c28eeba
address comments
sytuannguyen Aug 12, 2024
5a059f7
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
sytuannguyen Aug 12, 2024
4810e0f
address comments
sytuannguyen Aug 13, 2024
07dfcbf
merge develop and resolve conflict
sytuannguyen Aug 13, 2024
bdd425b
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
jhuang2601 Aug 14, 2024
8b94b00
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
rrsettgast Aug 22, 2024
2647b31
update integratedTests tags
jhuang2601 Aug 22, 2024
14b7ce3
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
jhuang2601 Aug 30, 2024
cc215e1
update COPYRIGHT statement for one cpp file
jhuang2601 Aug 30, 2024
53174a0
Merge branch 'develop' into feature/sytuan/temperatureDependentTherma…
jhuang2601 Sep 3, 2024
60e4584
update BASELINE_NOTES.md
jhuang2601 Sep 4, 2024
6e7b2f6
update .integrated_tests.yaml
jhuang2601 Sep 4, 2024
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 @@ -50,7 +50,8 @@
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<NullModel
name="nullSolid"/>
Expand Down Expand Up @@ -83,9 +84,11 @@
specificHeatCapacity="4.0e3"
referenceInternalEnergy="1.1e6"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 3.5, 3.5, 3.5 }"/>
defaultThermalConductivityComponents="{ 3.5, 3.5, 3.5 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

</Constitutive>

Expand Down
13 changes: 8 additions & 5 deletions inputFiles/singlePhaseFlow/thermalCompressible_2d_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<NullModel
name="nullSolid"/>
Expand Down Expand Up @@ -75,11 +76,13 @@
referenceInternalEnergy="0.99"/>
<!-- SPHINX_ThermalCompressibleSinglePhaseFluidEnd -->

<!-- SPHINX_SinglePhaseConstantThermalConductivity -->
<SinglePhaseConstantThermalConductivity
<!-- SPHINX_SinglePhaseThermalConductivity -->
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 1.66, 1.66, 1.66 }"/>
<!-- SPHINX_SinglePhaseConstantThermalConductivityEnd -->
defaultThermalConductivityComponents="{ 1.66, 1.66, 1.66 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>
<!-- SPHINX_SinglePhaseThermalConductivityEnd -->

</Constitutive>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,27 @@
specificHeatCapacity="4.2e6"
referenceInternalEnergy="0.99"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 3.81, 3.81, 3.81 }"/>
defaultThermalConductivityComponents="{ 3.81, 3.81, 3.81 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<CompressibleSolidParallelPlatesPermeability
name="fractureFilling"
solidModelName="nullSolid"
porosityModelName="fracturePorosity"
permeabilityModelName="fracturePerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<CompressibleSolidConstantPermeability
name="rock"
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<SolidInternalEnergy
name="rockInternalEnergy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
specificHeatCapacity="1.672e2"
referenceInternalEnergy="0.001"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 1, 1, 1 }"/>
defaultThermalConductivityComponents="{ 1, 1, 1 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<CompressibleSolidParallelPlatesPermeability
name="fractureFilling"
Expand All @@ -43,7 +45,8 @@
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<SolidInternalEnergy
name="rockInternalEnergy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<!-- SPHINX_SOLID -->
<ElasticIsotropic
Expand Down Expand Up @@ -73,9 +74,11 @@
name="rockPerm"
permeabilityComponents="{ 4.0e-9, 4.0e-9, 4.0e-9 }"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 836, 836, 836 }"/>
defaultThermalConductivityComponents="{ 836, 836, 836 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>
<!-- SPHINX_PERMEABILITY_CONDUCTIVITY_END -->

</Constitutive>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
solidModelName="rock"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<ElasticIsotropic
name="rock"
Expand All @@ -31,9 +32,11 @@
specificHeatCapacity="1.672e2"
referenceInternalEnergy="0.001"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 1, 1, 1 }"/>
defaultThermalConductivityComponents="{ 1, 1, 1 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<SolidInternalEnergy
name="rockInternalEnergy"
Expand All @@ -51,7 +54,8 @@
solidModelName="nullSolid"
porosityModelName="fracturePorosity"
permeabilityModelName="fracturePerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<NullModel
name="nullSolid"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@
solidModelName="rock"
porosityModelName="rockPorosity"
permeabilityModelName="rockPermeability"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<ElasticIsotropic
name="rock"
Expand Down Expand Up @@ -235,9 +236,11 @@
specificHeatCapacity="1.672e2"
referenceInternalEnergy="0.001"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="thermalCond"
thermalConductivityComponents="{ 10, 10, 10 }"/>
defaultThermalConductivityComponents="{ 10, 10, 10 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<BiotPorosity
name="rockPorosity"
Expand All @@ -249,7 +252,8 @@
solidModelName="nullSolid"
porosityModelName="fracturePorosity"
permeabilityModelName="fracturePerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="thermalCond"/>

<NullModel
name="nullSolid"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
solidModelName="nullSolid"
porosityModelName="fracturePorosity"
permeabilityModelName="fracturePerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="contactThermalCond"/>

<NullModel
name="nullSolid"/>
Expand All @@ -132,21 +133,24 @@
solidModelName="casingSolid"
porosityModelName="casingPorosity"
permeabilityModelName="casingPerm"
solidInternalEnergyModelName="casingInternalEnergy"/>
solidInternalEnergyModelName="casingInternalEnergy"
singlePhaseThermalConductivityModelName="casingThermalCond"/>

<PorousElasticIsotropic
name="cement"
solidModelName="cementSolid"
porosityModelName="cementPorosity"
permeabilityModelName="cementPerm"
solidInternalEnergyModelName="cementInternalEnergy"/>
solidInternalEnergyModelName="cementInternalEnergy"
singlePhaseThermalConductivityModelName="cementThermalCond"/>

<PorousElasticIsotropic
name="rock"
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="rockThermalCond"/>

<!-- SPHINX_PoroElasticProperties -->
<BiotPorosity
Expand Down Expand Up @@ -200,22 +204,30 @@
<!-- SPHINX_PermeabilityPropertiesEnd -->


<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="casingThermalCond"
thermalConductivityComponents="{ 15, 15, 15 }"/>
defaultThermalConductivityComponents="{ 15, 15, 15 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="cementThermalCond"
thermalConductivityComponents="{ 1.0, 1.0, 1.0 }"/>
defaultThermalConductivityComponents="{ 1.0, 1.0, 1.0 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="rockThermalCond"
thermalConductivityComponents="{ 1.66, 1.66, 1.66 }"/>
defaultThermalConductivityComponents="{ 1.66, 1.66, 1.66 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<!-- SPHINX_ContactThermalProperties -->
<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="contactThermalCond"
thermalConductivityComponents="{ 1.0, 1.0, 1.0 }"/>
defaultThermalConductivityComponents="{ 1.0, 1.0, 1.0 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>
<!-- SPHINX_ContactThermalPropertiesEnd -->

<!-- SPHINX_FluidProperties -->
Expand Down
27 changes: 18 additions & 9 deletions inputFiles/wellbore/CasedThermoElasticWellbore_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,24 @@
solidModelName="casingSolid"
porosityModelName="casingPorosity"
permeabilityModelName="casingPerm"
solidInternalEnergyModelName="casingInternalEnergy"/>
solidInternalEnergyModelName="casingInternalEnergy"
singlePhaseThermalConductivityModelName="casingThermalCond"/>

<PorousElasticIsotropic
name="cement"
solidModelName="cementSolid"
porosityModelName="cementPorosity"
permeabilityModelName="cementPerm"
solidInternalEnergyModelName="cementInternalEnergy"/>
solidInternalEnergyModelName="cementInternalEnergy"
singlePhaseThermalConductivityModelName="cementThermalCond"/>

<PorousElasticIsotropic
name="rock"
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="rockThermalCond"/>

<!-- SPHINX_PoroElasticProperties -->
<BiotPorosity
Expand Down Expand Up @@ -142,17 +145,23 @@
<!-- SPHINX_PermeabilityPropertiesEnd -->

<!-- SPHINX_ThermalProperties -->
<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="casingThermalCond"
thermalConductivityComponents="{ 15, 15, 15 }"/>
defaultThermalConductivityComponents="{ 15, 15, 15 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="cementThermalCond"
thermalConductivityComponents="{ 1.0, 1.0, 1.0 }"/>
defaultThermalConductivityComponents="{ 1.0, 1.0, 1.0 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>

<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="rockThermalCond"
thermalConductivityComponents="{ 1.66, 1.66, 1.66 }"/>
defaultThermalConductivityComponents="{ 1.66, 1.66, 1.66 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>
<!-- SPHINX_ThermalPropertiesEnd -->

<!-- SPHINX_FluidProperties -->
Expand Down
9 changes: 6 additions & 3 deletions inputFiles/wellbore/ThermoPoroElasticWellbore_base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"/>
solidInternalEnergyModelName="rockInternalEnergy"
singlePhaseThermalConductivityModelName="rockThermalCond"/>

<!-- SPHINX_PoroElasticProperties -->
<BiotPorosity
Expand All @@ -85,9 +86,11 @@
<!-- SPHINX_PermeabilityPropertiesEnd -->

<!-- SPHINX_ThermalProperties -->
<SinglePhaseConstantThermalConductivity
<SinglePhaseThermalConductivity
name="rockThermalCond"
thermalConductivityComponents="{ 6.6, 6.6, 6.6 }"/>
defaultThermalConductivityComponents="{ 6.6, 6.6, 6.6 }"
thermalConductivityGradientComponents="{ 0, 0, 0 }"
referenceTemperature="0"/>
<!-- SPHINX_ThermalPropertiesEnd -->

<!-- SPHINX_FluidProperties -->
Expand Down
4 changes: 2 additions & 2 deletions src/coreComponents/constitutive/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ set( constitutive_headers
thermalConductivity/MultiPhaseThermalConductivityFields.hpp
thermalConductivity/MultiPhaseThermalConductivitySelector.hpp
thermalConductivity/MultiPhaseVolumeWeightedThermalConductivity.hpp
thermalConductivity/SinglePhaseConstantThermalConductivity.hpp
thermalConductivity/SinglePhaseThermalConductivity.hpp
thermalConductivity/SinglePhaseThermalConductivityBase.hpp
thermalConductivity/SinglePhaseThermalConductivityFields.hpp
thermalConductivity/SinglePhaseThermalConductivitySelector.hpp
Expand Down Expand Up @@ -295,7 +295,7 @@ set( constitutive_sources
thermalConductivity/MultiPhaseConstantThermalConductivity.cpp
thermalConductivity/MultiPhaseThermalConductivityBase.cpp
thermalConductivity/MultiPhaseVolumeWeightedThermalConductivity.cpp
thermalConductivity/SinglePhaseConstantThermalConductivity.cpp
thermalConductivity/SinglePhaseThermalConductivity.cpp
thermalConductivity/SinglePhaseThermalConductivityBase.cpp
)

Expand Down
Loading
Loading