Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
241 lines (241 sloc) 8.49 KB
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
<mesh>beam3d.vtu</mesh>
<geometry>beam3d.gml</geometry>
<processes>
<process>
<name>PhaseField</name>
<type>PHASE_FIELD</type>
<integration_order>2</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>
<history_field>H</history_field>
</phasefield_parameters>
<solid_density>rho_sr</solid_density>
<process_variables>
<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_variables>
<specific_body_force>0 0 0</specific_body_force>
</process>
</processes>
<time_loop>
<processes>
<process ref="PhaseField">
<nonlinear_solver>basic_newton</nonlinear_solver>
<convergence_criterion>
<type>PerComponentResidual</type>
<norm_type>NORM2</norm_type>
<abstols>1.e-2 1.e-3 1.e-3 1.e-3</abstols>
</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>10000</repeat>
<delta_t>1e-3</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>beam3d</prefix>
<timesteps>
<pair>
<repeat>100</repeat>
<each_steps>100</each_steps>
</pair>
</timesteps>
<variables>
<variable>displacement</variable>
<variable>phasefield</variable>
<variable>sigma</variable>
<variable>epsilon</variable>
</variables>
</output>
</time_loop>
<parameters>
<!-- Mechanics -->
<parameter>
<name>E</name>
<type>MeshElement</type>
<field_name>youngs_modulus</field_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>0.02</value>
</parameter>
<parameter>
<name>M</name>
<type>Constant</type>
<value>1e6</value>
</parameter>
<parameter>
<name>H</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>rho_sr</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>dirichlet1</name>
<type>CurveScaled</type>
<curve>Dirichlet_temporal</curve>
<parameter>Dirichlet_spatial</parameter>
</parameter>
<parameter>
<name>dirichlet2</name>
<type>CurveScaled</type>
<curve>Dirichlet_temporal_left</curve>
<parameter>Dirichlet_spatial</parameter>
</parameter>
</parameters>
<curves>
<curve>
<name>Dirichlet_temporal</name>
<coords>0 10</coords>
<values>0 0.0098</values>
</curve>
<curve>
<name>Dirichlet_temporal_left</name>
<coords>0 10</coords>
<values>0 -0.0098</values>
</curve>
</curves>
<process_variables>
<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>dirichlet2</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>beam3d_geometry</geometrical_set>
<geometry>right</geometry>
<type>Dirichlet</type>
<component>0</component>
<parameter>dirichlet1</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_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_newton</name>
<type>Newton</type>
<max_iter>50</max_iter>
<linear_solver>general_linear_solver</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
<linear_solvers>
<linear_solver>
<name>general_linear_solver</name>
<eigen>
<solver_type>SparseLU</solver_type>
</eigen>
</linear_solver>
</linear_solvers>
</OpenGeoSysProject>
You can’t perform that action at this time.