OGS  master
cube_1e0.prj
<OpenGeoSysProject>
  <mesh>cube_1x1x1_hex_1e0.vtu</mesh>
  <geometry>cube_1x1x1.gml</geometry>
  <processes>
    <process>
      <name>ThermoMechanicalPhaseField</name>
      <type>THERMO_MECHANICAL_PHASE_FIELD</type>
      <integration_order>3</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <phasefield_parameters>
        <residual_stiffness>k</residual_stiffness>
        <crack_resistance>gc</crack_resistance>
        <crack_length_scale>ls</crack_length_scale>
        <kinetic_coefficient>M</kinetic_coefficient>
      </phasefield_parameters>
      <solid_density>rho_sr</solid_density>
      <thermal_parameters>
        <linear_thermal_expansion_coefficient>alpha</linear_thermal_expansion_coefficient>
        <specific_heat_capacity>cs</specific_heat_capacity>
        <thermal_conductivity>lambda</thermal_conductivity>
        <residual_thermal_conductivity>lambda_res</residual_thermal_conductivity>
      </thermal_parameters>
      <reference_temperature>0</reference_temperature>
      <process_variables>
        <temperature>temperature</temperature>
        <displacement>displacement</displacement>
        <phasefield>phasefield</phasefield>
      </process_variables>
      <specific_body_force>0 0 0</specific_body_force>
    </process>
  </processes>
  <time_loop>
    <global_process_coupling>
      <max_iter>100</max_iter>
      <convergence_criteria>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1.e-8</abstol>
          <reltol>1.e-10</reltol>
        </convergence_criterion>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1.e-8</abstol>
          <reltol>1.e-10</reltol>
        </convergence_criterion>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1.e-8</abstol>
          <reltol>1.e-12</reltol>
        </convergence_criterion>
      </convergence_criteria>
    </global_process_coupling>
    <processes>
      <process ref="ThermoMechanicalPhaseField">
        <nonlinear_solver>basic_newton_T</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1.e-12</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>100</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>100</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
      <process ref="ThermoMechanicalPhaseField">
        <nonlinear_solver>basic_newton_u</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstol>1.e-10</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>100</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>100</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
      <process ref="ThermoMechanicalPhaseField">
        <nonlinear_solver>basic_newton_d</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1.e-14</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>100</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>100</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>cube_1e0_tm</prefix>
      <suffix>ts{:timestep}_t_{:time}</suffix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
        <variable>displacement</variable>
        <variable>phasefield</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>2.1e5</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.3</value>
    </parameter>
    <parameter>
      <name>k</name>
      <type>Constant</type>
      <value>1e-3</value>
    </parameter>
    <parameter>
      <name>gc</name>
      <type>Constant</type>
      <value>2.7</value>
    </parameter>
    <parameter>
      <name>ls</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>M</name>
      <type>Constant</type>
      <value>1e6</value>
    </parameter>
    <parameter>
      <name>rho_sr</name>
      <type>Constant</type>
      <value>1.2e-6</value>
    </parameter>
    <parameter>
      <name>alpha</name>
      <type>Constant</type>
      <value>1e-3</value>
    </parameter>
    <parameter>
      <name>cs</name>
      <type>Constant</type>
      <value>2000</value>
    </parameter>
    <parameter>
      <name>lambda</name>
      <type>Constant</type>
      <value>1e-1</value>
    </parameter>
    <parameter>
      <name>lambda_res</name>
      <type>Constant</type>
      <value>1e-1</value>
    </parameter>
    <parameter>
      <name>temperature_ic</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0 0</values>
    </parameter>
    <parameter>
      <name>phasefield_ic</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>Dirichlet_spatial</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>temperature_bc</name>
      <type>CurveScaled</type>
      <curve>Dirichlet_temporal</curve>
      <parameter>Dirichlet_spatial</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>Dirichlet_temporal</name>
      <coords>0 10 100</coords>
      <values>0 100 100</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature_ic</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <parameter>temperature_bc</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>3</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>back</geometry>
          <type>Dirichlet</type>
          <component>2</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>phasefield</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>phasefield_ic</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>cube_1x1x1_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>PhaseFieldIrreversibleDamageOracleBoundaryCondition</type>
          <component>0</component>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton_T</name>
      <type>Newton</type>
      <max_iter>500</max_iter>
      <linear_solver>linear_solver_T</linear_solver>
    </nonlinear_solver>
    <nonlinear_solver>
      <name>basic_newton_u</name>
      <type>Newton</type>
      <max_iter>500</max_iter>
      <linear_solver>linear_solver_u</linear_solver>
    </nonlinear_solver>
    <nonlinear_solver>
      <name>basic_newton_d</name>
      <type>Newton</type>
      <max_iter>500</max_iter>
      <linear_solver>linear_solver_d</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>linear_solver_T</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
      </eigen>
    </linear_solver>
    <linear_solver>
      <name>linear_solver_u</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
      </eigen>
    </linear_solver>
    <linear_solver>
      <name>linear_solver_d</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>