OGS
arehs-salt-THM01_0.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>arehs-salt-M_ts_1_t_1.000000.vtu</mesh>
    <mesh>geometry_left_top_corner.vtu</mesh>
    <mesh>geometry_right_top_corner.vtu</mesh>
    <mesh>geometry_left.vtu</mesh>
    <mesh>geometry_right.vtu</mesh>
    <mesh>geometry_top.vtu</mesh>
    <mesh>geometry_bottom.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>THM</name>
      <type>THERMO_HYDRO_MECHANICS</type>
      <dimension>2</dimension>
      <integration_order>4</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E_Deckgebirge</youngs_modulus>
        <poissons_ratio>nu_Deckgebirge</poissons_ratio>
      </constitutive_relation>
      <constitutive_relation id="1">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E_Nebengebirge</youngs_modulus>
        <poissons_ratio>nu_Nebengebirge</poissons_ratio>
      </constitutive_relation>
      <constitutive_relation id="2">
        <type>CreepBGRa</type>
        <youngs_modulus>E_Salzgestein</youngs_modulus>
        <poissons_ratio>nu_Salzgestein</poissons_ratio>
        <a>A</a>
        <n>n</n>
        <sigma0>sigma_f</sigma0>
        <q>Q</q>
        <nonlinear_solver>
          <maximum_iterations>4000</maximum_iterations>
          <residuum_tolerance>3.0e-5</residuum_tolerance>
          <increment_tolerance>5.0e-5</increment_tolerance>
        </nonlinear_solver>
      </constitutive_relation>
      <constitutive_relation id="3">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E_Grundgebirge</youngs_modulus>
        <poissons_ratio>nu_Grundgebirge</poissons_ratio>
      </constitutive_relation>
      <process_variables>
        <displacement>displacement</displacement>
        <pressure>pressure</pressure>
        <temperature>temperature</temperature>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
      </secondary_variables>
      <specific_body_force>0.0 -9.81</specific_body_force>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4280.0</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1000.0</reference_value>
              <independent_variable>
                <variable_name>phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.6511627906976743356e-10</slope>
              </independent_variable>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Parameter</type>
              <parameter_name>lambda_rock</parameter_name>
            </property>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>rho_rock</parameter_name>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Parameter</type>
              <parameter_name>c_rock</parameter_name>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>2e-6</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-11</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
    <medium id="1">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4280.0</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1000.0</reference_value>
              <independent_variable>
                <variable_name>phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.6511627906976743356e-10</slope>
              </independent_variable>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Parameter</type>
              <parameter_name>lambda_rock</parameter_name>
            </property>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>rho_rock</parameter_name>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Parameter</type>
              <parameter_name>c_rock</parameter_name>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>2e-6</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-14</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.01</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
    <medium id="2">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4280.0</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1000.0</reference_value>
              <independent_variable>
                <variable_name>phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.6511627906976743356e-10</slope>
              </independent_variable>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Parameter</type>
              <parameter_name>lambda_salt</parameter_name>
            </property>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>rho_salt</parameter_name>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Parameter</type>
              <parameter_name>lambda_salt</parameter_name>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Parameter</type>
              <parameter_name>c_salt</parameter_name>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>4e-5</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-21</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>1.0e-6</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
    <medium id="3">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4280.0</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1000.0</reference_value>
              <independent_variable>
                <variable_name>phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.6511627906976743356e-10</slope>
              </independent_variable>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Parameter</type>
              <parameter_name>lambda_rock</parameter_name>
            </property>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>rho_rock</parameter_name>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Parameter</type>
              <parameter_name>c_rock</parameter_name>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>2e-5</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-17</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.01</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="THM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltols>1e-7 1e-5 1.e-5 1.e-6</reltols>
          <abstols>1e-10 1e-10 1.e-10 1.e-10</abstols>
        </convergence_criterion>
        <compensate_non_equilibrium_initial_residuum>false</compensate_non_equilibrium_initial_residuum>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>15.768e+10</t_end>
          <timesteps>
            <pair>
              <repeat>5</repeat>
              <delta_t>3.1536e10</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>arehs-salt-THM0</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>5</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>temperature</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>lambda_salt</name>
      <type>Constant</type>
      <value>5.8</value>
    </parameter>
    <parameter>
      <name>c_salt</name>
      <type>Constant</type>
      <value>860</value>
    </parameter>
    <parameter>
      <name>rho_salt</name>
      <type>Constant</type>
      <value>2170</value>
    </parameter>
    <parameter>
      <name>lambda_rock</name>
      <type>Constant</type>
      <value>2.0</value>
    </parameter>
    <parameter>
      <name>c_rock</name>
      <type>Constant</type>
      <value>1000</value>
    </parameter>
    <parameter>
      <name>rho_rock</name>
      <type>Constant</type>
      <value>2500</value>
    </parameter>
    <parameter>
      <name>E_Deckgebirge</name>
      <type>Constant</type>
      <value>7.7e9</value>
    </parameter>
    <parameter>
      <name>E_Nebengebirge</name>
      <type>Constant</type>
      <value>15.6e9</value>
    </parameter>
    <parameter>
      <name>E_Salzgestein</name>
      <type>Constant</type>
      <value>25e9</value>
    </parameter>
    <parameter>
      <name>E_Grundgebirge</name>
      <type>Constant</type>
      <value>15.6e9</value>
    </parameter>
    <parameter>
      <name>nu_Deckgebirge</name>
      <type>Constant</type>
      <value>0.28</value>
    </parameter>
    <parameter>
      <name>nu_Nebengebirge</name>
      <type>Constant</type>
      <value>0.3</value>
    </parameter>
    <parameter>
      <name>nu_Salzgestein</name>
      <type>Constant</type>
      <value>0.25</value>
    </parameter>
    <parameter>
      <name>nu_Grundgebirge</name>
      <type>Constant</type>
      <value>0.3</value>
    </parameter>
    <parameter>
      <name>A</name>
      <type>Constant</type>
      <value>3.3333333333333335e-05</value>
    </parameter>
    <parameter>
      <name>n</name>
      <type>Constant</type>
      <value>5.0</value>
    </parameter>
    <parameter>
      <name>sigma_f</name>
      <type>Constant</type>
      <value>1e6</value>
    </parameter>
    <parameter>
      <name>Q</name>
      <type>Constant</type>
      <value>54000</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>initial_temperature_lin</name>
      <type>Function</type>
      <expression>281.65 - y*(368.15 - 281.65)/3e3</expression>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Function</type>
      <expression>-9810*y</expression>
    </parameter>
    <parameter>
      <name>p_bc_left</name>
      <type>Constant</type>
      <values>0.0</values>
    </parameter>
    <parameter>
      <name>p_recharge</name>
      <type>Constant</type>
      <value>1.5854895991882295e-09</value>
    </parameter>
    <parameter>
      <name>p_bc_right</name>
      <type>Constant</type>
      <values>1.0e+6</values>
    </parameter>
    <parameter>
      <name>temp_top</name>
      <type>Constant</type>
      <value>281.65</value>
    </parameter>
    <parameter>
      <name>GeothermHeatFlux</name>
      <type>Constant</type>
      <values>50e-3</values>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>geometry_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_right</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>p0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>geometry_top</mesh>
          <type>Neumann</type>
          <parameter>p_recharge</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_left_top_corner</mesh>
          <type>Dirichlet</type>
          <parameter>p_bc_left</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_right_top_corner</mesh>
          <type>Dirichlet</type>
          <parameter>p_bc_right</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>initial_temperature_lin</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>geometry_top</mesh>
          <type>Dirichlet</type>
          <parameter>temp_top</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_bottom</mesh>
          <type>Neumann</type>
          <parameter>GeothermHeatFlux</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>50</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>general_linear_solver</name>
      <lis>-i bicgstab -p jacobi -tol 1e-11 -maxiter 10000</lis>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>