Please wait...
×

Error

Posted Sat, 11 May 2024 14:00:19 GMT by x Huang
Uh, format has been corrupted. My error is:  doc.c.plot.faces() ---> AttributeError: 'doctype' object has no attribute 'c' ifm github repo tutorial link: https://github.com/DHI/ifm/blob/master/tutorials/mass-load-boundary-condition.ipynb  
Posted Tue, 14 May 2024 10:15:26 GMT by Carlos Andres Rivera Villarreyes Global Product Specialist - FEFLOW
If you see that the script has a line "import ifm_contrib as ifm", this means that it is not really using the standard IFM functionality. The script contains a layer above named "contribution", which is a community extension. FEFLOW standard IFM will give you all the arrays of results. These can be subsequently used by any graphical Python packages for visualization and/or plotting such as Matplotlib, PyVista, etc. You may want to visit our free self-paced course about FEFLOW Python integration. I have few official examples how to plot FEFLOW's results with Matplotlib. The link is below https://www.theacademybydhi.com/course-sessions/feflow---getting-started-with-feflow-python-interface-11600061-149  
Posted Thu, 16 May 2024 06:26:51 GMT by x Huang
Thank you, I will look into it🫡. I had found the GitHub repository for ifm_contrib, and if there are no conflicts of interest, perhaps it could also be mentioned in the documentation of the software.  

You must be signed in to post in this forum.