-
When using the Mechanical APDL app, to have more that 9 contours. I used to choose the WIN32C device via /show and specify 128 contour through /contour. Then, when I would redirect plots to PNG, 128 contours would be used. I think it only works from the second export and only if I choose the background to be white. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @Artyom-K mapdl.view(1,1,1,1)
mapdl.show('png','','',8)
mapdl.contour(1,100,'auto')
mapdl.plnsol('temp') Whereas this: mapdl.view(1,1,1,1)
mapdl.contour(1,100,'auto')
mapdl.show('png','','',8)
mapdl.plnsol('temp') Results in the nine-banded standard plot. Have you looked into the post_processing module instead? It is plotting results via PyVista and PyVista gives a lot of control to the color map and scalar bar. Mike |
Beta Was this translation helpful? Give feedback.
-
Hi @Artyom-K Maybe @germa89 can comment on the post_processing method supporting CPT215 elements...? We should be able to gather the data and get the plot you want by way of PyVista. Do you have a small test model that you can share? If not I can create one. Mike |
Beta Was this translation helpful? Give feedback.
Hi @Artyom-K
Which order were the commands issued in? Make sure that the CONTOUR command is after the SHOW command. For example:
Results in
Whereas this:
Results in the nine-banded standard plot. Have you looked into the post_processing module instead? It is plotting results via PyVista and PyVista gives a lot of control to the color map and scalar bar.
Mike