can not use fenics in FEATOOL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

can not use fenics in FEATOOL

Siyu-Guo
I complete the installation of FEniCS according to the process in ''https://www.featool.com/doc/fenics#fenics_install_ubuntu'', but  fenics can not be used well in FEATOOL as shown as below:

Hope get your help. I will appreciate it well.
Reply | Threaded
Open this post in threaded view
|

Re: can not use fenics in FEATOOL

Precise Simulation
Administrator
The error message indicates that the variable "m" is not assigned to anything on line 59 in the fenics python script. "m" is most likely a user defined variable or expression defined in your particular model, so you would have to find the definition, see why it could not be automatically converted, and possibly manually edit and correct the fenics python script for it to run.
Reply | Threaded
Open this post in threaded view
|

Re: can not use fenics in FEATOOL

Siyu-Guo
Thanks, I solved the above problem by reinstalling the software.
However, I encountered a new problem.
I set up a model controlled by two equations,Navier-Stokes equations and heat transfer equation. when i use built-in Laminar flow model, i can solve the results. But when i use fenics solver, the following errors occur:


How to work out the problem?
I appreciate your reply.
Reply | Threaded
Open this post in threaded view
|

Re: can not use fenics in FEATOOL

Siyu-Guo
This post was updated on .
Supplement to the last message
when i runn the MATLAB command:
when i read the content of "https://www.featool.com/doc/fenics#fenics_install" as follows,

I wonder how to ensure that MATLAB can see the specific environment with FEniCS when calling Python?
What is the meaning of calling python?