What’s New in GetFEM 6.0¶
Not yet released.
The main changes are:
The low-level generic assembly (
getfem::generic_assembly, filesgetfem_assembling_tensors.h,bgeot_sparse_tensors.h,getfem_mat_elem.handgetfem_mat_elem_type.h), deprecated for several years, has been removed. All assembly is now performed with the generic weak form language (GWFL). In particular, thegetfem::nonlinear_elem_termobjects no longer exist. The filegetfem_assembling.hno longer includesgetfem_assembling_tensors.h: a program which usedgetfem::generic_assemblyhas to be rewritten withgetfem::ga_workspace(see Compute arbitrary terms - high-level generic assembly procedures - Generic Weak-Form Language (GWFL)).The exact integration methods (
IM_EXACT_SIMPLEX,IM_EXACT_PARALLELEPIPED,IM_EXACT_PRISMandIM_PRODUCTof exact methods), which were only usable with the low-level generic assembly, have been removed, together with the corresponding functions (classical_exact_im,exact_simplex_im, …) and thepoly_integrationclass. In the interface,Integ.is_exactnow always returns 0.The contact bricks between non-matching meshes (
add_integral_contact_between_nonmatching_meshes_brickandadd_penalized_contact_between_nonmatching_meshes_brick) are now written with GWFL. A bug in the tangent matrix of the frictional versions (coupling terms between the two bodies counted twice, or cancelling each other for the option 2 of the integral brick) has been fixed.
add_nonlinear_elasticity_brickis now based on GWFL (the hyperelastic law object is wrapped into a GWFL operator). It is restricted to a displacement having the dimension of the mesh.add_nonlinear_incompressibility_brickis now identical toadd_finite_strain_incompressibility_brick.The old elastoplasticity brick for isotropic perfect plasticity (
add_elastoplasticity_brick,elastoplasticity_next_iter,compute_elastoplasticity_Von_Mises_or_Tresca,compute_plastic_partand theVM_projectionobject) has been removed. Useadd_small_strain_elastoplasticity_brickwith the"Prandtl Reuss"law instead (note that the threshold of the old brick was on the norm of the deviatoric stress, i.e. \(\sigma_y\sqrt{2/3}\) in the Prandtl Reuss law).The contrib programs
delaminated_crackandmixed_elastostatic, based on the old model bricks, have been removed.The level-set based large sliding contact of
getfem_level_set_contact.hhas been removed (use the large sliding contact bricks instead).Interface (Python, Octave/Matlab, Scilab): the low-level assembly commands
asm('volumic', ...)andasm('boundary', ...), the commandasm('nonlinear elasticity', ...)and theEltmobject (withMeshIm.eltm) have been removed. Useasm('generic', ...)instead. The model commands'add elastoplasticity brick','elastoplasticity next iter','compute plastic part'and'compute elastoplasticity Von Mises or Tresca'have been removed (see above).The time dispatchers (
add_theta_method_dispatcher,add_midpoint_dispatcher,model::add_time_dispatcher,model::first_iter,model::next_iter), the bricksadd_basic_d_on_dt_brickandadd_basic_d2_on_dt2_brickand the functionsvelocity_update_for_order_two_theta_methodandvelocity_update_for_Newmark_schemehave been removed. Use the time integration schemes of the model instead (add_theta_method_for_first_order,add_theta_method_for_second_order,add_Newmark_scheme, …, see The model tools for the integration of transient problems).The model variables and data have now a single version: the
niterargument of the methods adding a variable or a data (add_fem_variable,add_fem_data,add_fixed_size_variable,add_multiplier, …), ofreal_variable,set_real_variable(and complex versions) and theOld_prefix to access to the previous version have been removed, as well as theind_iterargument ofreal_brick_term_rhsandcomplex_brick_term_rhs. The previous values needed by a time integration scheme are stored in separate data (Previous_u, …). In the integral contact bricks, giving the displacement itself as the datawtnow means that no previous displacement is taken into account.Interface: the model commands
'first iter'and'next iter'and theind_iterargument of'brick term rhs'have been removed.
