OGS
|
<OpenGeoSysProject>
<mesh>wedge-1e2-ang-0.02.vtu</mesh>
<geometry>wedge-ang-0.02.gml</geometry>
<processes>
<process>
<name>SteadyStateDiffusion</name>
<type>STEADY_STATE_DIFFUSION</type>
<integration_order>2</integration_order>
<process_variables>
<process_variable>temperature</process_variable>
</process_variables>
<secondary_variables>
<secondary_variable internal_name="darcy_velocity" output_name="v" />
</secondary_variables>
</process>
</processes>
<media>
<medium id="0">
<phases />
<properties>
<property>
<name>diffusion</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>reference_temperature</name>
<type>Constant</type>
<value>293.15</value>
</property>
</properties>
</medium>
</media>
<time_loop>
<processes>
<process ref="SteadyStateDiffusion">
<nonlinear_solver>basic_picard</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1.e-6</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>SingleStep</type>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>wedge_1e2_ang_0.02</prefix>
<variables>
<variable>temperature</variable>
<variable>v</variable>
</variables>
<suffix>ts{:timestep}_t_{:time}</suffix>
</output>
</time_loop>
<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-16 -maxiter 10000</lis>
<eigen>
<solver_type>CG</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>10000</max_iteration_step>
<error_tolerance>1e-16</error_tolerance>
</eigen>
<petsc>
<prefix>gw</prefix>
<parameters>-gw_ksp_type cg -gw_pc_type bjacobi -gw_ksp_rtol 1e-16 -gw_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<parameters>
<parameter>
<name>solution</name>
<type>Function</type>
<expression>sin(2*pi*z) * (x^2 + y^2)</expression>
</parameter>
<parameter>
<name>dsolution_dy</name>
<type>Function</type>
<expression>-2*pi * cos(2*pi*z) * (x^2 + y^2)</expression>
</parameter>
<parameter>
<name>heat_transfer_coefficient</name>
<type>Constant</type>
<value>1</value>
</parameter>
<parameter>
<name>ambient_temperature</name>
<type>Function</type>
<expression>3 * sin(2*pi*z)</expression>
</parameter>
<parameter>
<name>source_term</name>
<type>Function</type>
<expression>4 * sin(2*pi*z) * (pi^2 * (x^2 + y^2) - 1)</expression>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>temperature</name>
<components>1</components>
<order>1</order>
<initial_condition>solution</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>geometry</geometrical_set>
<geometry>bottom</geometry>
<type>Neumann</type>
<parameter>dsolution_dy</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>geometry</geometrical_set>
<geometry>top</geometry>
<type>Dirichlet</type>
<parameter>ambient_temperature</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>geometry</geometrical_set>
<geometry>outer</geometry>
<type>Robin</type>
<alpha>heat_transfer_coefficient</alpha>
<u_0>ambient_temperature</u_0>
</boundary_condition>
</boundary_conditions>
<source_terms>
<source_term>
<mesh>wedge-1e2-ang-0.02</mesh>
<type>Volumetric</type>
<parameter>source_term</parameter>
</source_term>
</source_terms>
</process_variable>
</process_variables>
</OpenGeoSysProject>