Update release_notes for 2026 authored by Rémy Mozul's avatar Rémy Mozul
# Release notes # # Release notes #
This page aims at keeping major information regarding the changes of function names, argument names or whatever between This page aims at keeping major information regarding the changes of function names, argument names or whatever between
the different versions of LMGC90. the different versions of LMGC90.
This is not release notes 'stricto sensu'. This is not release notes 'stricto sensu'.
* [2025->2026](#2026) * [2025->2026](#2026)
* [2024->2025](#2025) * [2024->2025](#2025)
* [2023->2024](#2024) * [2023->2024](#2024)
* [2022->2023](#2023) * [2022->2023](#2023)
* [2021->2022](#2022) * [2021->2022](#2022)
* [2020->2021](#2021) * [2020->2021](#2021)
* [2019->2020](#2020) * [2019->2020](#2020)
* [2018->2019](#2019) * [2018->2019](#2019)
* [2017->2018](#2018) * [2017->2018](#2018)
* [2016->2017](#2017) * [2016->2017](#2017)
* [2015->2016](#2016) * [2015->2016](#2016)
## <a name=2026> version 2026 ## ## <a name=2026> version 2026 ##
Core and API changes: Core and API changes:
--------------------- ---------------------
* In `Core` type of timer is now a input parameter at creation * In `Core` type of timer is now a input parameter at creation
* Add timer for `chipy.WriteDisplayFiles` * Add timer for `chipy.WriteDisplayFiles`
* Fix bug in STO detection * Fix bug in STO detection
* Some warning in HE build becomes an error * Some warning in HE build becomes an error
* Fix some memory leak when reading `DATBOX` * Fix some memory leak when reading `DATBOX`
* Correctly get spheres coordinates in `SPPR` detection * Correctly get spheres coordinates in `SPPR` detection
* Computation of cluster of `POLYR` can now be properly skipped if provided in `BODIES.DAT` * Computation of cluster of `POLYR` can now be properly skipped if provided in `BODIES.DAT`
* Fix bug in joint elements * Fix bug in joint elements
* Add bindings for Compas at core level * Add bindings for Compas at core level
* Update of [Matlib](https://src.koda.cnrs.fr/matlib/v5) as a git submodule using v5 * Update of [Matlib](https://git.gem.ec-nantes.fr/matlib/v5) as a git submodule using v5
* Update of [Clipper2](https://github.com/rmozul/Clipper2.git) git submodule path
Pre changes: * Can now specify to a contact law that each contact should store and use the parameters as internals
------------ * -> check `chipy.tact_behav_useParamsAsInternals`
* The `path` and `chemin` to read/write is now `datbox_dir` * Instead of reading form `DATBOX/*.DAT` it is also possible to read from `OUTBOX/*.OUT`
* `datbox_dir` can be a string or a `pathlib.Path` object * -> check `chipy.ReadOutbox`
* postpro keywords `CREATE/SAVE_TEXT_DATA` were removed
Paraview changes:
----------------- Pre changes:
* File now include the block for Gauss point of joint element ------------
* Macro has been update to extract said block * The `path` and `chemin` to read/write is now `datbox_dir`
* `datbox_dir` can be a string or a `pathlib.Path` object
Cmake changes: * When generating cluster of cylinder, the `ComputeRigidProperties` now update the geometric configuration of the contactors.
--------------
* Fix bug in bindings for Robotran Paraview changes:
-----------------
Documentation and examples: * File now include the block for Gauss point of joint element
--------------------------- * Macro has been update to extract said block
* Fix some errors in the doc/examples
Cmake changes:
--------------
* Fix bug in bindings for Robotran
* Fix installation on MacOS and Window using `conda` environment
## <a name=2025> version 2025 ## * Can use cmake option `-DLMGC90_MAX_INTERNAL_TACT=N` to change it a build time
* Can use cmake option `-DLMGC90_LEN_G_CLIN=L` in case of error when reading too long line of GPV.OUT files
Core and API changes:
--------------------- Documentation and examples:
* Fix in `CleanMemory` to correctly reset timer ---------------------------
* Fix an error when using `chipy.TimeEvolution_SetTimeStep` after a call to `chipy.Finalize` * Fix some errors in the doc/examples
* It is possible to read/write for the `ASpxx` and `CSpxx` contactors, the node id of support on 6 character
* Add wrappers to set/get body vector for all rigid 2/3D with one array
* Add external timer for MUMPs use
* Add parameter to save MUMPs matrix in a file
* Only `pathlib.Path` object instead of `os.path` in macros ## <a name=2025> version 2025 ##
* Fix `checkInteractiveCommand` to pass a file name to write last in hdf5 format
* Fix API of `POLYR_GetWireframe` to have 2d coordinates array instead of a stupid 1d array Core and API changes:
* Include Demmefi's project material library ---------------------
* Fix in joint elements in 2D * Fix in `CleanMemory` to correctly reset timer
* Clean split of mechanical and thermal integrator schemes * Fix an error when using `chipy.TimeEvolution_SetTimeStep` after a call to `chipy.Finalize`
* It is possible to read/write for the `ASpxx` and `CSpxx` contactors, the node id of support on 6 character
Pre changes: * Add wrappers to set/get body vector for all rigid 2/3D with one array
------------ * Add external timer for MUMPs use
* Possibility to instll only `pylmgc90.pre` by using CMake config `-DLMGC90_BUILD_ChiPy=OFF` * Add parameter to save MUMPs matrix in a file
* Add management of law `IQS_WET_CZM` * Only `pathlib.Path` object instead of `os.path` in macros
* The `pre.surfacicMeshToRigid3D` and `pre.surfacicMeshesToRigid3D` accept the `is_open` boolean options which: * Fix `checkInteractiveCommand` to pass a file name to write last in hdf5 format
* create a new type of variants of the `POLYR`: the `POLYO` * Fix API of `POLYR_GetWireframe` to have 2d coordinates array instead of a stupid 1d array
* in the same way than in the `POLYF` it can be define by a set of surfacic mesh of triangles * Include Demmefi's project material library
* can be opened * Fix in joint elements in 2D
* either must be a wholly fixed boundary condition or the user must provide volume and inertia parameters * Clean split of mechanical and thermal integrator schemes
* Remove `pre.granuloMonodisperse` useless function
* Modification of the `pre.depositIn*` functions to: Pre changes:
* no longer modify input `radii` ------------
* but return the used list of `radii` as an output * Possibility to instll only `pylmgc90.pre` by using CMake config `-DLMGC90_BUILD_ChiPy=OFF`
* the `coor` returned value is now an `[nb_point,dim]` array * Add management of law `IQS_WET_CZM`
* use of single clean wrapper * The `pre.surfacicMeshToRigid3D` and `pre.surfacicMeshesToRigid3D` accept the `is_open` boolean options which:
* log are deactivated by default * create a new type of variants of the `POLYR`: the `POLYO`
* all deposit not as reference of lower, left, rear corner in 0. * in the same way than in the `POLYF` it can be define by a set of surfacic mesh of triangles
* Modification of the deposit on lattice functions of pre to: * can be opened
* return a `coor` array of shape `[nb_point,dim]` * either must be a wholly fixed boundary condition or the user must provide volume and inertia parameters
* remove the `nbPointsInTriangularLattice2D` intermediate function * Remove `pre.granuloMonodisperse` useless function
* remove the `sizeBoundingBoxTriangularLattice2D` intermediate function * Modification of the `pre.depositIn*` functions to:
* In `pre.avatar.imposeDrivenDof` now: * no longer modify input `radii`
* no longer useless logs * but return the used list of `radii` as an output
* possibility to attempt to draw the driven dof over a time range * the `coor` returned value is now an `[nb_point,dim]` array
* Add `hadGroup` method to `pre.mesh` class to check `physicalEntity` * use of single clean wrapper
* Regarding `material` and `model` containers: * log are deactivated by default
* if adding and object with a name already exisitng will raise a `KeyError` * all deposit not as reference of lower, left, rear corner in 0.
* except if the `override` argument of the `addModel`/`addMaterial` is set to `True` * Modification of the deposit on lattice functions of pre to:
* return a `coor` array of shape `[nb_point,dim]`
* remove the `nbPointsInTriangularLattice2D` intermediate function
Paraview changes: * remove the `sizeBoundingBoxTriangularLattice2D` intermediate function
----------------- * In `pre.avatar.imposeDrivenDof` now:
* Paraview macro now tries to apply on the active source * no longer useless logs
* `chipy.OpenDisplayFiles` now also create a csv file to describe parameter mapping used in display files * possibility to attempt to draw the driven dof over a time range
* New paraview macro to map `Shape`, `inter` and `status` field to strings * Add `hadGroup` method to `pre.mesh` class to check `physicalEntity`
* Fix 'mecafe' block of paraview files to always have 0 on the Z component of velocity in 2D * Regarding `material` and `model` containers:
* Fix 'rigid' block of paraview files to always have 0 on the Z component of reac in 2D * if adding and object with a name already exisitng will raise a `KeyError`
* Fix `writeThisToVtk` to keep working as is * except if the `override` argument of the `addModel`/`addMaterial` is set to `True`
* Possibility to round the time displayed (with for example `chipy.OpenDisplayFiles(time_fmt=".2f")`)
Paraview changes:
Cmake changes: -----------------
-------------- * Paraview macro now tries to apply on the active source
* Now only `CMake>=3.22` is supported * `chipy.OpenDisplayFiles` now also create a csv file to describe parameter mapping used in display files
* All options and cache variables are now prefixed with `LMGC90_` * New paraview macro to map `Shape`, `inter` and `status` field to strings
* `LMGC90_WITH_HDF5` compil flag is now `True` by default * Fix 'mecafe' block of paraview files to always have 0 on the Z component of velocity in 2D
* Fix compil with numpy \>=2.0 installed in a virtualenv * Fix 'rigid' block of paraview files to always have 0 on the Z component of reac in 2D
* Now possible, within a venv, to `pip install .` to install from source * Fix `writeThisToVtk` to keep working as is
* Possibility to install in a `conda` environment on Windows * Possibility to round the time displayed (with for example `chipy.OpenDisplayFiles(time_fmt=".2f")`)
Examples changes: Cmake changes:
----------------- --------------
* Fix examples to use `reverse=True` instead of error inducing `'yes'`... * Now only `CMake>=3.22` is supported
* Remove useless `ref_radius` leftover in examples and tests * All options and cache variables are now prefixed with `LMGC90_`
* Fix examples to use `mecafe` and `ptc` when adding field to paraview files * `LMGC90_WITH_HDF5` compil flag is now `True` by default
* Add missing link to basic visualization notebook for deformable in `Readme.ipynb` * Fix compil with numpy \>=2.0 installed in a virtualenv
* Add a tutorial notebook to introduce `restart` and `last` concepts * Now possible, within a venv, to `pip install .` to install from source
* Possibility to install in a `conda` environment on Windows
## <a name=2024> version 2024 ##
Examples changes:
-----------------
API update: * Fix examples to use `reverse=True` instead of error inducing `'yes'`...
* Remove useless `ref_radius` leftover in examples and tests
* Default value of `addRegistersToDisplay` is now `True` * Fix examples to use `mecafe` and `ptc` when adding field to paraview files
* Using `record<0` in `io_hdf5_read` will automatically read last available record * Add missing link to basic visualization notebook for deformable in `Readme.ipynb`
* `lib_vtkio` is removed from the core and the installed third party libraries * Add a tutorial notebook to introduce `restart` and `last` concepts
* Some optional VTK files writing move from Fortran core to Python:
* Change `inter` optional keyword to `ptc` to add field to `WriteDisplayFiles` for interactions
* The argument `write_ck` of the `OpenDisplayFiles` no longer exists and is include in `write_f2f` with integer value: ## <a name=2024> version 2024 ##
* 0: do not write any related block
* 1: write only the `Face2Face` and `PressureCenter` blocks
* 2: add the `CentralKernel` block to the previous ones API update:
* 3: add the `CompressionStress` block to the previous ones
* Gauss point files are written by: * Default value of `addRegistersToDisplay` is now `True`
* activating by listing the fields to display in `OpenDisplayFiles` with `mecagp_field` and/or `thergp_field` * Using `record<0` in `io_hdf5_read` will automatically read last available record
* explicitely asked by setting `write_gp=True` in `WriteDisplayFiles` * `lib_vtkio` is removed from the core and the installed third party libraries
* Remove support of VTK 6 * Some optional VTK files writing move from Fortran core to Python:
* Cmake minimum version is now 3.16 * Change `inter` optional keyword to `ptc` to add field to `WriteDisplayFiles` for interactions
* The argument `write_ck` of the `OpenDisplayFiles` no longer exists and is include in `write_f2f` with integer value:
Fix: * 0: do not write any related block
* 1: write only the `Face2Face` and `PressureCenter` blocks
* Internal gap computation in `elastic_repell_clb_g0` and `iqs_expo_czm_spring` contact law * 2: add the `CentralKernel` block to the previous ones
* Detection now ignore interactions where all supported dof are velocy driven * 3: add the `CompressionStress` block to the previous ones
* Status in `CZM_EXPO_SPRING` contact law * Gauss point files are written by:
* Correct `POLYD` use in `pre` and `core` * activating by listing the fields to display in `OpenDisplayFiles` with `mecagp_field` and/or `thergp_field`
* f2f related vtk block are displayed in end of time step configuration instead of `TT` * explicitely asked by setting `write_gp=True` in `WriteDisplayFiles`
* error in `ComputeRnod` in 3D * Remove support of VTK 6
* Correct update of `beta` in `*EXPO_CZM_SPRING` contact laws * Cmake minimum version is now 3.16
* Quasi-Static time integrator to work with any time step
* Use `tiny` instead of arbitrary `1e-14` precision check in CZM laws Fix:
* Possibility to have up to 9999999 elements or nodes with `MAILx` bodies
* Slight mistakes in tutorials notebooks * Internal gap computation in `elastic_repell_clb_g0` and `iqs_expo_czm_spring` contact law
* Remove some warnings in `pre.visuAvatars` to greatly accelerate the function * Detection now ignore interactions where all supported dof are velocy driven
* Add management of `xKSID` contactors in `pre.visuAvatars` * Status in `CZM_EXPO_SPRING` contact law
* Fix filtering of visible rigid/tact/mecaFE when generating VTK files * Correct `POLYD` use in `pre` and `core`
* Fix error in `CSASp` pedigree describing candidate as `CYLND` in hdf5 files and `getInteractions` * f2f related vtk block are displayed in end of time step configuration instead of `TT`
* Rename mecaMAILx_3D/discreteFE example to mecaMAILx_3D/discreteFE_suspendedblock and add corresponding gen_sample.py * error in `ComputeRnod` in 3D
* Fix TOSI_CZM* laws to use 2 energy parameters for mode I and mode II/III * Correct update of `beta` in `*EXPO_CZM_SPRING` contact laws
* Quasi-Static time integrator to work with any time step
* Use `tiny` instead of arbitrary `1e-14` precision check in CZM laws
New: * Possibility to have up to 9999999 elements or nodes with `MAILx` bodies
* Slight mistakes in tutorials notebooks
* Contact laws to manage plasticity within CZM * Remove some warnings in `pre.visuAvatars` to greatly accelerate the function
* new laws : `IQS_EXPO_CZM_P`, `EXPO_CZM_P`, `IQS_EXPO_CZM_SPRING_P`, `EXPO_CZM_SPRING_P` * Add management of `xKSID` contactors in `pre.visuAvatars`
* same parameters as their `*EXPO_CZM*` counterparts plus two others for plasticity: * Fix filtering of visible rigid/tact/mecaFE when generating VTK files
* `mu_g` to set the rate of damage energy over total energy : $\mu_g = \frac{G_d}{G_f}$ * Fix error in `CSASp` pedigree describing candidate as `CYLND` in hdf5 files and `getInteractions`
* `Eta` a truncation parameter of expo laws * Rename mecaMAILx_3D/discreteFE example to mecaMAILx_3D/discreteFE_suspendedblock and add corresponding gen_sample.py
* Allow to use `visible` status on driven dof of mecaMAILx bodies: * Fix TOSI_CZM* laws to use 2 energy parameters for mode I and mode II/III
* `mecaMAILx_SetVisibleVlocyDrivenDof`
* `mecaMAILx_SetInvisibleVlocyDrivenDof`
* `mecaMAILx_UpdateVlocyDrivenDofStructures` must be called LAST New:
* Support of clipper library version 2
* default in new build * Contact laws to manage plasticity within CZM
* activate in existing build with `cmake . -DCLIPPER_VERSION=2` * new laws : `IQS_EXPO_CZM_P`, `EXPO_CZM_P`, `IQS_EXPO_CZM_SPRING_P`, `EXPO_CZM_SPRING_P`
* When using `PRPRx_UseNcF2fExplicitDetection` * same parameters as their `*EXPO_CZM*` counterparts plus two others for plasticity:
* manage properly the case where the intersection polygon of two faces is not connex * `mu_g` to set the rate of damage energy over total energy : $\mu_g = \frac{G_d}{G_f}$
* Detection method `PRPRx` used by stono * `Eta` a truncation parameter of expo laws
* can mix face to face aspect with non-convex ones * Allow to use `visible` status on driven dof of mecaMAILx bodies:
* manage properly the case where the intersection polygon of two faces is not connex * `mecaMAILx_SetVisibleVlocyDrivenDof`
* can use a `decompression` parameter to select contact point position regarding: * `mecaMAILx_SetInvisibleVlocyDrivenDof`
* the convex hull of the intersection polygon * `mecaMAILx_UpdateVlocyDrivenDofStructures` must be called LAST
* the intersection polygon and its intersection with the central kernel * Support of clipper library version 2
* manage properly the case where the intersection polygon of two faces is not connex * default in new build
* added keyword: * activate in existing build with `cmake . -DCLIPPER_VERSION=2`
* `PRPRx_UseStoDetection` : activate detection * When using `PRPRx_UseNcF2fExplicitDetection`
* `PRPRx_ForceF2fDetection` : force face to face within sto detection * manage properly the case where the intersection polygon of two faces is not connex
* `PRPRx_ForceNcDetection` : force non convex within sto detection * Detection method `PRPRx` used by stono
* `PRPRx_GetF2fOutlines` : get the intersection polygon in the `f2f` structure * can mix face to face aspect with non-convex ones
* `PRPRx_GetF2fStress` : use optimization to evaluate the linear compression stress * manage properly the case where the intersection polygon of two faces is not connex
* `PRPRx_GetF2fCentralKernel` : compute the central kernel * can use a `decompression` parameter to select contact point position regarding:
* Utilities to compute mechanical values of plane contact surface: * the convex hull of the intersection polygon
* `MecaPolyg_CentralKernel` * the intersection polygon and its intersection with the central kernel
* `MecaPolyg_StressField` * manage properly the case where the intersection polygon of two faces is not connex
* Paraview file generation completely reworked: * added keyword:
* Now a single paraview file is generated for each time step * `PRPRx_UseStoDetection` : activate detection
* This file use the `MultiBlock` logic * `PRPRx_ForceF2fDetection` : force face to face within sto detection
* The content is almost the same a the union of former files * `PRPRx_ForceNcDetection` : force non convex within sto detection
* Exception is the `f2f` file content which is split in three blocks: * `PRPRx_GetF2fOutlines` : get the intersection polygon in the `f2f` structure
* `Face2Face` component with the outline of the contact structure * `PRPRx_GetF2fStress` : use optimization to evaluate the linear compression stress
* `PressureCenter` component with only the point to draw pressure line * `PRPRx_GetF2fCentralKernel` : compute the central kernel
* `ContactPointContour` block appears * Utilities to compute mechanical values of plane contact surface:
* fields `icdbdy`, `ianbdy`, `icdtac`, `iantac` were added to these blocks * `MecaPolyg_CentralKernel`
* The `CentralKernel` block (if generated) content now hold only the geometrical part of the central kernel * `MecaPolyg_StressField`
* Add `Shape` field with contactor id parameter in vtk `tactor` block * Paraview file generation completely reworked:
* All paraview macros were updated and improved * Now a single paraview file is generated for each time step
* Add support of ubuntu 24 * This file use the `MultiBlock` logic
* Add some basics tests on python/numpy * The content is almost the same a the union of former files
* Add a restart parameter to computation macros * Exception is the `f2f` file content which is split in three blocks:
* Add joint elements: * `Face2Face` component with the outline of the contact structure
* In preprocessor * `PressureCenter` component with only the point to draw pressure line
* linear bulk elements of type : `J2xx2`, `J3xx3`, `J4xx3` * `ContactPointContour` block appears
* associated material must be of type : * fields `icdbdy`, `ianbdy`, `icdtac`, `iantac` were added to these blocks
* `JELAS` (with `stiffness` parameter) * The `CentralKernel` block (if generated) content now hold only the geometrical part of the central kernel
* `J__MC` (with `stiffness`, `consolidation` and `mc` parameters) * Add `Shape` field with contactor id parameter in vtk `tactor` block
* `JFCZM` (with `stiffness`, `consolidation` and `fczm` parameters) * All paraview macros were updated and improved
* In Chipy wrapper added `mecaMAILx_GetGpAllJoint` * Add support of ubuntu 24
* Added examples in `mecaMAILx_3D` directory: * Add some basics tests on python/numpy
* `1J_compression+shear` * Add a restart parameter to computation macros
* `1J_traction` * Add joint elements:
* `jointFE_Arche` * In preprocessor
* `jointFE_compression+shear` * linear bulk elements of type : `J2xx2`, `J3xx3`, `J4xx3`
* `jointFE_traction+shear` * associated material must be of type :
* `jointFE_traction` * `JELAS` (with `stiffness` parameter)
* `J__MC` (with `stiffness`, `consolidation` and `mc` parameters)
* `JFCZM` (with `stiffness`, `consolidation` and `fczm` parameters)
Doc: * In Chipy wrapper added `mecaMAILx_GetGpAllJoint`
* Added examples in `mecaMAILx_3D` directory:
* Detail list of datatype keyword when using GetBodyVector and other similar function * `1J_compression+shear`
* Update notebook explaination regarding interactions * `1J_traction`
* `jointFE_Arche`
* `jointFE_compression+shear`
## <a name=2023> version 2023 ## * `jointFE_traction+shear`
* `jointFE_traction`
Added features:
* thermal dilatation management for built-in and demmefi models of mecaMAILx
* In HDF5 files the `rdata` part of `internals` in interaction is now of minimum needed size Doc:
* Add new contact laws:
* `ELASTIC_REPELL_CLB_adapt` to change stiffness through internal * Detail list of datatype keyword when using GetBodyVector and other similar function
* `TOSI_CZM` and `TOSI_CZM_INCRE` laws * Update notebook explaination regarding interactions
* SPPRx detection module (with periodic management)
* periodic detection of CDCDx module
* the NLGS solver now stops with an error if a `NaN` value is met ## <a name=2023> version 2023 ##
* Add `PRPRx_SetInternalSurface` to be able to override the value of contact surface within triangle intersection detection
* `post` submodule of `chipy` to generate paraview files picturing the central kernel criteria (PRPRx with f2f detection) Added features:
* `inters.vtu` files are no longer generated only `ptc.vtu` files * thermal dilatation management for built-in and demmefi models of mecaMAILx
* `ptc.vtu` files are now generated from the `chipy.getInteractions` * In HDF5 files the `rdata` part of `internals` in interaction is now of minimum needed size
* add macros to make access and visualization of internal variables of interactions easier * Add new contact laws:
* add macros for paraview (10 and 11) to add glyph/tubes on ptc files and ck (Central Kernel) files. * `ELASTIC_REPELL_CLB_adapt` to change stiffness through internal
* `TOSI_CZM` and `TOSI_CZM_INCRE` laws
Changes in API: * SPPRx detection module (with periodic management)
* `MAX_INTERNAL_TACTS` is now of size 19 by default * periodic detection of CDCDx module
* Some macro of `pylmgc90.chipy` now raise an error if `SetDimension` has not been called beforehand * the NLGS solver now stops with an error if a `NaN` value is met
* Argument `step` has been renamed to `record` in all the `ReadIni` macros * Add `PRPRx_SetInternalSurface` to be able to override the value of contact surface within triangle intersection detection
* Removed all obsolete read/write of binary file using the old OUTBOX format * `post` submodule of `chipy` to generate paraview files picturing the central kernel criteria (PRPRx with f2f detection)
* `CloseDisplayFiles` is now empty function and no longer needed * `inters.vtu` files are no longer generated only `ptc.vtu` files
* `chipy.WriteDisplayFiles` no longer use the `ref_radius` and `normal_orient` parameters * `ptc.vtu` files are now generated from the `chipy.getInteractions`
* when adding user field to `ptc.vtu` files in chipy.WriteDisplayFiles` now needs an numpy array instead of a dictionary * add macros to make access and visualization of internal variables of interactions easier
* `registerInterInternals` take the internal variable (or a list of them) to work with * add macros for paraview (10 and 11) to add glyph/tubes on ptc files and ck (Central Kernel) files.
* `addRegistersToDisplay` to automatically add the internal variable to the WriteDisplayFiles calls
* `getInternalArray` to get the internal array associated with an interaction array Changes in API:
* `setInternalArray` to set the internal value of a list of interactions * `MAX_INTERNAL_TACTS` is now of size 19 by default
* `getInteractions` can now get "this" or "verlet" interactions, with byte-string or integer id, for the parameters fields * Some macro of `pylmgc90.chipy` now raise an error if `SetDimension` has not been called beforehand
* Argument `step` has been renamed to `record` in all the `ReadIni` macros
Added functions to `chipy`: * Removed all obsolete read/write of binary file using the old OUTBOX format
* `WriteLast` added to macros * `CloseDisplayFiles` is now empty function and no longer needed
* `io_hdf5_write_last(fname)` allowing to write last state in the input file * `chipy.WriteDisplayFiles` no longer use the `ref_radius` and `normal_orient` parameters
* `inter_handler_xD_getNbRecup` was added (and corresponding getter in detection module removed) * when adding user field to `ptc.vtu` files in chipy.WriteDisplayFiles` now needs an numpy array instead of a dictionary
* `inter_handler_xD_tgetIData` was added * `registerInterInternals` take the internal variable (or a list of them) to work with
* `PRPRx_GetF2f2Inters` to get the *face to face* to interaction mapping * `addRegistersToDisplay` to automatically add the internal variable to the WriteDisplayFiles calls
* `CYLND_GetShape` to access cylinder axis length values * `getInternalArray` to get the internal array associated with an interaction array
* `setInternalArray` to set the internal value of a list of interactions
Added functions to `pre`: * `getInteractions` can now get "this" or "verlet" interactions, with byte-string or integer id, for the parameters fields
* method `avatar.updateReferenceConfig` to update the reference configuration of the bodie(s) to the current one
Added functions to `chipy`:
Fixes: * `WriteLast` added to macros
* in Demmefi managements models (especially regarding `endo3D`) * `io_hdf5_write_last(fname)` allowing to write last state in the input file
* bug in `CDCDx` contact detection * `inter_handler_xD_getNbRecup` was added (and corresponding getter in detection module removed)
* `pre.readState` when reading with `xxl` interactions * `inter_handler_xD_tgetIData` was added
* sort content when using `ExternalFEM` and in `ExternalDetection` for Xper coupling * `PRPRx_GetF2f2Inters` to get the *face to face* to interaction mapping
* SPPRx detection when contact point is not in a PR face * `CYLND_GetShape` to access cylinder axis length values
* PRASp computation of VN in prjj
* Add missing pre.mesh function in sphinx documentation Added functions to `pre`:
* correct read/write regarding stress of mecax in HDF5 files * method `avatar.updateReferenceConfig` to update the reference configuration of the bodie(s) to the current one
* pre.IO.writeVlocRloc if inters is a list and not a numpy array
* bug in PRPRx where unwanted contacts where added with 0 coordinates Fixes:
* some drvdof where ignored if index of body was greater than 99999 * in Demmefi managements models (especially regarding `endo3D`)
* inertia computation error of CYLND in `pre` * bug in `CDCDx` contact detection
* fix 'COORDINATION_NUMBER' postpro command * `pre.readState` when reading with `xxl` interactions
* fix 'BODY TRACKING' to correctly follow rigid 3D body instead of first contactors * sort content when using `ExternalFEM` and in `ExternalDetection` for Xper coupling
* use CL/AL and CS/AS mesh id instead of global id in .vtu files * SPPRx detection when contact point is not in a PR face
* fix status of `CZM` contact laws * PRASp computation of VN in prjj
* fix error in `.pvd` paraview files in case of restart * Add missing pre.mesh function in sphinx documentation
* correct read/write regarding stress of mecax in HDF5 files
## <a name=2022> version 2022 ## * pre.IO.writeVlocRloc if inters is a list and not a numpy array
* bug in PRPRx where unwanted contacts where added with 0 coordinates
* General fix in Core, API, build process and documentation * some drvdof where ignored if index of body was greater than 99999
* Add `computation` macro submodule to provide the functions * inertia computation error of CYLND in `pre`
* `initialize` * fix 'COORDINATION_NUMBER' postpro command
* `initialize_non_linear` * fix 'BODY TRACKING' to correctly follow rigid 3D body instead of first contactors
* `compute_one_step` * use CL/AL and CS/AS mesh id instead of global id in .vtu files
* `compute_one_step_non_linear` * fix status of `CZM` contact laws
* Add new matlib version (2021-1) * fix error in `.pvd` paraview files in case of restart
* Remove oldest matlib
* Read material file directly from matlib ## <a name=2022> version 2022 ##
* Use `density` as a field for `mecaMAILx` with matlib
* Specify field dependency to a parameter with a file * General fix in Core, API, build process and documentation
* Add management of cluster of `CYLND` * Add `computation` macro submodule to provide the functions
* Quasi-static integrator for `mecaMAILx` * `initialize`
* Mass scaling of `mecaMAILx` * `initialize_non_linear`
* Use force instead of pressure within `nlgs_3D` solver for `CSASp` and `CSPRx` * `compute_one_step`
* Add a function to compute a PDF of pressure * `compute_one_step_non_linear`
* Management of initial gaps or overlaps for `EXPO_CZM` laws * Add new matlib version (2021-1)
* Possible flush of postpro files during computation * Remove oldest matlib
* A post.py script to manage POSTPRO files * Read material file directly from matlib
* `RecupRlocByPosition` for `CSPRx` contacts * Use `density` as a field for `mecaMAILx` with matlib
* Add internal variables values to display files * Specify field dependency to a parameter with a file
* Max internal in contacts now default to 8 (instead of 6 before) * Add management of cluster of `CYLND`
* Add access to wood orthotropic frame from `user` module * Quasi-static integrator for `mecaMAILx`
* Add possibility to only compute internal forces in `mecaMAILx` * Mass scaling of `mecaMAILx`
* First version of SP/PR detection * Use force instead of pressure within `nlgs_3D` solver for `CSASp` and `CSPRx`
* HDF5 now store a version number to handle evolution of format * Add a function to compute a PDF of pressure
* Access to a structured numpy array of all `this` interactions * Management of initial gaps or overlaps for `EXPO_CZM` laws
* `inter_handler_xD_GetAll` now includes the `vloc` values (not displayed in paraview yet) * Possible flush of postpro files during computation
* Interaction type `T_inter` now use subcontactor id (`cdsci` and `ansci`) field instead of `icdver`, `ianal`, etc * A post.py script to manage POSTPRO files
* `RecupRlocByPosition` for `CSPRx` contacts
Fixes: * Add internal variables values to display files
* Fix VlocRloc ascii file output for some contacts where `lantac` was missing * Max internal in contacts now default to 8 (instead of 6 before)
* Remove unused `lantac` parameter from some VlocRloc ascii files * Add access to wood orthotropic frame from `user` module
* Fix COORDINATION_NUMBER postpro file * Add possibility to only compute internal forces in `mecaMAILx`
* Fix trim in discrete geometry and add extension management * First version of SP/PR detection
* Tidy Newton-Raphson routines management in TimeEvolution/overall module * HDF5 now store a version number to handle evolution of format
* Fix cohesion status management in common plane detection * Access to a structured numpy array of all `this` interactions
* Fix bugs for `EXPO_CZM_SPRING` laws * `inter_handler_xD_GetAll` now includes the `vloc` values (not displayed in paraview yet)
* Area of contact computation when using `TriangleIntersections` detection of `PRPRx` * Interaction type `T_inter` now use subcontactor id (`cdsci` and `ansci`) field instead of `icdver`, `ianal`, etc
* Fix `DKPLx` contact detection
* Fix `CSASp` contact detection Fixes:
* Fix in `BODY TRACKING` to really track `RBDY3` and not its first contactor * Fix VlocRloc ascii file output for some contacts where `lantac` was missing
* Fix installation path when changing of `VENV_PATH` with cmake * Remove unused `lantac` parameter from some VlocRloc ascii files
* Use CL/AL and CS/AS mesh id instead of global id in .vtu files * Fix COORDINATION_NUMBER postpro file
* Fix trim in discrete geometry and add extension management
Added functions to `chipy`: * Tidy Newton-Raphson routines management in TimeEvolution/overall module
* `CSASp_AddReac`, `CSPRx_AddReac` * Fix cohesion status management in common plane detection
* `CSASp_AssumeOldFiles` * Fix bugs for `EXPO_CZM_SPRING` laws
* `nlgs_3D_CutOpenCZM` * Area of contact computation when using `TriangleIntersections` detection of `PRPRx`
* `nlgs_3D_ManageInterpenetratedCZM` * Fix `DKPLx` contact detection
* `CSxxx_GetAll` * Fix `CSASp` contact detection
* `mecaMAILx_GetInternalVariables` * Fix in `BODY TRACKING` to really track `RBDY3` and not its first contactor
* `mecaMAILx_ComputePDFPressure` * Fix installation path when changing of `VENV_PATH` with cmake
* `mecaMAILx_MassScaling` * Use CL/AL and CS/AS mesh id instead of global id in .vtu files
* `postpro_FlushDuringComputation`, `postpro_3D_FlushDuringComputation`
* `RBDY3_GetDofStatus` Added functions to `chipy`:
* `Integrator_InitQS` * `CSASp_AddReac`, `CSPRx_AddReac`
* `user_getWoodFrame` * `CSASp_AssumeOldFiles`
* `mecaMAILx_ ComputeFint` * `nlgs_3D_CutOpenCZM`
* `inter_handler_xD_getNbRecup` was added (and corresponding getter in detection module removed) * `nlgs_3D_ManageInterpenetratedCZM`
* `inter_handler_xD_tgetIData` * `CSxxx_GetAll`
* `mecaMAILx_GetInternalVariables`
Changes in API: * `mecaMAILx_ComputePDFPressure`
* in `pre.rigidCylinder` `h` parameter is now the half height of cylinder * `mecaMAILx_MassScaling`
* `postpro_FlushDuringComputation`, `postpro_3D_FlushDuringComputation`
## <a name=2021> version 2021 ## * `RBDY3_GetDofStatus`
* `Integrator_InitQS`
* General fix in Core, API and documentation * `user_getWoodFrame`
* `CYLND` contactor now represent pill (cylinder capped with spheres) * `mecaMAILx_ ComputeFint`
* `CDCDx` contact detection has been fixed accordingly * `inter_handler_xD_getNbRecup` was added (and corresponding getter in detection module removed)
* Add an `ExternalModelHandler` allowing to define a use either *MatLib* or *demmefi* libraries * `inter_handler_xD_tgetIData`
* in `pre.model` constructor, `is_external` now takes the value `no`, `MatL_` or `Demfi`
* Improving management of *POSTPRO* files in case of restart Changes in API:
* Improve *POSTPRO* files format: * in `pre.rigidCylinder` `h` parameter is now the half height of cylinder
* all real fields use `ES` Fortran format instead of `D`
* time field is now written on 15 characters (against 14 beforehand) ## <a name=2021> version 2021 ##
* standard file name format with step and body number on 7 digits
* Add macro: * General fix in Core, API and documentation
* `pre.writeDatbox` to drop all containers in DATBOX directory * `CYLND` contactor now represent pill (cylinder capped with spheres)
* `chipy.ReadDatbox` to read/load all files from DATBOX directory in one go * `CDCDx` contact detection has been fixed accordingly
* When reading a state from and HDF5 file, interactions as stored in `verlet` like for VlocRloc.OUT files * Add an `ExternalModelHandler` allowing to define a use either *MatLib* or *demmefi* libraries
* Replacing functions: * in `pre.model` constructor, `is_external` now takes the value `no`, `MatL_` or `Demfi`
* `xxxxx_StockRloc` -> `inter_handler_xD_stockRloc` * Improving management of *POSTPRO* files in case of restart
* `xxxx_RecupRloc` -> `inter_handler_xD_recupRloc` * Improve *POSTPRO* files format:
* Adding a lot of tutorial material as jupyter notebook * all real fields use `ES` Fortran format instead of `D`
* Adding a reader of DATBOX to generate pre container, have look to: * time field is now written on 15 characters (against 14 beforehand)
* `pre.readDatbox` * standard file name format with step and body number on 7 digits
* `pre.readState` * Add macro:
* There is period of two months in which the internal parameter numbering changed for contactors and contact. If a hdf5 file as been generated before this parameters where stored inside the file, there is no way to know what parameter numbering to use. In case of problem, the `io_hdf5_fixVersion` might help. * `pre.writeDatbox` to drop all containers in DATBOX directory
* `chipy.ReadDatbox` to read/load all files from DATBOX directory in one go
## <a name=2020> version 2020 ## * When reading a state from and HDF5 file, interactions as stored in `verlet` like for VlocRloc.OUT files
* Replacing functions:
* General fixes in Core, API and documentation * `xxxxx_StockRloc` -> `inter_handler_xD_stockRloc`
* Minimum required version of CMake is now 3.0 * `xxxx_RecupRloc` -> `inter_handler_xD_recupRloc`
* Minimum required version of gcc suite is now 4.5 * Adding a lot of tutorial material as jupyter notebook
* Support of gcc 10 * Adding a reader of DATBOX to generate pre container, have look to:
* Support of ubuntu 20 and ArchLinux for building * `pre.readDatbox`
* Better handling of link with Siconos library * `pre.readState`
* Gmsh: * There is period of two months in which the internal parameter numbering changed for contactors and contact. If a hdf5 file as been generated before this parameters where stored inside the file, there is no way to know what parameter numbering to use. In case of problem, the `io_hdf5_fixVersion` might help.
* update `pre.readMesh` function to handle gmsh file formats 4.0 and 4.1
* add a `gmshutils` submodule to `pylmgc90`, available only if `gmsh` python module is available ## <a name=2020> version 2020 ##
* MatLib:
* Possibility to set material as nodal field * General fixes in Core, API and documentation
* as such `ExternalModels_CheckProperties` is now split in `ExternalModels_StoreProperties` and `xxxxMAILx_CheckProperties` * Minimum required version of CMake is now 3.0
* HDF5: * Minimum required version of gcc suite is now 4.5
* better detection * Support of gcc 10
* add script to build and use for Anaconda on Windows * Support of ubuntu 20 and ArchLinux for building
* add parameters association to `Help` group * Better handling of link with Siconos library
* add some tentative example of postprocessing the files in `examples/Tutorial/post` * Gmsh:
* Interaction API: partial disambiguation of interaction accessors in inter_handler wrap modules using `t` to name `this` interaction: * update `pre.readMesh` function to handle gmsh file formats 4.0 and 4.1
* `getNb` -> `tgetNb` * add a `gmshutils` submodule to `pylmgc90`, available only if `gmsh` python module is available
* `getTactLawNb` -> `tgetTactLawNb` * MatLib:
* `getIdBodies`-> `tgetIdBodies` * Possibility to set material as nodal field
* `getInternals` -> `tgetInternals` * as such `ExternalModels_CheckProperties` is now split in `ExternalModels_StoreProperties` and `xxxxMAILx_CheckProperties`
* `setInternals` -> `tsetInternals` * HDF5:
* Huge changes in the management of cohesive laws: * better detection
* concerning the type of law: * add script to build and use for Anaconda on Windows
* removed `TRI_CZM` law * add parameters association to `Help` group
* added `EXPO_CZM`, `IQS_EXPO_CZM`, `EXPO_CZM_SPRING` and `ISQ_EXPO_CZN_SPRING` * add some tentative example of postprocessing the files in `examples/Tutorial/post`
* added `GTN_CZM` and `GTN2_CZM`, but not usable in the solver yet * Interaction API: partial disambiguation of interaction accessors in inter_handler wrap modules using `t` to name `this` interaction:
* management of mixity normal/tangent for these laws changed: * `getNb` -> `tgetNb`
* removed functions of `tact_behav` modules: `SetG1overG2`, `SetS1overS2` and `SetD1overD2` * `getTactLawNb` -> `tgetTactLawNb`
* instead all tact laws managing mixity must replace parameters `w` and `smax` with `s1`, `s2`, `G1`, `G2` (and maybe `dp1`, `dp2`) * `getIdBodies`-> `tgetIdBodies`
* pressure in crack is no longer set using contact law parameters thus: * `getInternals` -> `tgetInternals`
* `p` and `p0` are no longer parameters used to define contact laws * `setInternals` -> `tsetInternals`
* instead the `tact_behav_SetPressureParameters` function must be used * Huge changes in the management of cohesive laws:
* needed to add `get_external_pressure` function in `CLALp` and `CSASp` functions * concerning the type of law:
* implementation in kernel interactions of TAZ (Temporary Array Zone) accessible with `nlgs_SetTemporaryVariable` and `nlgs_GetTemporaryVariable` * removed `TRI_CZM` law
* new examples added : * added `EXPO_CZM`, `IQS_EXPO_CZM`, `EXPO_CZM_SPRING` and `ISQ_EXPO_CZN_SPRING`
* `RIGID_2D/4POLYG_SHEAR_CYCLE_CZM` * added `GTN_CZM` and `GTN2_CZM`, but not usable in the solver yet
* `mecaMAILx_2D/2Q4_PressurePostCracking` * management of mixity normal/tangent for these laws changed:
* `mecaMAILx_2D/InclusionPreDamage` * removed functions of `tact_behav` modules: `SetG1overG2`, `SetS1overS2` and `SetD1overD2`
* Standardize dilatation of `DISKx`, `xKSID` and `POLYG` contactors: * instead all tact laws managing mixity must replace parameters `w` and `smax` with `s1`, `s2`, `G1`, `G2` (and maybe `dp1`, `dp2`)
* Deletion of `DISPx` and `xPSID` now useless modules and all detection module associated * pressure in crack is no longer set using contact law parameters thus:
* all three contactors `DISKx`, `xKSID` and `POLYG` now have `SetXdilation`, `SetVdilatation` * `p` and `p0` are no longer parameters used to define contact laws
* function `SetVther` and `SetXther` of `DISKx` and `POLYG` module deleted instead * instead the `tact_behav_SetPressureParameters` function must be used
* use of `get_Vd_xxxxx`, `set_Vd_xxxxx` and `set_Xd_xxxxx` function in contactor modules instead of `get_vth_xxxxx` and similar * needed to add `get_external_pressure` function in `CLALp` and `CSASp` functions
* added example `examples/RIGID_2D/Couette` * implementation in kernel interactions of TAZ (Temporary Array Zone) accessible with `nlgs_SetTemporaryVariable` and `nlgs_GetTemporaryVariable`
* Lot of correction in postprocessing modules * new examples added :
* `DOUBLET TORQUE EVOLUTION` -> `DOUBLETS TORQUE EVOLUTION` (in pre, file names and parameters) * `RIGID_2D/4POLYG_SHEAR_CYCLE_CZM`
* `DOUBLET INTERACTION` -> `DOUBLET INTERACTIONS` (in pre, file names and parameters) * `mecaMAILx_2D/2Q4_PressurePostCracking`
* removed `QUASI SLIDING CONTACT` * `mecaMAILx_2D/InclusionPreDamage`
* added the following commands to pre: * Standardize dilatation of `DISKx`, `xKSID` and `POLYG` contactors:
* `DENSE SAMPLE COMPACITY` * Deletion of `DISPx` and `xPSID` now useless modules and all detection module associated
* `DISPLAY TENSORS` * all three contactors `DISKx`, `xKSID` and `POLYG` now have `SetXdilation`, `SetVdilatation`
* `AVERAGE VELOCITY EVOLUTION` * function `SetVther` and `SetXther` of `DISKx` and `POLYG` module deleted instead
* `DRY CONTACT NATURE` * use of `get_Vd_xxxxx`, `set_Vd_xxxxx` and `set_Xd_xxxxx` function in contactor modules instead of `get_vth_xxxxx` and similar
* `WET CONTACT NATURE` * added example `examples/RIGID_2D/Couette`
* `PLPLx_ANALYSIS` * Lot of correction in postprocessing modules
* `COMPACITY EVOLUTION` * `DOUBLET TORQUE EVOLUTION` -> `DOUBLETS TORQUE EVOLUTION` (in pre, file names and parameters)
* `TRIAXIAL COMPACITY` * `DOUBLET INTERACTION` -> `DOUBLET INTERACTIONS` (in pre, file names and parameters)
* `PRxxx DETECTION` * removed `QUASI SLIDING CONTACT`
* `INTER ANALYSIS` * added the following commands to pre:
* `VISIBILITY STATE` * `DENSE SAMPLE COMPACITY`
* `DISPLAY TENSORS`
Other changes in API: * `AVERAGE VELOCITY EVOLUTION`
* Changed `PT3Dx_SetReferenceRadius` to `PT3Dx_SetDisplayRadius` * `DRY CONTACT NATURE`
* Added `CSASp_Trim` function * `WET CONTACT NATURE`
* Added `CSASp_SetNonSymmetricDetection` * `PLPLx_ANALYSIS`
* Added `mecaMAILx_AddBodyForceToFext` function which allow to add a nodal acceleration on a meshed body * `COMPACITY EVOLUTION`
* Added contact law `xQS_WET` * `TRIAXIAL COMPACITY`
* Changed `CLALp_SetNonSymetricDetection` to `CLALp_SetNonSymmetricDetection` * `PRxxx DETECTION`
* Fix bug when reading CSASp and CSPRx ascii files * `INTER ANALYSIS`
* `DISKx_GetRadius` now correctly use a contactor number in * `VISIBILITY STATE`
* From now on `ReadIniVlocRloc` MUST be called AFTER `LoadTactors`
Other changes in API:
## <a name=2019> version 2019 ## * Changed `PT3Dx_SetReferenceRadius` to `PT3Dx_SetDisplayRadius`
* Added `CSASp_Trim` function
* General fixes in Core, API and documentation * Added `CSASp_SetNonSymmetricDetection`
* Add support of gitlab CI to run non regression tests * Added `mecaMAILx_AddBodyForceToFext` function which allow to add a nodal acceleration on a meshed body
* Add possibility to run examples using `Ctest` * Added contact law `xQS_WET`
* Re-activation of windows cross-compiling script * Changed `CLALp_SetNonSymetricDetection` to `CLALp_SetNonSymmetricDetection`
* Fix in python API of ANN library * Fix bug when reading CSASp and CSPRx ascii files
* Add `getVerletAdjsz`, `getVerletIantac` and `getAllIdata` accessors to `inter_handler` modules to get contactor verlet map of interactions * `DISKx_GetRadius` now correctly use a contactor number in
* Improve efficiency of VTK file writing when using vtk6 or higher * From now on `ReadIniVlocRloc` MUST be called AFTER `LoadTactors`
* Add possibility to build LMGC90 using conda compiler on Windows and Linux
* Add support of `IQS_CLB_RGR` contact law in *pre* ## <a name=2019> version 2019 ##
* Add `UseCurrentNonuc0` to `PTPT2` module (like in 3D) and add corresponding test
* General fixes in Core, API and documentation
## Impact on command scripts ### * Add support of gitlab CI to run non regression tests
* Add possibility to run examples using `Ctest`
* to add user fields when calling `WriteDisplayFiles` command, `tactor` keyword must be replaced by `tacts` * Re-activation of windows cross-compiling script
* Fix in python API of ANN library
* Add `getVerletAdjsz`, `getVerletIantac` and `getAllIdata` accessors to `inter_handler` modules to get contactor verlet map of interactions
## <a name=2018> version 2018 ## * Improve efficiency of VTK file writing when using vtk6 or higher
* Add possibility to build LMGC90 using conda compiler on Windows and Linux
* General fixes in Core, API and documentation * Add support of `IQS_CLB_RGR` contact law in *pre*
* `T3xxx` mechanical finite element now use 3 Gauss points for stiffness computation * Add `UseCurrentNonuc0` to `PTPT2` module (like in 3D) and add corresponding test
(instead of 1 before). To use only 1 Gauss points there are now `T3lxx` and `Te4lx`
elements ## Impact on command scripts ###
* Add `NARD_ROD` contact law of Artoni and Neveu
* Improve management of big polyhedra * to add user fields when calling `WriteDisplayFiles` command, `tactor` keyword must be replaced by `tacts`
* Improvement of paraview visualization files generations
* All `ReadIni` functions can now take in negative input value to read the *\*.LAST*
files and write the next files from the absolute value of the input value ## <a name=2018> version 2018 ##
* Update in MP modules, especially in read/write API
* A newer version of the MatLib is provided by default * General fixes in Core, API and documentation
* `pre.lecture` real name is now `pre.readMesh` (but is still usable as is) * `T3xxx` mechanical finite element now use 3 Gauss points for stiffness computation
* Switch all docstrings and error/warning messages left in french to english (instead of 1 before). To use only 1 Gauss points there are now `T3lxx` and `Te4lx`
* `checkInteractiveCommand` now tries to write *MP_VALUES* files elements
* `dim` parameters is now mandatory in function `pre.writeBulkBehav` * Add `NARD_ROD` contact law of Artoni and Neveu
* In `pre.rigidJonc` and `pre.rigidPlan` last axes MUST be less than the others * Improve management of big polyhedra
* Automatic switch between HDF5 and old OUTBOX directory * Improvement of paraview visualization files generations
and associated documentation added * All `ReadIni` functions can now take in negative input value to read the *\*.LAST*
* Add `rigidsFromMesh3D` in the preprocessor files and write the next files from the absolute value of the input value
* `inter_handler_xD_setInternal` accept either a vector to set all value at once, * Update in MP modules, especially in read/write API
or an integer and a value to set only one component of the internal array * A newer version of the MatLib is provided by default
* Add triangle intersection detection between `POLYR` contactors * `pre.lecture` real name is now `pre.readMesh` (but is still usable as is)
* Fixes of periodicity management in 3D * Switch all docstrings and error/warning messages left in french to english
* `CLALp` module can now provide for each contact the value of strain * `checkInteractiveCommand` now tries to write *MP_VALUES* files
of its nearest Gauss point * `dim` parameters is now mandatory in function `pre.writeBulkBehav`
* Default use of MUMPs in 3D if available * In `pre.rigidJonc` and `pre.rigidPlan` last axes MUST be less than the others
* Added notebooks to explain how to add user field in Paraview files * Automatic switch between HDF5 and old OUTBOX directory
* Added function `RBDY3_CheckEquilibriumState` and associated documentation added
* Cleaning of source code (optional non functional `WITH_NEW` compilation flag * Add `rigidsFromMesh3D` in the preprocessor
and all associated code has been removed) * `inter_handler_xD_setInternal` accept either a vector to set all value at once,
or an integer and a value to set only one component of the internal array
### Impact on command scripts ### * Add triangle intersection detection between `POLYR` contactors
* Fixes of periodicity management in 3D
* It is now recommended to use: * `CLALp` module can now provide for each contact the value of strain
of its nearest Gauss point
```python * Default use of MUMPs in 3D if available
chipy.ReadIni(step) * Added notebooks to explain how to add user field in Paraview files
chipy.ReadIniMpValues(step) * Added function `RBDY3_CheckEquilibriumState`
chipy.WriteOut(freq) * Cleaning of source code (optional non functional `WITH_NEW` compilation flag
chipy.WriteOutMvValues(freq) and all associated code has been removed)
```
which will read or write all stored data within the database, instead of specifying all type of files (`DOF`, `GPV`, `VlocRloc`, `MP_VALUES`). ### Impact on command scripts ###
* The function: * It is now recommended to use:
```python ```python
chipy.overall_WriteOutMpValues chipy.ReadIni(step)
``` chipy.ReadIniMpValues(step)
chipy.WriteOut(freq)
is renamed: chipy.WriteOutMvValues(freq)
```
```python which will read or write all stored data within the database, instead of specifying all type of files (`DOF`, `GPV`, `VlocRloc`, `MP_VALUES`).
chipy.TimeEvolution_WriteOutMpValues
``` * The function:
### Impact for **Core** developpers ### ```python
chipy.overall_WriteOutMpValues
The function: ```
```fortran
write_out_mp_values is renamed:
```
is renamed: ```python
```fortran chipy.TimeEvolution_WriteOutMpValues
write_xxx_mp_values ```
```
### Impact for **Core** developpers ###
## <a name=2017> version 2017 ##
The function:
* Better handling of Python 3 on MacOs ```fortran
* Datafields `Reac_` and `Raux_`, used in accessors, are now forces. New fields `Ireac` and `Iaux_` have been added to access impulsions write_out_mp_values
* Access to parameters value through variable in `chipy` module ```
* Use of an `inter_handler_2/3D` interface module instead of accessing each interaction module separately is renamed:
* Add a `RecupRlocByPosition` for `CLALp` and `CSASp` contacts ```fortran
* A partial restart of the post-processing files write_xxx_mp_values
* Any GMV related features has been deleted ```
* Possibility to write **HDF5** files for *DOF*, *GPV* and *Interactions*
* Add bindings to *clipper* library to help with the contact detection between polyhedra ## <a name=2017> version 2017 ##
* Use of integer parameters instead of string for contact status in solver
* Several fixes on the timers (especially when involving multi-threading) * Better handling of Python 3 on MacOs
* Fix of minor bugs here and there * Datafields `Reac_` and `Raux_`, used in accessors, are now forces. New fields `Ireac` and `Iaux_` have been added to access impulsions
* Access to parameters value through variable in `chipy` module
### Impact on command scripts ### * Use of an `inter_handler_2/3D` interface module instead of accessing each interaction module separately
* Add a `RecupRlocByPosition` for `CLALp` and `CSASp` contacts
* `Reac_` and `Raux_` fields are not available through getPtrBodyVector (but `Ireac` and Iaux_` are) * A partial restart of the post-processing files
* Old interactions accessors (like `DKDKx_GetNbDKDKx`) disappeared * Any GMV related features has been deleted
* They are replaced by functions of the form `chipy.inter_handler_2D_getNb( inter_type_id )` where `inter_type_id` is an integer * Possibility to write **HDF5** files for *DOF*, *GPV* and *Interactions*
* The `inter_type_id` is accessible through variables of the `chipy` module (`chipy.DKDKx_ID`): * Add bindings to *clipper* library to help with the contact detection between polyhedra
* Use of integer parameters instead of string for contact status in solver
### Impact for **Core** developpers ### * Several fixes on the timers (especially when involving multi-threading)
* Fix of minor bugs here and there
* `Reac` and `Raux` become `Ireac` and `Iaux` in the body type definition
* Many functions/accessor in detection modules disappeared. The main way to access to interaction is now through the **handlers** ### Impact on command scripts ###
* Look into the `inter_handler_2/3D` module, the `public` sections list the available functions in each module. The first parameter is the type of interactions which is an integer from the `parameter` module.
* `Reac_` and `Raux_` fields are not available through getPtrBodyVector (but `Ireac` and Iaux_` are)
* Old interactions accessors (like `DKDKx_GetNbDKDKx`) disappeared
## <a name=2016> version 2016 ## * They are replaced by functions of the form `chipy.inter_handler_2D_getNb( inter_type_id )` where `inter_type_id` is an integer
* The `inter_type_id` is accessible through variables of the `chipy` module (`chipy.DKDKx_ID`):
There are several changes concerning the **pre** python module.
Remember that a script is provided in *lmgc90_user/src/addons* attempting to update a single script or all python scripts in a directory tree. ### Impact for **Core** developpers ###
If *lmgc90_user/src/addons* is in your `$PATH` environment variable, run: * `Reac` and `Raux` become `Ireac` and `Iaux` in the body type definition
```shell * Many functions/accessor in detection modules disappeared. The main way to access to interaction is now through the **handlers**
update_gen_2016.py gen_sample.py * Look into the `inter_handler_2/3D` module, the `public` sections list the available functions in each module. The first parameter is the type of interactions which is an integer from the `parameter` module.
```
To update *gen_sample.py* script.
You can replace the script name by a directory to try to update all python scripts in it. ## <a name=2016> version 2016 ##
There are cases where the script may fail, here is the list of changes so that you can correct you scripts yourself:
There are several changes concerning the **pre** python module.
* change of `pre_lmgc` submodule name to `pre` (submodule of `pylmgc90`) Remember that a script is provided in *lmgc90_user/src/addons* attempting to update a single script or all python scripts in a directory tree.
* in `tact_behav` constructor, argument name `type` is replaced by `law`
* in `model` constructor, argument name `type` is replaced by `physics` If *lmgc90_user/src/addons* is in your `$PATH` environment variable, run:
* in `material` constructor, argument name`type` is replaced by `materialType` ```shell
* in `avatar.addContactors` method, argument name `type` is replaced by `shape` update_gen_2016.py gen_sample.py
* in `avatar.rotate` method, argument name `type` is replaced by `description` ```
* in `avatar.imposeDrivenDof` method, argument name `type` is replaced by `description` To update *gen_sample.py* script.
* in `postpro_command` constructor, argument name `type` is replaced by `name` You can replace the script name by a directory to try to update all python scripts in it.
* in `buildMesh2D` function, argument name `type_mesh` is replaced by `mesh_type` There are cases where the script may fail, here is the list of changes so that you can correct you scripts yourself:
* in `brick2D.deformableBrick` method, argument name `type` is replaced by `mesh_type`
* in `brick2D.explodedDeformableBrick` method, argument name `type` is replaced by `mesh_type` * change of `pre_lmgc` submodule name to `pre` (submodule of `pylmgc90`)
* in `avatar` constructor, argument named `type` has been removed * in `tact_behav` constructor, argument name `type` is replaced by `law`
* in `node` constructor, argument named `type` has been removed * in `model` constructor, argument name `type` is replaced by `physics`
* in `element` constructor, argument named `type` is replaced by `elem_dim` and the corresponding value must be the geometrical dimension of the element * in `material` constructor, argument name`type` is replaced by `materialType`
* in `avatar.addContactors` method, argument name `type` is replaced by `shape`
**** * in `avatar.rotate` method, argument name `type` is replaced by `description`
* in `avatar.imposeDrivenDof` method, argument name `type` is replaced by `description`
| [back](./Home) | * in `postpro_command` constructor, argument name `type` is replaced by `name`
* in `buildMesh2D` function, argument name `type_mesh` is replaced by `mesh_type`
* in `brick2D.deformableBrick` method, argument name `type` is replaced by `mesh_type`
* in `brick2D.explodedDeformableBrick` method, argument name `type` is replaced by `mesh_type`
* in `avatar` constructor, argument named `type` has been removed
* in `node` constructor, argument named `type` has been removed
* in `element` constructor, argument named `type` is replaced by `elem_dim` and the corresponding value must be the geometrical dimension of the element
****
| [back](./Home) |
|:---------------:| |:---------------:|
\ No newline at end of file