festim-dev / FESTIM-workshop

Learn how to simulate hydrogen transport with FESTIM
Apache License 2.0
17 stars 7 forks source link

Unknown ufl object type FiniteElement #52

Open RaphaelCSIR opened 6 months ago

RaphaelCSIR commented 6 months ago

Hi, I tried to run task 1 in Jupyter notebook with Ubuntu in Windows (I download all packages including FEniCS) and this error return right after these lines:

my_model.initialise() my_model.run()

Any idea?

Thanks Raph

KulaginVladimir commented 6 months ago

Hello @RaphaelCSIR How did you install FEniCS? What is the full traceback of your error message?

RemDelaporteMathurin commented 6 months ago

Hi @RaphaelCSIR it seems you forgot to post the error message you obtained. It would help to assist you

RemDelaporteMathurin commented 6 months ago

Just googling the error you gave in the title I found this discourse post with a similar error

I think this is an install problem. Please try following the installation instructions given in the README and in the FESTIM documentation. We recommend using Anaconda to install fenics

If you are cloning this repository then simply run:

conda env create -f environment.yml

This should create an environment called festim-workshop that you can activate with

conda activate festim-workshop

You should also be able to enable this environment in the jupyter-notebooks to run them