OGS
petsc_newtonls.prj
<OpenGeoSysProject>
  <mesh>mesh.vtu</mesh>
  <geometry>line_60_geometry.gml</geometry>
  <processes>
    <process>
      <name>HeatConduction</name>
      <type>HEAT_CONDUCTION</type>
      <integration_order>2</integration_order>
      <process_variables>
        <process_variable>temperature</process_variable>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="heat_flux_x" output_name="heat_flux_x" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases />
      <properties>
        <property>
          <name>density</name>
          <type>Constant</type>
          <value>2500</value>
        </property>
        <property>
          <name>heat_capacity</name>
          <type>Constant</type>
          <value>1000</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>Constant</type>
          <value>3.2</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="HeatConduction">
        <nonlinear_solver>nonlinear_solver</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstol>1e-16</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>39062500</t_end>
          <timesteps>
            <pair>
              <repeat>500</repeat>
              <delta_t>78125</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>petsc_newtonls</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>2</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>62</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>340</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
        <variable>heat_flux_x</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>273.15</value>
    </parameter>
    <parameter>
      <name>T_neumann</name>
      <type>Constant</type>
      <value>2</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>line_60_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Neumann</type>
          <parameter>T_neumann</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>nonlinear_solver</name>
      <type>PetscSNES</type>
      <max_iter>10</max_iter>
      <linear_solver>linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>linear_solver</name>
      <petsc>
        <parameters>-snes_type newtonls -snes_monitor -snes_atol 1e-16 -snes_rtol 1e-16 -ksp_type cg -pc_type bjacobi</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>