Skip to content

Useful tricks and some extensions for FEniCs and other FEM-related utilities (fe + tricks: where "fe" stands for FEM, FEniCs and me :) )

License

Notifications You must be signed in to change notification settings

felipefr/fetricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetricks

Author: Felipe Rocha, f.rocha.felipe@gmail.com, felipe.figueredo-rocha@ec-nantes.fr

Useful tricks and extensions for Fenics and other FEM tools in Python

FE + tricks : where FE stands for Fenics and Finite Element.

This little project is born with the aim of assembling some tricks and extensions of Fenics (2019.1) and other FEM-related routines I have been using in different codes. They are mostly concerning applications in Continuum Mechanics, but not only that. There are also data management functions wrapping HDF5 python implementation.

Some of the public projects that use fetricks are micmacsfenics (https://github.com/felipefr/micmacsFenics) and ddfenics (https://github.com/felipefr/micmacsFenics).

I should acknowledge the excellent tutorial of Jeremy Bleyer (https://comet-fenics.readthedocs.io/en/latest/), from which some functions have adapted.se

Installation

Install with : pip install . (origin directory where setup.py is located) . Don't run "python setup.py install", because it usually does not link correctly.

If you want to keep track of files for uninstall reasons, do: python setup.py install --record files.txt xargs rm -rf < files.txt

Citation

Please cite DOI if this library has been useful in your research.

This tools have been developed to assist or during the developement of the following other libraries:

  • micmacsfenics: DOI
  • deepbnd: DOI
  • ddfenics : DOI

Please consider in citing the following article if you use micmacsfenics (multimaterial, Gauss point based implicit material laws) or deepbnd (hdf5, data-management) related functions

@article{Rocha2023, title = {DeepBND: A machine learning approach to enhance multiscale solid mechanics}, journal = {Journal of Computational Physics}, pages = {111996}, year = {2023}, issn = {0021-9991}, doi = {https://doi.org/10.1016/j.jcp.2023.111996}, url = {https://www.sciencedirect.com/science/article/pii/S0021999123000918}, author = {Felipe Rocha and Simone Deparis and Pablo Antolin and Annalisa Buffa} }

About

Useful tricks and some extensions for FEniCs and other FEM-related utilities (fe + tricks: where "fe" stands for FEM, FEniCs and me :) )

Resources

License

Stars

Watchers

Forks

Packages

No packages published