* 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
* 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