Release notes
This page aims at keeping major information regarding the changes of function names, argument names or whatever between
the different versions of LMGC90.
This is not release notes 'stricto sensu'.
version 2021
- Adding a lot of tutorial material as jupyter notebook
- Adding a reader of DATBOX to generate pre container, have look to:
pre.readDatbox
pre.readState
- 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.
version 2020
- General fixes in Core, API and documentation
- Minimum required version of CMake is now 3.0
- Minimum required version of gcc suite is now 4.5
- Support of gcc 10
- Support of ubuntu 20 and ArchLinux for building
- Better handling of link with Siconos library
- Gmsh:
- update
pre.readMesh
function to handle gmsh file formats 4.0 and 4.1 - add a
gmshutils
submodule topylmgc90
, available only ifgmsh
python module is available
- update
- MatLib:
- Possibility to set material as nodal field
- as such
ExternalModels_CheckProperties
is now split inExternalModels_StoreProperties
andxxxxMAILx_CheckProperties
- HDF5:
- better detection
- add script to build and use for Anaconda on Windows
- add parameters association to
Help
group - add some tentative example of postprocessing the files in
examples/Tutorial/post
- Interaction API: partial disambiguation of interaction accessors in inter_handler wrap modules using
t
to namethis
interaction:-
getNb
->tgetNb
-
getTactLawNb
->tgetTactLawNb
-
getIdBodies
->tgetIdBodies
-
getInternals
->tgetInternals
-
setInternals
->tsetInternals
-
- Huge changes in the management of cohesive laws:
- concerning the type of law:
- removed
TRI_CZM
law - added
EXPO_CZM
,IQS_EXPO_CZM
,EXPO_CZM_SPRING
andISQ_EXPO_CZN_SPRING
- added
GTN_CZM
andGTN2_CZM
, but not usable in the solver yet
- removed
- management of mixity normal/tangent for these laws changed:
- removed functions of
tact_behav
modules:SetG1overG2
,SetS1overS2
andSetD1overD2
- instead all tact laws managing mixity must replace parameters
w
andsmax
withs1
,s2
,G1
,G2
(and maybedp1
,dp2
)
- removed functions of
- pressure in crack is no longer set using contact law parameters thus:
-
p
andp0
are no longer parameters used to define contact laws - instead the
tact_behav_SetPressureParameters
function must be used - needed to add
get_external_pressure
function inCLALp
andCSASp
functions
-
- implementation in kernel interactions of TAZ (Temporary Array Zone) accessible with
nlgs_SetTemporaryVariable
andnlgs_GetTemporaryVariable
- new examples added :
RIGID_2D/4POLYG_SHEAR_CYCLE_CZM
mecaMAILx_2D/2Q4_PressurePostCracking
mecaMAILx_2D/InclusionPreDamage
- concerning the type of law:
- Standardize dilatation of
DISKx
,xKSID
andPOLYG
contactors:- Deletion of
DISPx
andxPSID
now useless modules and all detection module associated - all three contactors
DISKx
,xKSID
andPOLYG
now haveSetXdilation
,SetVdilatation
- function
SetVther
andSetXther
ofDISKx
andPOLYG
module deleted instead - use of
get_Vd_xxxxx
,set_Vd_xxxxx
andset_Xd_xxxxx
function in contactor modules instead ofget_vth_xxxxx
and similar - added example
examples/RIGID_2D/Couette
- Deletion of
- Lot of correction in postprocessing modules
-
DOUBLET TORQUE EVOLUTION
->DOUBLETS TORQUE EVOLUTION
(in pre, file names and parameters) -
DOUBLET INTERACTION
->DOUBLET INTERACTIONS
(in pre, file names and parameters) - removed
QUASI SLIDING CONTACT
- added the following commands to pre:
DENSE SAMPLE COMPACITY
DISPLAY TENSORS
AVERAGE VELOCITY EVOLUTION
DRY CONTACT NATURE
WET CONTACT NATURE
PLPLx_ANALYSIS
COMPACITY EVOLUTION
TRIAXIAL COMPACITY
PRxxx DETECTION
INTER ANALYSIS
VISIBILITY STATE
-
Other changes in API:
- Changed
PT3Dx_SetReferenceRadius
toPT3Dx_SetDisplayRadius
- Added
CSASp_Trim
function - Added
CSASp_SetNonSymmetricDetection
- Added
mecaMAILx_AddBodyForceToFext
function which allow to add a nodal acceleration on a meshed body - Added contact law
xQS_WET
- Changed
CLALp_SetNonSymetricDetection
toCLALp_SetNonSymmetricDetection
- Fix bug when reading CSASp and CSPRx ascii files
-
DISKx_GetRadius
now correctly use a contactor number in - From now on
ReadIniVlocRloc
MUST be called AFTERLoadTactors
version 2019
- General fixes in Core, API and documentation
- Add support of gitlab CI to run non regression tests
- Add possibility to run examples using
Ctest
- Re-activation of windows cross-compiling script
- Fix in python API of ANN library
- Add
getVerletAdjsz
,getVerletIantac
andgetAllIdata
accessors tointer_handler
modules to get contactor verlet map of interactions - Improve efficiency of VTK file writing when using vtk6 or higher
- Add possibility to build LMGC90 using conda compiler on Windows and Linux
- Add support of
IQS_CLB_RGR
contact law in pre - Add
UseCurrentNonuc0
toPTPT2
module (like in 3D) and add corresponding test
Impact on command scripts
- to add user fields when calling
WriteDisplayFiles
command,tactor
keyword must be replaced bytacts
version 2018
- General fixes in Core, API and documentation
-
T3xxx
mechanical finite element now use 3 Gauss points for stiffness computation (instead of 1 before). To use only 1 Gauss points there are nowT3lxx
andTe4lx
elements - Add
NARD_ROD
contact law of Artoni and Neveu - Improve management of big polyhedra
- 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 - Update in MP modules, especially in read/write API
- A newer version of the MatLib is provided by default
-
pre.lecture
real name is nowpre.readMesh
(but is still usable as is) - Switch all docstrings and error/warning messages left in french to english
-
checkInteractiveCommand
now tries to write MP_VALUES files -
dim
parameters is now mandatory in functionpre.writeBulkBehav
- In
pre.rigidJonc
andpre.rigidPlan
last axes MUST be less than the others - Automatic switch between HDF5 and old OUTBOX directory and associated documentation added
- Add
rigidsFromMesh3D
in the preprocessor -
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 - Add triangle intersection detection between
POLYR
contactors - Fixes of periodicity management in 3D
-
CLALp
module can now provide for each contact the value of strain of its nearest Gauss point - Default use of MUMPs in 3D if available
- Added notebooks to explain how to add user field in Paraview files
- Added function
RBDY3_CheckEquilibriumState
- Cleaning of source code (optional non functional
WITH_NEW
compilation flag and all associated code has been removed)
Impact on command scripts
- It is now recommended to use:
chipy.ReadIni(step)
chipy.ReadIniMpValues(step)
chipy.WriteOut(freq)
chipy.WriteOutMvValues(freq)
which will read or write all stored data within the database, instead of specifying all type of files (DOF
, GPV
, VlocRloc
, MP_VALUES
).
-
The function:
chipy.overall_WriteOutMpValues
is renamed:
chipy.TimeEvolution_WriteOutMpValues
Impact for Core developpers
The function:
write_out_mp_values
is renamed:
write_xxx_mp_values
version 2017
- Better handling of Python 3 on MacOs
- Datafields
Reac_
andRaux_
, used in accessors, are now forces. New fieldsIreac
andIaux_
have been added to access impulsions - 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 - Add a
RecupRlocByPosition
forCLALp
andCSASp
contacts - A partial restart of the post-processing files
- 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
- Use of integer parameters instead of string for contact status in solver
- Several fixes on the timers (especially when involving multi-threading)
- Fix of minor bugs here and there
Impact on command scripts
-
Reac_
andRaux_
fields are not available through getPtrBodyVector (butIreac
and Iaux_` are) - Old interactions accessors (like
DKDKx_GetNbDKDKx
) disappeared - They are replaced by functions of the form
chipy.inter_handler_2D_getNb( inter_type_id )
whereinter_type_id
is an integer - The
inter_type_id
is accessible through variables of thechipy
module (chipy.DKDKx_ID
):
Impact for Core developpers
-
Reac
andRaux
becomeIreac
andIaux
in the body type definition - Many functions/accessor in detection modules disappeared. The main way to access to interaction is now through the handlers
- Look into the
inter_handler_2/3D
module, thepublic
sections list the available functions in each module. The first parameter is the type of interactions which is an integer from theparameter
module.
version 2016
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.
If lmgc90_user/src/addons is in your $PATH
environment variable, run:
update_gen_2016.py gen_sample.py
To update gen_sample.py script.
You can replace the script name by a directory to try to update all python scripts in it.
There are cases where the script may fail, here is the list of changes so that you can correct you scripts yourself:
- change of
pre_lmgc
submodule name topre
(submodule ofpylmgc90
) - in
tact_behav
constructor, argument nametype
is replaced bylaw
- in
model
constructor, argument nametype
is replaced byphysics
- in
material
constructor, argument nametype
is replaced bymaterialType
- in
avatar.addContactors
method, argument nametype
is replaced byshape
- in
avatar.rotate
method, argument nametype
is replaced bydescription
- in
avatar.imposeDrivenDof
method, argument nametype
is replaced bydescription
- in
postpro_command
constructor, argument nametype
is replaced byname
- in
buildMesh2D
function, argument nametype_mesh
is replaced bymesh_type
- in
brick2D.deformableBrick
method, argument nametype
is replaced bymesh_type
- in
brick2D.explodedDeformableBrick
method, argument nametype
is replaced bymesh_type
- in
avatar
constructor, argument namedtype
has been removed - in
node
constructor, argument namedtype
has been removed - in
element
constructor, argument namedtype
is replaced byelem_dim
and the corresponding value must be the geometrical dimension of the element
back |
---|