Skip to content

MAPDL server connection terminated #652

Answered by jgd10
alexanderludick asked this question in Q&A
Discussion options

You must be logged in to vote

@alexanderludick The code seems to run OK for me, although there are a couple of errors in the code snippet you provided that could be affecting things (although I'm not sure how they'd make the script fail).

My revised version is below:

# import isn't used
# from ansys.mapdl import core as pymapdl
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl( loglevel="DEBUG")
print(mapdl)

mapdl.run("/CLEAR")
mapdl.run("/UIS,MSGPOP,2")
mapdl.keyw("PR_SGVOF", 1)
mapdl.run("/NERR,5,10000, ,0,5,")

Radius = 0.0359/2
Height = 1.03
Thickness = 0.00325
Dens_Fluid = 998
Sonc_Fluid = 1482
Ex_Solid = 200e9
PRXY_Solid = 1482
Dens_Solid = 7850

mapdl.prep7()
# to mute the output, mapdl.mute needs…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@alexanderludick
Comment options

@jgd10
Comment options

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