OGS
Ra_795_fault_bcgs_jacobi.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>Ra_795_fault_with_ic_on_fault.vtu</mesh>
    <mesh>Ra_795_fault_Top.vtu</mesh>
    <mesh>Ra_795_fault_Bottom.vtu</mesh>
    <mesh>Ra_795_fault_POINT0.vtu</mesh>
    <mesh>Ra_795_fault_POINT1.vtu</mesh>
    <mesh>Ra_795_fault_POINT2.vtu</mesh>
    <mesh>Ra_795_fault_POINT3.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>ThermalConvection</name>
      <type>HT</type>
      <integration_order>2</integration_order>
      <process_variables>
        <temperature>T</temperature>
        <pressure>p</pressure>
      </process_variables>
      <specific_body_force>0 0 -9.81</specific_body_force>
      <secondary_variables>
        <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4200</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.65</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1.0e+3</reference_value>
              <independent_variable>
                <variable_name>temperature</variable_name>
                <slope>-4.3e-4</slope>
                <reference_condition>20</reference_condition>
              </independent_variable>
            </property>
            <property>
              <name>viscosity</name>
              <type>Exponential</type>
              <offset>0</offset>
              <reference_value>1.0e-3</reference_value>
              <exponent>
                <variable_name>temperature</variable_name>
                <reference_condition>20</reference_condition>
                <factor>-0.01333333</factor>
              </exponent>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>storage</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>3.0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>thermal_longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>thermal_transversal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-18 0 0 0 1.e-18 0 0 0 1.e-18</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.001</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
    <medium id="1">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4200</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.65</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1.0e+3</reference_value>
              <independent_variable>
                <variable_name>temperature</variable_name>
                <slope>-4.3e-4</slope>
                <reference_condition>20</reference_condition>
              </independent_variable>
            </property>
            <property>
              <name>viscosity</name>
              <type>Exponential</type>
              <offset>0</offset>
              <reference_value>1.0e-3</reference_value>
              <exponent>
                <variable_name>temperature</variable_name>
                <reference_condition>20</reference_condition>
                <factor>-0.01333333</factor>
              </exponent>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>storage</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>3.0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>thermal_longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>thermal_transversal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.7e-13 0 0 0 1.7e-13 0 0 0 1.7e-13</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.001</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="ThermalConvection">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltols>0.001 0.001</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1e-7</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-7</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-5</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-3</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-1</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>10</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>46</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>146</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>400</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>949</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>2042</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>4155</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>8260</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>16260</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>31580</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>60480</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>113000</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>205729</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>370055</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>2667606</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1.2163e6</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>2.25414e6</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>4.28467e6</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>8.41279e6</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1.71663e7</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>3.65967e7</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>8.18938e7</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1.93249e8</delta_t>
            </pair>
            <pair>
              <repeat>1000</repeat>
              <delta_t>3e8</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>ThermalConvection</prefix>
      <timesteps>
        <pair>
          <repeat>21</repeat>
          <each_steps>1</each_steps>
        </pair>
        <pair>
          <repeat>1000</repeat>
          <each_steps>50</each_steps>
        </pair>
      </timesteps>
      <output_iteration_results>false</output_iteration_results>
      <variables>
        <variable>T</variable>
        <variable>p</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>rho_fluid</name>
      <type>Constant</type>
      <value>1000</value>
    </parameter>
    <parameter>
      <name>c_fluid</name>
      <type>Constant</type>
      <value>4200</value>
    </parameter>
    <parameter>
      <name>T0</name>
      <type>MeshNode</type>
      <field_name>initial_temperature</field_name>
    </parameter>
    <parameter>
      <name>P0</name>
      <type>MeshNode</type>
      <field_name>initial_pressure</field_name>
    </parameter>
    <parameter>
      <name>p_Dirichlet_POINT0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_POINT1</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_POINT2</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_POINT3</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>t_Dirichlet_bottom</name>
      <type>Constant</type>
      <value>170</value>
    </parameter>
    <parameter>
      <name>t_Dirichlet_top</name>
      <type>Constant</type>
      <value>20</value>
    </parameter>
    <parameter>
      <name>kappa1</name>
      <type>Constant</type>
      <values>1.0e-18 0 0 0 1.0e-18 0 0 0 1.0e-18</values>
    </parameter>
    <parameter>
      <name>kappa2</name>
      <type>Constant</type>
      <values>1.7e-13 0 0 0 1.7e-13 0 0 0 1.7e-13</values>
    </parameter>
    <parameter>
      <name>constant_porosity_parameter</name>
      <type>Constant</type>
      <value>0.001</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>T</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>Ra_795_fault_Top</mesh>
          <type>Dirichlet</type>
          <parameter>t_Dirichlet_top</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>Ra_795_fault_Bottom</mesh>
          <type>Dirichlet</type>
          <parameter>t_Dirichlet_bottom</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>p</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>P0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>Ra_795_fault_POINT0</mesh>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_POINT0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>Ra_795_fault_POINT1</mesh>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_POINT1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>Ra_795_fault_POINT2</mesh>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_POINT2</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>Ra_795_fault_POINT3</mesh>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_POINT3</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>100</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>general_linear_solver</name>
      <petsc>
        <prefix />
        <parameters>-ksp_type bcgs -pc_type jacobi -ksp_norm_type unpreconditioned -ksp_rtol 1e-10 -ksp_atol 1e-10 -ksp_max_iter 30000 -ksp_monitor</parameters>
      </petsc>
      <lis>-i bicgstab -p jacobi -tol 1e-10 -maxiter 30000</lis>
      <eigen>
        <solver_type>BiCGSTAB</solver_type>
        <precon_type>DIAGONAL</precon_type>
        <max_iteration_step>30000</max_iteration_step>
        <error_tolerance>1e-10</error_tolerance>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>