Low-level communication error by usign pyansys
See original GitHub issueBefore submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
I am making a code in pyansys, and it works fine for a certain element size. When I try to decrease the element size to have more accuracy, python shows me this error:
EAnsysUnknown: AAS_CORBA.MAPDL.Exceptions.EAnsysUnknown(code=-15, description='Low-level communication error -15:
Connection was closed', scope='MAPDL', interfaceName='ICoMapdlUnit', operation='executeCommand', moreInfo='SOLVE,')
If I stop the code before solving and use Mapdl.open_gui() to access ansys and hit solve, Ansys solves without problems. I don’t know what could be going on. If I try to decrease even more the element size, Ansys closes without warning (once I access Ansys with open_gui).
Steps To Reproduce
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
from subfunctions import ceRVE
from subfunctions import SRECOVER
from timeit import default_timer as timer
import numpy as np
start = timer()
mapdl.units("uMKS")
Lxl=11
Lyl=5
Lz=2.5
Lxh=10.13
Lyh=4.13
Lxc=9
Lyc=3
Lz=2.5
a1=Lz/2
a2_l=Lxl/2
a2_h=Lxh/2
a2_c=Lxc/2
a3_l=Lyl/2
a3_h=Lyh/2
a3_c=Lyc/2
# Material 1 - Cellulose
Ec_11=130e3
Ec_22=15e3
Gc_12=3e3
vc_21=0.01
vc_32=0.5
# Material 2 - Hemicelullose
Eh_11=14e3
Eh_22=3e3
Gh_12=1e3
vh_21=0.1
vh_32=0.4
# Material 3 - Lignin
El=2e3
vl=0.33
#import matplotlib.pyplot as plt
#import numpy as np
mapdl.prep7()
mapdl.mp("EX",1,Ec_22) # CELLULOSE Fiber material properties in TeraPascals [TPa]
mapdl.mp("EY",1,Ec_22)
mapdl.mp("EZ",1,Ec_11)
mapdl.mp("PRXY",1,vc_32)
mapdl.mp("PRXZ",1,vc_21)
mapdl.mp("PRYZ",1,vc_21)
mapdl.mp("GXY",1,Gc_12)
mapdl.mp("GXZ",1,Gc_12)
mapdl.mp("GYZ",1,Gc_12)
mapdl.mp("EX",2,Eh_22) # Fiber material properties in TeraPascals [TPa]
mapdl.mp("EZ",2,Eh_11)
mapdl.mp("EY",2,Eh_22)
mapdl.mp("PRXY",2,vh_32)
mapdl.mp("PRXZ",2,vh_21)
mapdl.mp("PRYZ",2,vh_21)
mapdl.mp("GXZ",2,Gh_12)
mapdl.mp("GXY",2,Gh_12)
mapdl.mp("GYZ",2,Gh_12)
mapdl.mp("EX",3,El)
mapdl.mp("PRXY",3,vl)
mapdl.et(1,"SOLID186")
mapdl.k(1,-a2_l,-a3_l,a1)
mapdl.k(2,-a2_h,-a3_l,a1)
mapdl.k(3,-a2_c,-a3_l,a1)
mapdl.k(4,a2_c,-a3_l,a1)
mapdl.k(5,a2_h,-a3_l,a1)
mapdl.k(6,a2_l,-a3_l,a1)
mapdl.k(7,-a2_l,-a3_h,a1)
mapdl.k(8,-a2_h,-a3_h,a1)
mapdl.k(9,-a2_c,-a3_h,a1)
mapdl.k(10,a2_c,-a3_h,a1)
mapdl.k(11,a2_h,-a3_h,a1)
mapdl.k(12,a2_l,-a3_h,a1)
mapdl.k(13,-a2_l,-a3_c,a1)
mapdl.k(14,-a2_h,-a3_c,a1)
mapdl.k(15,-a2_c,-a3_c,a1)
mapdl.k(16,a2_c,-a3_c,a1)
mapdl.k(17,a2_h,-a3_c,a1)
mapdl.k(18,a2_l,-a3_c,a1)
mapdl.k(19,-a2_l,a3_c,a1)
mapdl.k(20,-a2_h,a3_c,a1)
mapdl.k(21,-a2_c,a3_c,a1)
mapdl.k(22,a2_c,a3_c,a1)
mapdl.k(23,a2_h,a3_c,a1)
mapdl.k(24,a2_l,a3_c,a1)
mapdl.k(25,-a2_l,a3_h,a1)
mapdl.k(26,-a2_h,a3_h,a1)
mapdl.k(27,-a2_c,a3_h,a1)
mapdl.k(28,a2_c,a3_h,a1)
mapdl.k(29,a2_h,a3_h,a1)
mapdl.k(30,a2_l,a3_h,a1)
mapdl.k(31,-a2_l,a3_l,a1)
mapdl.k(32,-a2_h,a3_l,a1)
mapdl.k(33,-a2_c,a3_l,a1)
mapdl.k(34,a2_c,a3_l,a1)
mapdl.k(35,a2_h,a3_l,a1)
mapdl.k(36,a2_l,a3_l,a1)
mapdl.k(37,-a2_l,-a3_l,-a1)
mapdl.k(38,-a2_h,-a3_l,-a1)
mapdl.k(39,-a2_c,-a3_l,-a1)
mapdl.k(40,a2_c,-a3_l,-a1)
mapdl.k(41,a2_h,-a3_l,-a1)
mapdl.k(42,a2_l,-a3_l,-a1)
mapdl.k(43,-a2_l,-a3_h,-a1)
mapdl.k(44,-a2_h,-a3_h,-a1)
mapdl.k(45,-a2_c,-a3_h,-a1)
mapdl.k(46,a2_c,-a3_h,-a1)
mapdl.k(47,a2_h,-a3_h,-a1)
mapdl.k(48,a2_l,-a3_h,-a1)
mapdl.k(49,-a2_l,-a3_c,-a1)
mapdl.k(50,-a2_h,-a3_c,-a1)
mapdl.k(51,-a2_c,-a3_c,-a1)
mapdl.k(52,a2_c,-a3_c,-a1)
mapdl.k(53,a2_h,-a3_c,-a1)
mapdl.k(54,a2_l,-a3_c,-a1)
mapdl.k(55,-a2_l,a3_c,-a1)
mapdl.k(56,-a2_h,a3_c,-a1)
mapdl.k(57,-a2_c,a3_c,-a1)
mapdl.k(58,a2_c,a3_c,-a1)
mapdl.k(59,a2_h,a3_c,-a1)
mapdl.k(60,a2_l,a3_c,-a1)
mapdl.k(61,-a2_l,a3_h,-a1)
mapdl.k(62,-a2_h,a3_h,-a1)
mapdl.k(63,-a2_c,a3_h,-a1)
mapdl.k(64,a2_c,a3_h,-a1)
mapdl.k(65,a2_h,a3_h,-a1)
mapdl.k(66,a2_l,a3_h,-a1)
mapdl.k(67,-a2_l,a3_l,-a1)
mapdl.k(68,-a2_h,a3_l,-a1)
mapdl.k(69,-a2_c,a3_l,-a1)
mapdl.k(70,a2_c,a3_l,-a1)
mapdl.k(71,a2_h,a3_l,-a1)
mapdl.k(72,a2_l,a3_l,-a1)
mapdl.v(1,2,8,7,37,38,44,43)
mapdl.v(2,3,9,8,38,39,45,44)
mapdl.v(3,4,10,9,39,40,46,45)
mapdl.v(4,5,11,10,40,41,47,46)
mapdl.v(5,6,12,11,41,42,48,47)
mapdl.v(7,8,14,13,43,44,50,49)
mapdl.v(8,9,15,14,44,45,51,50)
mapdl.v(9,10,16,15,45,46,52,51)
mapdl.v(10,11,17,16,46,47,53,52)
mapdl.v(11,12,18,17,47,48,54,53)
mapdl.v(13,14,20,19,49,50,56,55)
mapdl.v(14,15,21,20,50,51,57,56)
mapdl.v(15,16,22,21,51,52,58,57)
mapdl.v(16,17,23,22,52,53,59,58)
mapdl.v(17,18,24,23,53,54,60,59)
mapdl.v(19,20,26,25,55,56,62,61)
mapdl.v(20,21,27,26,56,57,63,62)
mapdl.v(21,22,28,27,57,58,64,63)
mapdl.v(22,23,29,28,58,59,65,64)
mapdl.v(23,24,30,29,59,60,66,65)
mapdl.v(25,26,32,31,61,62,68,67)
mapdl.v(26,27,33,32,62,63,69,68)
mapdl.v(27,28,34,33,63,64,70,69)
mapdl.v(28,29,35,34,64,65,71,70)
mapdl.v(29,30,36,35,65,66,72,71)
#---------------------------------Meshing---------
#THe mesh has to place a node in (0,0)
etam=0.3
tol2=0.001
a2c_size=round(2*a2_c/etam)
mapdl.lsel("S","LOC","x",-a2_c+tol2,a2_c-tol2)
mapdl.cm("a1_lines","LINE")
mapdl.lesize("a1_lines","","",a2c_size)
a3c_size=round(2*a3_c/etam)
mapdl.lsel("S","LOC","y",-a3_c+tol2,a3_c-tol2)
mapdl.cm("b1_lines","LINE")
mapdl.lesize("b1_lines","","",a3c_size)
a2h_size=round((a2_h-a2_c)/(etam))
mapdl.lsel("S","LOC","x",-a2_c-tol2,-a2_h+tol2)
mapdl.lsel("A","LOC","x",a2_c+tol2,a2_h-tol2)
mapdl.cm("a2_lines","LINE")
mapdl.lesize("a2_lines","","",a2h_size)
a3h_size=round((a3_h-a3_c)/(etam))
mapdl.lsel("S","LOC","y",-a3_c-tol2,-a3_h+tol2)
mapdl.lsel("A","LOC","y",a3_c+tol2,a3_h-tol2)
mapdl.cm("b2_lines","LINE")
mapdl.lesize("b2_lines","","",a3h_size)
a2l_size=round((a2_l-a2_h)/(etam))
mapdl.lsel("S","LOC","x",-a2_h-tol2,-a2_l+tol2)
mapdl.lsel("A","LOC","x",a2_h+tol2,a2_l-tol2)
mapdl.cm("a3_lines","LINE")
mapdl.lesize("a3_lines","","",a2l_size)
a3l_size=round((a3_l-a3_h)/(etam))
mapdl.lsel("S","LOC","y",-a3_h-tol2,-a3_l+tol2)
mapdl.lsel("A","LOC","y",a3_h+tol2,a3_l-tol2)
mapdl.cm("b3_lines","LINE")
mapdl.lesize("b3_lines","","",a3l_size)
a1_div=6
mapdl.lsel("S","LOC","z",-a1+tol2,a1-tol2)
mapdl.cm("az_lines","LINE")
mapdl.lesize("az_lines","","",a1_div)
# MESHING
#----------Material 1
mapdl.allsel()
mapdl.vatt(1)
mapdl.vsel('',"","",13)
mapdl.cm("mat1","VOLU")
mapdl.vmesh("mat1")
#----------Material 3
mapdl.allsel()
mapdl.vatt(3)
mapdl.vsel("S","LOC","x",-a2_h-tol2,-a2_l+tol2)
mapdl.vsel("A","LOC","x",a2_h+tol2,a2_l-tol2)
mapdl.vsel("A","LOC","y",-a3_h-tol2,-a3_l+tol2)
mapdl.vsel("A","LOC","y",a3_h+tol2,a3_l-tol2)
mapdl.cm("mat3","VOLU")
mapdl.vmesh("mat3")
#----------Material 2
mapdl.allsel()
mapdl.vatt(2)
mapdl.vsel("ALL")
mapdl.cm("Vol_T","VOLU")
mapdl.cmsel("S","Vol_T")
mapdl.cmsel("U","mat1")
mapdl.cmsel("U","mat3")
mapdl.cm("mat2","VOLU")
mapdl.vmesh("mat2")
mapdl.finish
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,0,1,0,0,0,0,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C11=SXX0
C21=SYY0
C31=SZZ0
mapdl.finish()
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,0,0,1,0,0,0,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C12=SXX0
C22=SYY0
C32=SZZ0
mapdl.finish()
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,1,0,0,0,0,0,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C13=SXX0
C23=SYY0
C33=SZZ0
mapdl.finish()
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,0,0,0,1/2,0,0,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C44=SXY0
mapdl.finish()
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,0,0,0,0,1/2,0,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C55=SYZ0
mapdl.finish()
mapdl.run("/SOLU")
mapdl.antype("STATIC")
#ceRVE(mapdl,a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12):
#ceRVE(mapdl,a1,a2,a3,epszz,epsxx,epsyy,epsxy,epszy,epsxz):
#1-z , 2-x -3-y
ceRVE(a1,a2_l,a3_l,0,0,0,0,0,1/2,mapdl)
mapdl.solve() # Solve analysis
mapdl.finish() # Exit solution module
mapdl.run("/POST1 ") # Post-processor module
(SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)=SRECOVER(mapdl)
C66=SXZ0
def SRECOVER(mapdl):
mapdl.etable("", 'VOLU',"")
mapdl.etable("","S","X") #Get element stress
#print(mapdl.pretab(label2))
mapdl.etable("" ,"S",'Y')
mapdl.etable("" ,"S",'Z')
mapdl.etable("" ,"S",'XY')
mapdl.etable("" ,"S",'XZ')
mapdl.etable("" ,"S",'YZ')
mapdl.smult("SXV","VOLU","SX",1,1)
#print("sxv_SUMA=",sxv_SUMA)
mapdl.smult("SYV","VOLU","SY",1,1)
mapdl.smult("SZV","VOLU","SZ",1,1)
mapdl.smult("SXYV","VOLU","SXY",1,1)
mapdl.smult("SXZV","VOLU","SXZ",1,1)
mapdl.smult("SYZV","VOLU","SYZ",1,1)
mapdl.ssum()
#print("SSUM_=",SSUM)
TOTVOL=mapdl.get("TOTVOL","SSUM","","ITEM","VOLU") #Integrate stress
TOTSX=mapdl.get("TOTSX","SSUM","","ITEM","SXV")
TOTSY=mapdl.get("TOTSY","SSUM","","ITEM","SYV")
TOTSZ=mapdl.get("TOTSZ","SSUM","","ITEM","SZV")
TOTSXY=mapdl.get("TOTSXY","SSUM","","ITEM","SXYV")
TOTSXZ=mapdl.get("TOTSXZ","SSUM","","ITEM","SXZV")
TOTSYZ=mapdl.get("TOTSYZ","SSUM","","ITEM","SYZV")
SXX0= TOTSX/TOTVOL
#print("SXX0=",SXX0)
SYY0 = TOTSY/TOTVOL
#print("SYY0=",SYY0)
SZZ0 = TOTSZ/TOTVOL
#print("SZZ0 =",SZZ0)
SXY0 = TOTSXY/TOTVOL
#print("SXY0 =",SXY0 )
SXZ0 = TOTSXZ/TOTVOL
#print("SXZ0=",SXZ0)
SYZ0 = TOTSYZ/TOTVOL
#print("SYZ0=",SYZ0)
return (SXX0,SYY0,SZZ0,SXY0,SXZ0,SYZ0)
def ceRVE(a1,a2,a3,eps11,eps22,eps33,eps23,eps13,eps12,mapdl):
# This macro applies CE to a periodic hexaedral RVE
# The RVE must be centred at (0,0,0) and
# a node must exist at (0,0,0)
eps21 = eps12
eps31 = eps13
eps32 = eps23
# PERIODIC BOUNDARY CONDITION EQNS 2-DIR (X-DIR)
# DIR THEORY ANSYS MODEL
# 1 Z
# 2 X
# 3 Y
# ------------------------------------------------------
# CREATE COMPONENT SET: periodic corners, edges and sides
# ------------------------------------------------------
# select side +a1 and -a1 -----------------
mapdl.nsel("s", "loc", "z",-a1-0.001,-a1+0.001)
mapdl.cm("a1n_nodes", "node")
mapdl.nsel("s", "loc", "z",a1-0.001,a1+0.001)
mapdl.cm("a1p_nodes", "node")
# select side +a2 and -a2 -----------------
mapdl.nsel("s", "loc", "x",-a2-0.001,-a2+0.001)
mapdl.cm("a2n_nodes", "node")
mapdl.nsel("s", "loc", "x",a2-0.001,a2+0.001)
mapdl.cm("a2p_nodes", "node")
# select side +a3 and -a3 -----------------
mapdl.nsel("s", "loc", "y",-a3-0.001,-a3+0.001)
mapdl.cm("a3n_nodes", "node")
mapdl.nsel("s", "loc", "y",a3-0.001,a3+0.001)
mapdl.cm("a3p_nodes", "node")
# select edges a1 a2 ---------------------
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("r", "a2n_nodes")
mapdl.cm("a1n_a2n_nodes", "node")
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("r", "a2p_nodes")
mapdl.cm("a1n_a2p_nodes", "node")
mapdl.cmsel("s", "a1p_nodes")
mapdl.cmsel("r", "a2n_nodes")
mapdl.cm("a1p_a2n_nodes", "node")
mapdl.cmsel("s", "a1p_nodes")
mapdl.cmsel("r", "a2p_nodes")
mapdl.cm("a1p_a2p_nodes", "node")
# select edges a1 a3 ---------------------
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("r", "a3n_nodes")
mapdl.cm("a1n_a3n_nodes", "node")
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("r", "a3p_nodes")
mapdl.cm("a1n_a3p_nodes", "node")
mapdl.cmsel("s", "a1p_nodes")
mapdl.cmsel("r", "a3n_nodes")
mapdl.cm("a1p_a3n_nodes", "node")
mapdl.cmsel("s", "a1p_nodes")
mapdl.cmsel("r", "a3p_nodes")
mapdl.cm("a1p_a3p_nodes", "node")
# select edges a3 a2 ---------------------
mapdl.cmsel("s", "a3n_nodes")
mapdl.cmsel("r", "a2n_nodes")
mapdl.cm("a3n_a2n_nodes", "node")
mapdl.cmsel("s", "a3n_nodes")
mapdl.cmsel("r", "a2p_nodes")
mapdl.cm("a3n_a2p_nodes", "node")
mapdl.cmsel("s", "a3p_nodes")
mapdl.cmsel("r", "a2n_nodes")
mapdl.cm("a3p_a2n_nodes", "node")
mapdl.cmsel("s", "a3p_nodes")
mapdl.cmsel("r", "a2p_nodes")
mapdl.cm("a3p_a2p_nodes", "node")
mapdl.cmsel("s", "a1n_a2n_nodes")
mapdl.cmsel("a", "a1n_a2p_nodes")
mapdl.cmsel("a", "a1p_a2n_nodes")
mapdl.cmsel("a", "a1p_a2p_nodes")
mapdl.cmsel("a", "a1n_a3n_nodes")
mapdl.cmsel("a", "a1n_a3p_nodes")
mapdl.cmsel("a", "a1p_a3n_nodes")
mapdl.cmsel("a", "a1p_a3p_nodes")
mapdl.cmsel("a", "a3n_a2n_nodes")
mapdl.cmsel("a", "a3n_a2p_nodes")
mapdl.cmsel("a", "a3p_a2n_nodes")
mapdl.cmsel("a", "a3p_a2p_nodes")
mapdl.cm("edges_nodes", "node")
# select corners a1 a2 a3 ---------------------
mapdl.nsel("all")
a1n_a2n_a3n_corner=mapdl.queries.node(-a2,-a3,-a1)
a1n_a2p_a3n_corner=mapdl.queries.node(a2,-a3,-a1)
a1n_a2n_a3p_corner=mapdl.queries.node(-a2, a3,-a1)
a1n_a2p_a3p_corner=mapdl.queries.node(a2, a3,-a1)
a1p_a2n_a3n_corner=mapdl.queries.node(-a2,-a3, a1)
a1p_a2p_a3n_corner=mapdl.queries.node(a2,-a3, a1)
a1p_a2n_a3p_corner=mapdl.queries.node(-a2, a3, a1)
a1p_a2p_a3p_corner=mapdl.queries.node(a2, a3, a1)
mapdl.nsel("s", "node", "",a1n_a2n_a3n_corner)
mapdl.nsel("a", "node", "",a1n_a2n_a3p_corner)
mapdl.nsel("a", "node", "",a1n_a2p_a3n_corner)
mapdl.nsel("a", "node", "",a1n_a2p_a3p_corner)
mapdl.nsel("a", "node", "",a1p_a2n_a3n_corner)
mapdl.nsel("a", "node", "",a1p_a2n_a3p_corner)
mapdl.nsel("a", "node", "",a1p_a2p_a3n_corner)
mapdl.nsel("a", "node", "",a1p_a2p_a3p_corner)
mapdl.cm("corners_nodes", "node")
mapdl.allsel("ALL")
mapdl.nsel("S", "LOC", "x", 0)
mapdl.nsel("R", "LOC", "Y", 0)
mapdl.nsel("R", "LOC", "Z", 0)
mapdl.d("all", "all")
mapdl.allsel("ALL")
mapdl.cedele("ALL")
mapdl.allsel("ALL")
mapdl.run("ceeq=0")
# PERIODIC BOUNDARY CONDITION EQNS 2-DIR (X-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a2n_nodes")
mapdl.cmsel("u", "edges_nodes")
mapdl.get("num_nodes", "node", 0, "count", "max")
with mapdl.non_interactive:
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a2n_nodes")
mapdl.cmsel("u", "edges_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a2p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(-x_,y_,z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps22*(a2*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps32*(a2*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps12*(a2*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION EQNS 3-DIR (Y-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a3n_nodes")
mapdl.cmsel("u", "edges_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a3n_nodes")
mapdl.cmsel("u", "edges_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a3p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(x_,-y_,z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION EQNS 1-DIR (Z-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("u", "edges_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a1n_nodes")
mapdl.cmsel("u", "edges_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a1p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(x_,y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION EQNS 23-DIR (XY-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a3n_a2n_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a3n_a2n_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a3p_a2p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(-x_,-y_,z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps22*(a2*2))+(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps32*(a2*2))+(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps12*(a2*2))+(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a3n_a2p_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a3n_a2p_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a3p_a2n_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(-x_,-y_,z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(-eps22*(a2*2))+(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(-eps32*(a2*2))+(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(-eps12*(a2*2))+(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION EQNS 31-DIR (YZ-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a1n_a3n_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a1n_a3n_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a1p_a3p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))+(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))+(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))+(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a1n_a3p_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a1n_a3p_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a1p_a3n_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))-(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))-(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))-(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION EQNS 12-DIR (YZ-DIR)
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a1n_a2n_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a1n_a2n_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a1p_a2p_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(-x_,y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))+(eps22*(a2*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))+(eps32*(a2*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))+(eps12*(a2*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
#
mapdl.run("pos_node=")
mapdl.run("neg_node=")
mapdl.cmsel("s", "a1n_a2p_nodes")
mapdl.cmsel("u", "corners_nodes")
mapdl.run("*get,num_nodes,node,0,count,max")
mapdl.run("*do,i,1,num_nodes,1")
mapdl.cmsel("s", "a1n_a2p_nodes")
mapdl.cmsel("u", "corners_nodes")
# neg_node is undefined; use lowest active node number when i=1
mapdl.run("*if,i,ne,1,then")
mapdl.run("neg_node=ndnext(neg_node)")
mapdl.run("*else")
mapdl.run("*get,neg_node,node,0,num,min")
mapdl.run("*endif")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.cmsel("s", "a1p_a2n_nodes")
# get closest node from component neg_a2
mapdl.run("pos_node=node(-x_,y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))-(eps22*(a2*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))-(eps32*(a2*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))-(eps12*(a2*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.run("*enddo")
# PERIODIC BOUNDARY CONDITION Corners
#
mapdl.nsel("s", "node", "",a1n_a2n_a3n_corner)
mapdl.run("*get,neg_node,node,0,num,min")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.nsel("a", "node", "",a1p_a2p_a3p_corner)
mapdl.run("pos_node=node(-x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))+(eps22*(a2*2))+(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))+(eps32*(a2*2))+(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))+(eps12*(a2*2))+(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.nsel("s", "node", "",a1n_a2n_a3p_corner)
mapdl.run("*get,neg_node,node,0,num,min")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.nsel("a", "node", "",a1p_a2p_a3n_corner)
mapdl.run("pos_node=node(-x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))+(eps22*(a2*2))-(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))+(eps32*(a2*2))-(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))+(eps12*(a2*2))-(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.nsel("s", "node", "",a1n_a2p_a3n_corner)
mapdl.run("*get,neg_node,node,0,num,min")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.nsel("a", "node", "",a1p_a2n_a3p_corner)
mapdl.run("pos_node=node(-x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))-(eps22*(a2*2))+(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))-(eps32*(a2*2))+(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))-(eps12*(a2*2))+(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.nsel("s", "node", "",a1n_a2p_a3p_corner)
mapdl.run("*get,neg_node,node,0,num,min")
# get x,y,z locations of current node in active coord system
mapdl.run("x_=nx(neg_node)")
mapdl.run("y_=ny(neg_node)")
mapdl.run("z_=nz(neg_node)")
mapdl.nsel("a", "node", "",a1p_a2n_a3n_corner)
mapdl.run("pos_node=node(-x_,-y_,-z_)")
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps21*(a1*2))-(eps22*(a2*2))-(eps23*(a3*2)), "neg_node", "ux", -1, "pos_node", "ux", 1) # x->2
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps31*(a1*2))-(eps32*(a2*2))-(eps33*(a3*2)), "neg_node", "uy", -1, "pos_node", "uy", 1) # y->3
mapdl.run("ceeq=ceeq+1")
mapdl.ce("ceeq",(eps11*(a1*2))-(eps12*(a2*2))-(eps13*(a3*2)), "neg_node", "uz", -1, "pos_node", "uz", 1) # z->1
mapdl.allsel("all")
mapdl.run("*end")
Which Operating System are you using?
Windows
Which Python version are you using?
3.8
Installed packages
aiohttp==3.8.1
aiosignal==1.2.0
alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
anaconda-client==1.7.2
anaconda-navigator==2.0.3
anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1610472525955/work
ansys-api-mapdl-v0==0.4.1
ansys-corba==0.1.1
ansys-mapdl-core==0.60.2
ansys-mapdl-reader==0.51.6
anyio @ file:///C:/ci/anyio_1620153418380/work/dist
appdirs==1.4.4
argh==0.26.2
argon2-cffi @ file:///C:/ci/argon2-cffi_1613037959010/work
asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
astroid @ file:///C:/ci/astroid_1613501047216/work
astropy @ file:///C:/ci/astropy_1617745647203/work
async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
async-timeout==4.0.1
atomicwrites==1.4.0
attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work
autopep8 @ file:///tmp/build/80754af9/autopep8_1615918855173/work
Babel @ file:///tmp/build/80754af9/babel_1607110387436/work
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
backports.weakref==1.0.post1
bcrypt @ file:///C:/ci/bcrypt_1597936263757/work
beautifulsoup4 @ file:///home/linux1/recipes/ci/beautifulsoup4_1610988766420/work
bitarray @ file:///C:/ci/bitarray_1618435038389/work
bkcharts==0.2
black==19.10b0
bleach @ file:///tmp/build/80754af9/bleach_1612211392645/work
bokeh @ file:///C:/ci/bokeh_1620784067744/work
boto==2.49.0
Bottleneck==1.3.2
brotlipy==0.7.0
cachetools==4.2.4
certifi==2020.12.5
cffi @ file:///C:/ci/cffi_1613247279197/work
chardet @ file:///C:/ci/chardet_1607690654534/work
charset-normalizer==2.0.7
click @ file:///home/linux1/recipes/ci/click_1610990599742/work
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1598884132938/work
clyent==1.2.2
colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
comtypes==1.1.9
conda==4.10.1
conda-build==3.21.4
conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
conda-package-handling @ file:///C:/ci/conda-package-handling_1618262320430/work
conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
conda-verify==3.4.2
contextlib2==0.6.0.post1
cryptography @ file:///C:/ci/cryptography_1616769344312/work
cycler==0.10.0
Cython @ file:///C:/ci/cython_1618435363327/work
cytoolz==0.11.0
dask @ file:///tmp/build/80754af9/dask-core_1617390489108/work
decorator @ file:///tmp/build/80754af9/decorator_1617916966915/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work
distributed @ file:///C:/ci/distributed_1617384289923/work
docutils @ file:///C:/ci/docutils_1617481617511/work
entrypoints==0.3
et-xmlfile==1.0.1
fastcache==1.1.0
filelock @ file:///home/linux1/recipes/ci/filelock_1610993975404/work
flake8 @ file:///tmp/build/80754af9/flake8_1615834841867/work
Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
frozenlist==1.2.0
fsspec @ file:///tmp/build/80754af9/fsspec_1617959894824/work
future==0.18.2
geomdl==5.3.1
gevent @ file:///C:/ci/gevent_1616773090559/work
glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
google-api-core==2.2.2
google-api-python-client==2.31.0
google-auth==2.3.3
google-auth-httplib2==0.1.0
googleapis-common-protos==1.53.0
greenlet @ file:///C:/ci/greenlet_1611958565931/work
grpcio==1.41.1
h5py==2.10.0
HeapDict==1.0.1
html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work
httplib2==0.20.2
idna @ file:///home/linux1/recipes/ci/idna_1610986105248/work
imagecodecs @ file:///C:/ci/imagecodecs_1617996768495/work
imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
imagesize @ file:///home/ktietz/src/ci/imagesize_1611921604382/work
importlib-metadata @ file:///C:/ci/importlib-metadata_1617877484576/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work
ipykernel @ file:///C:/ci/ipykernel_1596190155316/work/dist/ipykernel-5.3.4-py3-none-any.whl
ipython @ file:///C:/ci/ipython_1617121002983/work
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1610481889018/work
isort @ file:///tmp/build/80754af9/isort_1616355431277/work
itsdangerous @ file:///home/ktietz/src/ci/itsdangerous_1611932585308/work
jdcal==1.4.1
jedi @ file:///C:/ci/jedi_1606914528444/work
Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
joblib @ file:///tmp/build/80754af9/joblib_1613502643832/work
json5==0.9.5
jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work
jupyter==1.0.0
jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
jupyter-core @ file:///C:/ci/jupyter_core_1612213356021/work
jupyter-packaging @ file:///tmp/build/80754af9/jupyter-packaging_1613502826984/work
jupyter-server @ file:///C:/ci/jupyter_server_1616084298403/work
jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1619133235951/work
jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1617134334258/work
jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
keyring @ file:///C:/ci/keyring_1614616910860/work
kiwisolver @ file:///C:/ci/kiwisolver_1612282606037/work
lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529307648/work
libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
llvmlite==0.36.0
locket==0.2.1
lxml @ file:///C:/ci/lxml_1616443455957/work
MarkupSafe==1.1.1
matplotlib @ file:///C:/ci/matplotlib-suite_1613408055530/work
mccabe==0.6.1
menuinst==1.4.16
meshio==4.4.6
mistune==0.8.4
mkl-fft==1.3.0
mkl-random @ file:///C:/ci/mkl_random_1618854156666/work
mkl-service==2.3.0
mock @ file:///tmp/build/80754af9/mock_1607622725907/work
more-itertools @ file:///tmp/build/80754af9/more-itertools_1613676688952/work
mpmath==1.2.1
msgpack @ file:///C:/ci/msgpack-python_1612287368835/work
multidict==5.2.0
multipledispatch==0.6.0
mypy-extensions==0.4.3
navigator-updater==0.2.1
nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
nbconvert @ file:///C:/ci/nbconvert_1601914925608/work
nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
networkx @ file:///tmp/build/80754af9/networkx_1598376031484/work
nltk @ file:///tmp/build/80754af9/nltk_1618327084230/work
nose @ file:///tmp/build/80754af9/nose_1606773131901/work
notebook @ file:///C:/ci/notebook_1616443715883/work
numba @ file:///C:/ci/numba_1616774458845/work
numexpr @ file:///C:/ci/numexpr_1618856738664/work
numpy @ file:///C:/ci/numpy_and_numpy_base_1618497418457/work
numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
olefile==0.46
openpyxl @ file:///tmp/build/80754af9/openpyxl_1615411699337/work
packaging @ file:///tmp/build/80754af9/packaging_1611952188834/work
pandas @ file:///C:/ci/pandas_1618365634936/work
pandocfilters @ file:///C:/ci/pandocfilters_1605102497129/work
paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
parso==0.7.0
partd @ file:///tmp/build/80754af9/partd_1618000087440/work
path @ file:///C:/ci/path_1614022440181/work
pathlib2 @ file:///C:/ci/pathlib2_1607025069150/work
pathspec==0.7.0
patsy==0.5.1
pep8==1.7.1
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
Pillow @ file:///C:/ci/pillow_1617386341487/work
pkginfo==1.7.0
pluggy @ file:///C:/ci/pluggy_1615976358795/work
ply==3.11
prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1618088486455/work
prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1616415428029/work
protobuf==3.19.1
psutil @ file:///C:/ci/psutil_1612298324802/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
py @ file:///tmp/build/80754af9/py_1607971587848/work
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle @ file:///home/ktietz/src/ci_mi/pycodestyle_1612807597675/work
pycosat==0.6.3
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
pycurl==7.43.0.6
pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1616182067796/work
pyerfa @ file:///C:/ci/pyerfa_1619391071834/work
pyflakes @ file:///home/ktietz/src/ci_ipy2/pyflakes_1612551159640/work
Pygments @ file:///tmp/build/80754af9/pygments_1615143339740/work
pyiges==0.2.0
pylint @ file:///C:/ci/pylint_1617136058775/work
pyls-black @ file:///tmp/build/80754af9/pyls-black_1607553132291/work
pyls-spyder @ file:///tmp/build/80754af9/pyls-spyder_1613849700860/work
PyNaCl @ file:///C:/ci/pynacl_1595000047588/work
pyodbc===4.0.0-unsupported
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1608057966937/work
pyparsing @ file:///home/linux1/recipes/ci/pyparsing_1610983426697/work
pyreadline==2.1
pyrsistent @ file:///C:/ci/pyrsistent_1600141795814/work
PySocks @ file:///C:/ci/pysocks_1605287845585/work
pytest==6.2.3
python-dateutil @ file:///home/ktietz/src/ci/python-dateutil_1611928101742/work
python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1600278539111/work
python-language-server @ file:///tmp/build/80754af9/python-language-server_1607972495879/work
pytz @ file:///tmp/build/80754af9/pytz_1612215392582/work
pyvista==0.32.1
PyWavelets @ file:///C:/ci/pywavelets_1601658407916/work
pywin32==227
pywin32-ctypes==0.2.0
pywinpty==0.5.7
PyYAML==5.4.1
pyzmq==20.0.0
QDarkStyle==2.8.1
QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
qtconsole @ file:///tmp/build/80754af9/qtconsole_1616775094278/work
QtPy==1.9.0
regex @ file:///C:/ci/regex_1617569893741/work
requests @ file:///tmp/build/80754af9/requests_1608241421344/work
rope @ file:///tmp/build/80754af9/rope_1602264064449/work
rsa==4.7.2
Rtree @ file:///C:/ci/rtree_1618421009405/work
ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016967756/work
scikit-image==0.18.1
scikit-learn @ file:///C:/ci/scikit-learn_1614446896245/work
scipy @ file:///C:/ci/scipy_1618856128765/work
scooby==0.5.7
seaborn @ file:///tmp/build/80754af9/seaborn_1608578541026/work
Send2Trash @ file:///tmp/build/80754af9/send2trash_1607525499227/work
simplegeneric==0.8.1
singledispatch @ file:///tmp/build/80754af9/singledispatch_1614366001199/work
sip==4.19.13
six @ file:///C:/ci/six_1605187374963/work
sniffio @ file:///C:/ci/sniffio_1614030707456/work
snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1606865132123/work
soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
Sphinx @ file:///tmp/build/80754af9/sphinx_1620777493457/work
sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
sphinxcontrib-htmlhelp @ file:///home/ktietz/src/ci/sphinxcontrib-htmlhelp_1611920974801/work
sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
sphinxcontrib-serializinghtml @ file:///home/ktietz/src/ci/sphinxcontrib-serializinghtml_1611920755253/work
sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
spyder @ file:///C:/ci/spyder_1616776239898/work
spyder-kernels @ file:///C:/ci/spyder-kernels_1614030842607/work
SQLAlchemy @ file:///C:/ci/sqlalchemy_1618090063261/work
statsmodels==0.12.2
sympy @ file:///C:/ci/sympy_1618255511605/work
tables==3.6.1
tblib @ file:///tmp/build/80754af9/tblib_1597928476713/work
terminado==0.9.4
testpath @ file:///home/ktietz/src/ci/testpath_1611930608132/work
textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl
three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
tifffile @ file:///tmp/build/80754af9/tifffile_1619636090847/work
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
tornado @ file:///C:/ci/tornado_1606942392901/work
tqdm @ file:///tmp/build/80754af9/tqdm_1615925068909/work
traitlets @ file:///home/ktietz/src/ci/traitlets_1611929699868/work
typed-ast @ file:///C:/ci/typed-ast_1610466535590/work
typing-extensions @ file:///home/ktietz/src/ci_mi/typing_extensions_1612808209620/work
ujson @ file:///C:/ci/ujson_1611241570789/work
unicodecsv==0.14.1
uritemplate==4.1.1
urllib3 @ file:///tmp/build/80754af9/urllib3_1615837158687/work
vtk==9.1.0
watchdog @ file:///C:/ci/watchdog_1612471251191/work
wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work
webencodings==0.5.1
Werkzeug @ file:///home/ktietz/src/ci/werkzeug_1611932622770/work
widgetsnbextension==3.5.1
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306167264/work
win-unicode-console==0.5
wincertstore==0.2
wrapt==1.12.1
wslink==1.1.0
xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1617224712951/work
xlwings==0.23.0
xlwt==1.3.0
xmltodict==0.12.0
yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
yarl==1.7.2
zict==2.0.0
zipp @ file:///tmp/build/80754af9/zipp_1615904174917/work
zope.event==4.5.0
zope.interface @ file:///C:/ci/zope.interface_1616357322857/work
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top Results From Across the Web
Low-level problem: cannot get FSI to work here - CFD Online
Now, I am able to get the transient structural analysis up and running (eg no errors in solving mesh or anything like that), ......
Read more >Cannot import name "_parsefull" · Issue #1 · pyansys/pymapdl · GitHub
I use Python 3.5.2 (Anaconda 4.2.0) on Windows 7 x64 sp1. I think there is another problem: I can't ... Low-level communication error...
Read more >system coupling error - Ansys Learning Forum
Hi please help me to fix the following error : system coupling for Ansys Fluent(with dynamic mesh(6DOF)) and Transient thermal.
Read more >pyansys - PyPI
The PyAnsys project supports Pythonic access to MAPDL to be able to communicate with the MAPDL process directly from Python.
Read more >Method for generating manufacturable, topology-optimized ...
In this paper, we present a novel slicing method, enabling the automatic generation of topology-optimized Laminated Layer Manufacturing (LLM) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @Clauperezma are you using version 2020 R1 or earlier? I replaced the NSELs in the ceRVE with a query on the node nearest to (0,0,0) to define the boundary condition and cannot get this to fail. But I am using 2022 R1 which uses gRPC instead of Corba.
I tried installing Python 3.8, MAPDL 2020 R1 and launching in Corba mode but keep running into errors on my end launching. MAPDL aaS starts but PyMAPDL cannot connect to it for some reason. Sorry not a dev.
I’m pretty sure German meant the MAPDL out and err files. Any file with those extensions in the MAPDL working directory.
Mike
Closing this issue.