Skip to content
Open
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
@@ -0,0 +1,119 @@
<?xml version="1.0" ?>

<Problem>
<Included>
<File name="./ThermoMech_1DCooling_base.xml" />
</Included>

<Constitutive>
<PorousDruckerPrager
name="rock"
solidModelName="rockSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"
solidInternalEnergyModelName="rockInternalEnergy"
/>

<DruckerPrager
name="rockSolid"
defaultDensity="2700"
defaultBulkModulus="0.5e9"
defaultShearModulus="0.3e9"
defaultCohesion="5e3"
defaultFrictionAngle="15.27"
defaultDilationAngle="0.0"
defaultHardeningRate="0.0"
defaultDrainedLinearTEC="3e-7"/>

<BiotPorosity
name="rockPorosity"
defaultGrainBulkModulus="1.0e27"
defaultReferencePorosity="0.2"/>

<SolidInternalEnergy
name="rockInternalEnergy"
referenceVolumetricHeatCapacity="1.672e5"
referenceTemperature="0.0"
referenceInternalEnergy="0.0"/>

<ThermalCompressibleSinglePhaseFluid
name="water"
defaultDensity="1000"
defaultViscosity="1e-3"
referencePressure="0.0"
referenceTemperature="0.0"
compressibility="0.0"
thermalExpansionCoeff="0.0"
viscosibility="0.0"
specificHeatCapacity="1.672e2"
referenceInternalEnergy="0.001"/>

<ConstantPermeability
name="rockPerm"
permeabilityComponents="{ 1.0e-100, 1.0e-100, 1.0e-100 }"/>

<SinglePhaseThermalConductivity
name="thermalCond"
defaultThermalConductivityComponents="{ 836, 836, 836 }"/>
</Constitutive>

<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 7 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 14 }"
nz="{ 1 }"
cellBlockNames="{ cb1 }"/>
</Mesh>

<Events
maxTime="100.0">

<PeriodicEvent
name="outputs0"
cycleFrequency="1"
target="/Outputs/thermoPoroVTKOutput"/>

<PeriodicEvent
name="stressHistoryCollection"
cycleFrequency="1"
target="/Tasks/stressCollection"/>
<PeriodicEvent
name="stressTimeHistoryOutput"
cycleFrequency="1"
target="/Outputs/stressHistoryOutput"/>

<PeriodicEvent
name="displacementHistoryCollection"
cycleFrequency="1"
target="/Tasks/displacementCollection"/>
<PeriodicEvent
name="displacementTimeHistoryOutput"
cycleFrequency="1"
target="/Outputs/displacementHistoryOutput"/>

<PeriodicEvent
name="solverApplication0"
endTime="1e-10"
forceDt="1e-10"
target="/Solvers/thermoPoroSolver"/>

<PeriodicEvent
name="solverApplication1"
beginTime="1e-10"
endTime="100.0"
forceDt="1.0"
target="/Solvers/thermoPoroSolver"/>

<PeriodicEvent
name="restarts"
beginTime="0"
timeFrequency="50.0"
target="/Outputs/restartOutput"/>
</Events>

</Problem>
115 changes: 115 additions & 0 deletions inputFiles/thermoPoromechanics/ThermoElastic_1DCooling_smoke.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" ?>

<Problem>
<Included>
<File name="./ThermoMech_1DCooling_base.xml" />
</Included>

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

<ElasticIsotropic
name="rockSolid"
defaultDensity="2700"
defaultBulkModulus="0.5e9"
defaultShearModulus="0.3e9"
defaultDrainedLinearTEC="3e-7"/>

<BiotPorosity
name="rockPorosity"
defaultGrainBulkModulus="1.0e27"
defaultReferencePorosity="0.2"/>

<SolidInternalEnergy
name="rockInternalEnergy"
referenceVolumetricHeatCapacity="1.672e5"
referenceTemperature="0.0"
referenceInternalEnergy="0.0"/>

<ThermalCompressibleSinglePhaseFluid
name="water"
defaultDensity="1000"
defaultViscosity="1e-3"
referencePressure="0.0"
referenceTemperature="0.0"
compressibility="0.0"
thermalExpansionCoeff="0.0"
viscosibility="0.0"
specificHeatCapacity="1.672e2"
referenceInternalEnergy="0.001"/>

<ConstantPermeability
name="rockPerm"
permeabilityComponents="{ 1.0e-100, 1.0e-100, 1.0e-100 }"/>

<SinglePhaseThermalConductivity
name="thermalCond"
defaultThermalConductivityComponents="{ 836, 836, 836 }"/>
</Constitutive>

<Mesh>
<InternalMesh
name="mesh1"
elementTypes="{ C3D8 }"
xCoords="{ 0, 1 }"
yCoords="{ 0, 7 }"
zCoords="{ 0, 1 }"
nx="{ 1 }"
ny="{ 14 }"
nz="{ 1 }"
cellBlockNames="{ cb1 }"/>
</Mesh>

<Events
maxTime="100.0">

<PeriodicEvent
name="outputs0"
cycleFrequency="1"
target="/Outputs/thermoPoroVTKOutput"/>

<PeriodicEvent
name="stressHistoryCollection"
cycleFrequency="1"
target="/Tasks/stressCollection"/>
<PeriodicEvent
name="stressTimeHistoryOutput"
cycleFrequency="1"
target="/Outputs/stressHistoryOutput"/>

<PeriodicEvent
name="displacementHistoryCollection"
cycleFrequency="1"
target="/Tasks/displacementCollection"/>
<PeriodicEvent
name="displacementTimeHistoryOutput"
cycleFrequency="1"
target="/Outputs/displacementHistoryOutput"/>

<PeriodicEvent
name="solverApplication0"
endTime="1e-10"
forceDt="1e-10"
target="/Solvers/thermoPoroSolver"/>

<PeriodicEvent
name="solverApplication1"
beginTime="1e-10"
endTime="100.0"
forceDt="1.0"
target="/Solvers/thermoPoroSolver"/>

<PeriodicEvent
name="restarts"
beginTime="0"
timeFrequency="50.0"
target="/Outputs/restartOutput"/>
</Events>

</Problem>
155 changes: 155 additions & 0 deletions inputFiles/thermoPoromechanics/ThermoMech_1DCooling_base.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<?xml version="1.0" ?>

<Problem>
<Solvers
gravityVector="{ 0.0, 0.0, 0.0 }">

<SinglePhasePoromechanics
name="thermoPoroSolver"
solidSolverName="solidMechSolver"
flowSolverName="flowSolver"
isThermal="1"
logLevel="1"
targetRegions="{ Domain }">
<NonlinearSolverParameters
couplingType="FullyImplicit"
newtonMaxIter="200"/>
<LinearSolverParameters
directParallel="0"/>
</SinglePhasePoromechanics>

<SolidMechanicsLagrangianFEM
name="solidMechSolver"
logLevel="1"
discretization="FE1"
targetRegions="{ Domain }"/>

<SinglePhaseFVM
name="flowSolver"
logLevel="1"
discretization="tpfaFlow"
temperature="273.0"
isThermal="1"
targetRegions="{ Domain }">
<NonlinearSolverParameters
newtonMaxIter="100"
newtonMinIter="0"
newtonTol="1.0e-6"/>
<LinearSolverParameters
directParallel="0"/>
</SinglePhaseFVM>
</Solvers>

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

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

<ElementRegions>
<CellElementRegion
name="Domain"
cellBlocks="{ cb1 }"
materialList="{ rock, water, thermalCond }"/>
</ElementRegions>

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

<FieldSpecification
name="fixPressure"
setNames="{ all }"
objectPath="ElementRegions/Domain/cb1"
fieldName="pressure"
scale="0.0"/>

<FieldSpecification
name="initialTemperature"
initialCondition="1"
setNames="{ all }"
objectPath="ElementRegions/Domain/cb1"
fieldName="temperature"
scale="100.0"/>

<FieldSpecification
name="fixTemperature"
setNames="{ all }"
objectPath="ElementRegions/Domain/cb1"
fieldName="temperature"
functionName="timeFunction"
scale="1.0"/>

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

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

<FieldSpecification
name="zconstraint"
fieldName="totalDisplacement"
component="2"
objectPath="nodeManager"
setNames="{ zneg }"/>
</FieldSpecifications>

<Functions>
<TableFunction
name="timeFunction"
inputVarNames="{ time }"
coordinates="{ 0, 1e-10, 100.0 }"
values="{ 100.0, 100.0, 20.0 }"/>
</Functions>

<Tasks>

<PackCollection
name="stressCollection"
objectPath="ElementRegions/Domain/cb1"
fieldName="rockSolid_stress"/>
<PackCollection
name="displacementCollection"
objectPath="nodeManager"
fieldName="totalDisplacement"/>

</Tasks>

<Outputs>
<VTK
name="thermoPoroVTKOutput"
plotFileRoot="thermoPoro_1DCool_fim"/>

<TimeHistory
name="stressHistoryOutput"
sources="{ /Tasks/stressCollection }"
filename="stressHistory"/>
<TimeHistory
name="displacementHistoryOutput"
sources="{ /Tasks/displacementCollection }"
filename="displacementHistory"/>

<Restart
name="restartOutput"/>
</Outputs>
</Problem>
Loading
Loading