OGS
beam3d.prj
<OpenGeoSysProject>
  <mesh>beam3d.vtu</mesh>
  <geometry>beam3d.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>20</reference_temperature>
      <process_variables>
        <temperature>temperature</temperature>
        <displacement>displacement</displacement>
        <phasefield>phasefield</phasefield>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="heat_flux" output_name="heat_flux" />
      </secondary_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-12</abstol>
          <reltol>1.e-14</reltol>
        </convergence_criterion>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1.e-10</abstol>
          <reltol>1.e-10</reltol>
        </convergence_criterion>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1.e-12</abstol>
          <reltol>1.e-14</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-4</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>10</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>10</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-4</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>10</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>10</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-6</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>10</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>10</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>beam3d</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>heat_flux</variable>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>phasefield</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>MeshElement</type>
      <field_name>youngs_modulus</field_name>
    </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>0.002</value>
    </parameter>
    <parameter>
      <name>M</name>
      <type>Constant</type>
      <value>1e6</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>500</value>
    </parameter>
    <parameter>
      <name>rho_sr</name>
      <type>Constant</type>
      <value>1.2e-6</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</coords>
      <values>20 0</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>beam3d_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <parameter>temperature_bc</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>right</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>beam3d_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>back</geometry>
          <type>Dirichlet</type>
          <component>2</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>front</geometry>
          <type>Dirichlet</type>
          <component>2</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>beam3d_geometry</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <component>0</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>beam3d_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>