I’m using v2017.2 and modelling inelasticity with quadrature representation (Quadrature “FiniteElement” space) for stress calculations. Is there any equivalent function space in newer versions (v2018, v2019) which provides more robust solution ? Is there any alternative ? Thanks.
I’ve found the new form compiler TSFC to be more robust with quadrature elements. It’s not included in FEniCS by default, but it can be installed manually using
pip3 install git+https://email@example.com
pip3 install git+https://github.com/blechta/COFFEE.firstname.lastname@example.org
pip3 install git+https://github.com/blechta/FInAT.email@example.com
pip3 install singledispatch networkx pulp
then used in FEniCS Python scripts much like
parameters["form_compiler"]["representation"] = 'tsfc'
One other trick is that, for especially complicated
Forms, I find that I sometimes need to manually raise Python’s default recursion limit, which can be done as follows:
Thank you for your suggestion. Does it also compatible with v2017.2 ? And how can I download it by docker ?
It looks like Jan Blechta’s port of TSFC to FEniCS has a release for 2017.2, although I’ve never tried using it with that version.
pip3 should work for installing things within a Docker container.