Replies: 2 comments 4 replies
-
Hi @ay8tb It will help a lot if you can share the whole script. I think probably @mikerife or @pmaroneh can help you better with this. In the meantime, I will use mapdl.geometry.area_select([6,6])
mapdl.sfa('ALL', 1, 'PRES', press)
mapdl.allsel()
mapdl.psf(key=2, kshell=1, color='ON')
mapdl.show("png")
mapdl.eplot(vtk=False)
mapdl.show("close") |
Beta Was this translation helpful? Give feedback.
-
Hi @ay8tb In the PyMAPDL script you provided since the pressure is applied to an area the pressure symbols do not show up when plotting elements via the: mapdl.sfa('ALL', 1, 'PRES', press)
mapdl.allsel()
mapdl.psf('PRES',key=2, color='ON')
mapdl.show("png")
mapdl.eplot(vtk=False)
mapdl.show("close") You may want to either replace the eplot with a aplot(vtk=False) or use the open_gui() to open the model in MAPDL interactive and double check that the model is set up correctly. Or you can issue a SFALIST command to list the applied surface pressures. Mike |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm having some difficulty showing where the surface pressure is on an element plot in order to ensure it's in the right direction and surface. Here is a snippet of the code:
Any suggestions? I've tried looking at the examples in the documentation but I'm unable to find one that plots before the solution. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions