In #FElupe, a #python package of mine, I changed the API of a function: the output included two return variables (boundaries, loadcase), where the second one is nowadays mostly unused. So I added a new argument return_loadcase=None, which does not change the return behavior, but marked as deprecated. In a future major version, return_loadcase will be False by default. Now all users have at least one major version time to update existing scripts. Is this good practise or could this be improved?

#opensource #computationalmechanics #scientificcomputing #coding #finiteelements

If one has a linear-elastic material in mind, one would assume this works for any kind of finite element simulations. In case of large rotations and large strains, "linear" is not unique. There are many different implementations of linear-elastic materials. Beside the mathematical details, a cube, rotated by 90ยฐ and stretched to a factor of 2, will show different deformations. You'll see a small-strain, Total-Lagrange (Saint-Venant Kirchhoff material) and the co-rotated framework as well as a compressible Neo-Hookean material model formulation.

Reminder: don't use small-strain linear-elastic material formulations in simulations where large rotations occur - just because the strains are "small".

All figures created by #felupe for simulation and #pyvista for plotting.

#python #computationalmechanics #scientificcomputing #numpy #fem #fea #opensource

๐ŸŽ‰ Iโ€™m proud to share that our paper has been accepted in the Journal of Open Source Software!
Big thanks to everyone who contributed and supported this work ๐Ÿ™Œ

Original JOSS post: https://fosstodon.org/@joss/115333704000509742

#JOSS #OpenSource #Research #PhD #OpenScience #Python #computationalmechanics #scientificcomputing #PyOpenSci #FEA #FElupe

JOSS (@[email protected])

Just published in JOSS: 'FElupe: Finite element analysis for continuum mechanics of solid bodies' https://doi.org/10.21105/joss.09160

Fosstodon

I made a #streamlit app for a nonlinear #fea simulation of a deformable hyperelastic solid body. This uses #FElupe for the simulation and #pyvista / #stpyvista for showing the final result in your browser.

https://felupe-web.streamlit.app/

#computationalmechanics #scientificcomputing #fem #python #opensource #FiniteElementMethod

After a summerbreak, #FElupe development continues! Stay tuned for lots of handy new features: checkpoint/restore, revolve a.k.a. axi-to-3d, simplified handling of multiple solid bodies, etc. These new features are already available in the main git branch and will be released soon.

https://felupe.readthedocs.io/en/latest/

P.S. I'm always open for new ideas, just let me know!

#computationalmechanics #scientificcomputing #python #opensource #fem #fea #finiteelements

FElupe documentation โ€” FElupe

For anyone who quickly wants to plot the force-stretch behavior of a #hyperelastic material model, #FElupe is your handy go-to #python package.

https://felupe.readthedocs.io/en/stable/

#scientificcomputing #computationalmechanics

With Pydroid3, it's possible to run your #FEM simulations in #FElupe on #android.

#scientificcomputing #computationalmechanics #python #opensource #fea

The result of the getting started notebook of #felupe, which is deployed by #jupyterlite on #github, is now ready-to-visualize directly in the browser, thanks to #jupyterview!

https://adtzlr.github.io/felupe-web/lab?path=01_Getting-Started.ipynb

#python #webassembly #scientificcomputing #computationalmechanics #finiteelementmethod

JupyterLite

WASM powered Jupyter running in the browser.