Skip to content

MapdlExitedError when using mapdl.plot() #2987

Answered by mikerife
JUNGEONSKKU asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @JUNGEONSKKU
Ok there are some weird characters in the OneDrive path where the file was written to. Here is the oddly named folder:

\¹ÙÅÁ È­¸é\

It is in both a /OUT and /TITLE commands in the ANF file. I took out those two lines plus the ending /OUT, saved, and then imported the ANF file and it worked. Here is the PyMAPDL script I used:

from ansys.mapdl.core import launch_mapdl
import os
path = os.getcwd()

mapdl = launch_mapdl(run_location=path, additional_switches='-smp')

mapdl.finish()
mapdl.clear()

read_anf = mapdl.input("simplechip.anf")

mapdl.aplot(color_areas=True)

Mike

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@JUNGEONSKKU
Comment options

@JUNGEONSKKU
Comment options

@mikerife
Comment options

Answer selected by JUNGEONSKKU
@JUNGEONSKKU
Comment options

@germa89
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants