What’s New in GetFEM 6.0

Not yet released.

The main changes are:

  • The low-level generic assembly (getfem::generic_assembly, files getfem_assembling_tensors.h, bgeot_sparse_tensors.h, getfem_mat_elem.h and getfem_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, the getfem::nonlinear_elem_term objects no longer exist. The file getfem_assembling.h no longer includes getfem_assembling_tensors.h: a program which used getfem::generic_assembly has to be rewritten with getfem::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_PRISM and IM_PRODUCT of 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 the poly_integration class. In the interface, Integ.is_exact now always returns 0.

  • The contact bricks between non-matching meshes (add_integral_contact_between_nonmatching_meshes_brick and add_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_brick is 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_brick is now identical to add_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_part and the VM_projection object) has been removed. Use add_small_strain_elastoplasticity_brick with 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_crack and mixed_elastostatic, based on the old model bricks, have been removed.

  • The level-set based large sliding contact of getfem_level_set_contact.h has been removed (use the large sliding contact bricks instead).

  • Interface (Python, Octave/Matlab, Scilab): the low-level assembly commands asm('volumic', ...) and asm('boundary', ...), the command asm('nonlinear elasticity', ...) and the Eltm object (with MeshIm.eltm) have been removed. Use asm('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 bricks add_basic_d_on_dt_brick and add_basic_d2_on_dt2_brick and the functions velocity_update_for_order_two_theta_method and velocity_update_for_Newmark_scheme have 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 niter argument of the methods adding a variable or a data (add_fem_variable, add_fem_data, add_fixed_size_variable, add_multiplier, …), of real_variable, set_real_variable (and complex versions) and the Old_ prefix to access to the previous version have been removed, as well as the ind_iter argument of real_brick_term_rhs and complex_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 data wt now means that no previous displacement is taken into account.

  • Interface: the model commands 'first iter' and 'next iter' and the ind_iter argument of 'brick term rhs' have been removed.