Closed MakisH closed 1 year ago
aste-turbine: :x:
precice-aste-evaluate: command not found
channel-transport/fluid-nutils/run.sh: :x:
opened log at file:///home/vagrant/public_html/fluid.py/log-1.html
nutils v6.3 "garak-guksu"
start Mon Nov 21 11:22:59 2022
Running utils
ValueError: not a 'str': ['u']
channel-transport-reaction: :o:
Super skewed though. fluid reaches t= 5/5 while the chemical part is still at t=1.25/5
elastic-tube-1d: python :o: (cpp untested)
elastic-tube-3d: fluid-openfoam + solid-calculix :o: (plot displacements doesn't work though) fluid-openfoam + solid-fenics :o:
@fsimonis thanks for testing! I fixed several issues (including the aste and nutils) and restarted the build.
Super skewed though. fluid reaches t= 5/5 while the chemical part is still at t=1.25/5
This is fine, right? It is a uni-directional coupling.
elastic-tube-3d: fluid-openfoam + solid-calculix :o: (plot displacements doesn't work though)
What is the error you get? Did you run both cases before running the plotting script? In any case, this would be something for the tutorials.
fluid-openfoam + solid-fenics :o:
The solid-fenics
case does not seem to work for me, at least in my now modified VM (which should not have anything relevant):
vagrant@precicevm:~/tutorials/elastic-tube-3d/solid-fenics$ ./run.sh
Traceback (most recent call last):
File "solid.py", line 2, in <module>
from fenics import Constant, Function, AutoSubDomain, VectorFunctionSpace, interpolate, \
File "/usr/lib/python3/dist-packages/fenics/__init__.py", line 7, in <module>
from dolfin import *
File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/__init__.py", line 144, in <module>
from .fem.assembling import (assemble, assemble_system, assemble_multimesh, assemble_mixed,
File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/fem/assembling.py", line 38, in <module>
from ufl.form import sub_forms_by_domain
ImportError: cannot import name 'sub_forms_by_domain' from 'ufl.form' (/home/vagrant/.local/lib/python3.8/site-packages/ufl/form.py)
This seems to be working in v2202, so, if you can reproduce it, it will be a regression.
(update: it seems to be running correctly in the original VM that you tried. I will wait for this build to complete to find out if solid-fenics
still works in the VM.)
Regarding the plotting script, this does not seem to be a regression: https://github.com/precice/vm/issues/63
Update: It does not even seem to be an issue. @fsimonis please confirm.
With the latest build:
Removing pandas
did not help. Removing the aste
directory from PATH did not help (maybe there was some metis conflict). Removing dune-fem
did not help. Removing atril
did not help. Removing nutils
did not help. Removing python3.8-venv
did not help. The only thing I can imagine is that installing python3.8-venv
and starting a venv (which I have deactivated) messed up something.
Is maybe just FEniCS broken right now and I got a bad update?
vagrant@precicevm:~/tutorials/flow-over-heated-plate/solid-fenics$ ./run.sh
No protocol specified
Traceback (most recent call last):
File "solid.py", line 6, in <module>
from fenics import Function, SubDomain, RectangleMesh, BoxMesh, FunctionSpace, VectorFunctionSpace, Point, \
File "/usr/lib/python3/dist-packages/fenics/__init__.py", line 7, in <module>
from dolfin import *
File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/__init__.py", line 144, in <module>
from .fem.assembling import (assemble, assemble_system, assemble_multimesh, assemble_mixed,
File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/fem/assembling.py", line 38, in <module>
from ufl.form import sub_forms_by_domain
ImportError: cannot import name 'sub_forms_by_domain' from 'ufl.form' (/home/vagrant/.local/lib/python3.8/site-packages/ufl/form.py)
aste-turbine
completes :green_circle: channel-transport
Nutils cases start :green_circle: flow-over-heated-plate/solid-dunefem
starts :green_circle: flow-over-heated-plate/solid-nutils
starts :green_circle: perpendicular-flap/fluid-nutils
starts (with Nutils 6.3 automatically set) :green_circle: elastic-tube-1d
C++ cases start :green_circle: oscillator
works :green_circle: Other than FEniCS, I am triggering a new build to get the new tutorials, and this is ready.
The error seen with FEniCS is a known issue and has been mentioned in the troubleshooting section of the fenics-adapter. I am trying to see if the solution written there also works for the vm, will open a PR if that is the case.
I confirm that the FEniCS cases now also run. Thank you very much! :hugs:
Continuing with unreleased changes from https://github.com/precice/vm/pull/44.
New changes
perpendicular-flap/fluid-nutils
tutorial case)master
->main
)Previously unreleased changes