OGS  master
t1_1Dsource.prj
<OpenGeoSysProject>
  <mesh>t1_1Dsource.msh</mesh>
  <geometry>t1_1Dsource.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 />
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases />
      <properties>
        <property>
          <name>density</name>
          <type>Parameter</type>
          <parameter_name>rho</parameter_name>
        </property>
        <property>
          <name>heat_capacity</name>
          <type>Parameter</type>
          <parameter_name>c</parameter_name>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>Parameter</type>
          <parameter_name>lambda</parameter_name>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
      </properties>
    </medium>
    <medium id="1">
      <phases />
      <properties>
        <property>
          <name>density</name>
          <type>Parameter</type>
          <parameter_name>rho</parameter_name>
        </property>
        <property>
          <name>heat_capacity</name>
          <type>Parameter</type>
          <parameter_name>c</parameter_name>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>Parameter</type>
          <parameter_name>lambda</parameter_name>
        </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>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1.0e-9</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>t1_1Dsource</prefix>
      <data_mode>Ascii</data_mode>
      <compress_output>false</compress_output>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>lambda</name>
      <type>Group</type>
      <group_id_property>MaterialIDs</group_id_property>
      <index_values>
        <index>0</index>
        <value>100</value>
      </index_values>
      <index_values>
        <index>1</index>
        <value>300</value>
      </index_values>
    </parameter>
    <parameter>
      <name>c</name>
      <type>Group</type>
      <group_id_property>MaterialIDs</group_id_property>
      <index_values>
        <index>0</index>
        <value>0</value>
      </index_values>
      <index_values>
        <index>1</index>
        <value>0</value>
      </index_values>
    </parameter>
    <parameter>
      <name>rho</name>
      <type>Group</type>
      <group_id_property>MaterialIDs</group_id_property>
      <index_values>
        <index>0</index>
        <value>0</value>
      </index_values>
      <index_values>
        <index>1</index>
        <value>0</value>
      </index_values>
    </parameter>
    <parameter>
      <name>initial_temperature</name>
      <type>Constant</type>
      <value>1.5</value>
    </parameter>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>1.0</value>
    </parameter>
    <parameter>
      <name>h0</name>
      <type>Constant</type>
      <value>1.5</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>initial_temperature</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>geometry</geometrical_set>
          <geometry>SURFACE1</geometry>
          <type>Neumann</type>
          <parameter>h0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>geometry</geometrical_set>
          <geometry>SURFACE2</geometry>
          <type>Dirichlet</type>
          <parameter>T0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>10</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>general_linear_solver</name>
      <lis>-i cg -p jacobi -tol 1e-10 -maxiter 10000</lis>
      <eigen>
        <solver_type>CG</solver_type>
        <precon_type>DIAGONAL</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-10</error_tolerance>
      </eigen>
      <petsc>
        <prefix>T</prefix>
        <parameters>-T_ksp_type cg -T_pc_type bjacobi -T_ksp_rtol 1e-10 -T_ksp_max_it 10000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>