Neml2

Latest version: v2.0.0

Safety actively analyzes 714736 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.0

Summary
This is the end of year release including most of the efforts in FY24. An accompanying technical report has been released to OSTI: https://www.osti.gov/biblio/2440430

Notable changes
* Fix decoupled crystal plasticity integration with explicit orientation integration by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/141
* FY24 documentation improvements by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/142
* Add mixed stress/strain control to solid_mechanics models by reverendbedford in https://github.com/applied-material-modeling/neml2/pull/144
* Add the Kocks-Mecking flow rule by reverendbedford in https://github.com/applied-material-modeling/neml2/pull/149
* Replace HIT with WASP by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/151
* EnumSelection and global settings by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/153
* Fix a bug on recursive parameter declaration by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/158
* Fix inplace operation error by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/160
* Add benchmark problems by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/161
* Fix memory allocation bug in ImplicitUpdate by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/164
* Miscellaneous hardening models by reverendbedford in https://github.com/applied-material-modeling/neml2/pull/166
* Improve clobber.sh by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/169
* Allow inspection of loaded options in the Factory by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/171
* Parameter/buffer type introspection by hugary1995 in https://github.com/applied-material-modeling/neml2/pull/172
* Test scalar trial stress update by dschwen in https://github.com/applied-material-modeling/neml2/pull/173

New Contributors
* dschwen made their first contribution in https://github.com/applied-material-modeling/neml2/pull/173

**Full Changelog**: https://github.com/applied-material-modeling/neml2/compare/v1.4.0...v2.0.0

1.4.0

Key changes

- pytorch version 2.2.2
- The SumModel now takes an additional coefficients vector
- Added the Olevsky-Skorohod sintering stress model
- Added a free sintering example
- Added eigenstrain and thermal eigenstrain models
- Added support for decoupled nonlinear (sub)systems
- Added an example CP single crystal problem using decoupled time integration
- Added an example to use torch script as (part of) the model

**Full Changelog**: https://github.com/reverendbedford/neml2/compare/v1.3.1...v1.4.0

1.3.1

Increments version number and (hopefully) releases to PyPI.

1.3.0

What's Changed
* Python bindings now available. This release will be made avialable on PyPi.
* Crystal plasticity models added and verified against NEML.
* Generic nonlinear parameters, i.e. for temperature dependent material models.
* Gurson-Tvergaard-Needleman model
* Various improvements to the build system
* Added a polynomial ROM example

**Full Changelog**: https://github.com/reverendbedford/neml2/compare/v1.2.0...v1.4.0

1.2.0

This release contains various bug fixes and feature improvements. Most notably, this release is accompanied by an ANL report authorized for release. The report was automatically generated using doxygen with tag v1.2.0. It serves as a static reference manual and also a starting point for technical documentation -- future ANL reports on NEML2 will mostly focus on changes and improvements and will not repeat the same set of notes over again.

Other notable changes include
- The `Predictor` system is removed. Instead, we let the "driver" programs handle predictor calculation. An example predictor implementation is available in `TransientDriver`.
- An initial effort in integrating NEML2 into [BlackBear](https://github.com/idaholab/blackbear), an application based on the finite element method. A significant speed-up can be achieved by offsetting constitutive updates onto GPU(s) using NEML2. The integration is still being worked on, and is expected to complete in the next few releases.

1.1.0

This release accomplishes most of the basic goals set out for the NEML2 library:
- Easy ability to construct a model and send it to a torch device (GPU) for execution.
- Input file format using the [hit](https://mooseframework.inl.gov/source/parser/Parser.html) parser
- Automatic construction of (static) function trees for models, automatically caching intermediate results and constructing the overall model Jacobians from individual model partial derivatives
- Allows the user to freely choose between AD and hard coded implementations of the model partial derivatives
- An interface to get the parameter partials of complete models for optimization

Future releases will concentrate on:
- Integrating NEML2 into constitutive model training frameworks, like [pyoptmat](https://github.com/Argonne-National-Laboratory/pyoptmat)
- Adding "heavier" constitutive models to demonstrate the benefits of vectorizing the constitutive model update
- Additional examples of applying NEML2 to multiphysics problems
- Better integration into the [MOOSE](https://mooseframework.inl.gov/) framework

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.