CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS (http://www.cfd-online.com/Forums/ansys/)
-   -   Ansys hang subtracting volumes (http://www.cfd-online.com/Forums/ansys/78161-ansys-hang-subtracting-volumes.html)

Aco1000 July 14, 2010 08:57

Ansys hang subtracting volumes
 
Hi all,

Program 1 below is program which creates two volumes and while subtracting them the ansys hangs and constantly allocates more memory.

Program 2 is a similar one but with a simpler inner volume which completes successfully.

Ansys version 12.0.1 running on win xp sp2. The program is run on Mechanical APDL. The program is somehow derived from ANSYS room acoustic example.

I would appreciate any help.

Thanks

Program 1:

/batch,list
/com, Harmonic Analysis

/PREP7
/TITLE, A volume inside cube
ANTYPE,HARM
ET,1,30 ! Acoustic elements in contact with walls and vibrating surface
ET,2,30,,1 ! Acoustic elements in interior (not in contact with walls)

! Set parameters for mesh generation

XDIV=29 ! Number of divisions along x-axis
YDIV=19 ! Number of divisions along y-axis
ZDIV=1 ! Number of divisions along z-axis
CDIV=2 ! Number of divisions along radius

! Dimensions of the room

LEN=27
HGT=20
RAD=0.9

! Mesh generation
K,1,0,0,1
K,2,5.000000e-001,0,8.660254e-001
K,3,4.330127e-001,2.500000e-001,8.660254e-001
K,4,2.500000e-001,4.330127e-001,8.660254e-001
K,5,3.061617e-017,5.000000e-001,8.660254e-001
K,6,-2.500000e-001,4.330127e-001,8.660254e-001
K,7,-4.330127e-001,2.500000e-001,8.660254e-001
K,8,-5.000000e-001,6.123234e-017,8.660254e-001
K,9,-4.330127e-001,-2.500000e-001,8.660254e-001
K,10,-2.500000e-001,-4.330127e-001,8.660254e-001
K,11,-9.184851e-017,-5.000000e-001,8.660254e-001
K,12,2.500000e-001,-4.330127e-001,8.660254e-001
K,13,4.330127e-001,-2.500000e-001,8.660254e-001
K,14,8.660254e-001,0,5.000000e-001
K,15,7.500000e-001,4.330127e-001,5.000000e-001
K,16,4.330127e-001,7.500000e-001,5.000000e-001
K,17,5.302876e-017,8.660254e-001,5.000000e-001
K,18,-4.330127e-001,7.500000e-001,5.000000e-001
K,19,-7.500000e-001,4.330127e-001,5.000000e-001
K,20,-8.660254e-001,1.060575e-016,5.000000e-001
K,21,-7.500000e-001,-4.330127e-001,5.000000e-001
K,22,-4.330127e-001,-7.500000e-001,5.000000e-001
K,23,-1.590863e-016,-8.660254e-001,5.000000e-001
K,24,4.330127e-001,-7.500000e-001,5.000000e-001
K,25,7.500000e-001,-4.330127e-001,5.000000e-001
K,26,1,0,6.123234e-017
K,27,8.660254e-001,5.000000e-001,6.123234e-017
K,28,5.000000e-001,8.660254e-001,6.123234e-017
K,29,6.123234e-017,1,6.123234e-017
K,30,-5.000000e-001,8.660254e-001,6.123234e-017
K,31,-8.660254e-001,5.000000e-001,6.123234e-017
K,32,-1,1.224647e-016,6.123234e-017
K,33,-8.660254e-001,-5.000000e-001,6.123234e-017
K,34,-5.000000e-001,-8.660254e-001,6.123234e-017
K,35,-1.836970e-016,-1,6.123234e-017
K,36,5.000000e-001,-8.660254e-001,6.123234e-017
K,37,8.660254e-001,-5.000000e-001,6.123234e-017
K,38,8.660254e-001,0,-5.000000e-001
K,39,7.500000e-001,4.330127e-001,-5.000000e-001
K,40,4.330127e-001,7.500000e-001,-5.000000e-001
K,41,5.302876e-017,8.660254e-001,-5.000000e-001
K,42,-4.330127e-001,7.500000e-001,-5.000000e-001
K,43,-7.500000e-001,4.330127e-001,-5.000000e-001
K,44,-8.660254e-001,1.060575e-016,-5.000000e-001
K,45,-7.500000e-001,-4.330127e-001,-5.000000e-001
K,46,-4.330127e-001,-7.500000e-001,-5.000000e-001
K,47,-1.590863e-016,-8.660254e-001,-5.000000e-001
K,48,4.330127e-001,-7.500000e-001,-5.000000e-001
K,49,7.500000e-001,-4.330127e-001,-5.000000e-001
K,50,5.000000e-001,0,-8.660254e-001
K,51,4.330127e-001,2.500000e-001,-8.660254e-001
K,52,2.500000e-001,4.330127e-001,-8.660254e-001
K,53,3.061617e-017,5.000000e-001,-8.660254e-001
K,54,-2.500000e-001,4.330127e-001,-8.660254e-001
K,55,-4.330127e-001,2.500000e-001,-8.660254e-001
K,56,-5.000000e-001,6.123234e-017,-8.660254e-001
K,57,-4.330127e-001,-2.500000e-001,-8.660254e-001
K,58,-2.500000e-001,-4.330127e-001,-8.660254e-001
K,59,-9.184851e-017,-5.000000e-001,-8.660254e-001
K,60,2.500000e-001,-4.330127e-001,-8.660254e-001
K,61,4.330127e-001,-2.500000e-001,-8.660254e-001
K,62,1.224647e-016,0,-1
K,63,0,0,0
v,1,2,3,3,63,63,63,63
v,1,3,4,4,63,63,63,63
v,1,4,5,5,63,63,63,63
v,1,5,6,6,63,63,63,63
v,1,6,7,7,63,63,63,63
v,1,7,8,8,63,63,63,63
v,1,8,9,9,63,63,63,63
v,1,9,10,10,63,63,63,63
v,1,10,11,11,63,63,63,63
v,1,11,12,12,63,63,63,63
v,1,12,13,13,63,63,63,63
v,1,13,2,2,63,63,63,63
v,14,15,3,2,63,63,63,63
v,15,16,4,3,63,63,63,63
v,16,17,5,4,63,63,63,63
v,17,18,6,5,63,63,63,63
v,18,19,7,6,63,63,63,63
v,19,20,8,7,63,63,63,63
v,20,21,9,8,63,63,63,63
v,21,22,10,9,63,63,63,63
v,22,23,11,10,63,63,63,63
v,23,24,12,11,63,63,63,63
v,24,25,13,12,63,63,63,63
v,25,14,2,13,63,63,63,63
v,26,27,15,14,63,63,63,63
v,27,28,16,15,63,63,63,63
v,28,29,17,16,63,63,63,63
v,29,30,18,17,63,63,63,63
v,30,31,19,18,63,63,63,63
v,31,32,20,19,63,63,63,63
v,32,33,21,20,63,63,63,63
v,33,34,22,21,63,63,63,63
v,34,35,23,22,63,63,63,63
v,35,36,24,23,63,63,63,63
v,36,37,25,24,63,63,63,63
v,37,26,14,25,63,63,63,63
v,38,39,27,26,63,63,63,63
v,39,40,28,27,63,63,63,63
v,40,41,29,28,63,63,63,63
v,41,42,30,29,63,63,63,63
v,42,43,31,30,63,63,63,63
v,43,44,32,31,63,63,63,63
v,44,45,33,32,63,63,63,63
v,45,46,34,33,63,63,63,63
v,46,47,35,34,63,63,63,63
v,47,48,36,35,63,63,63,63
v,48,49,37,36,63,63,63,63
v,49,38,26,37,63,63,63,63
v,50,51,39,38,63,63,63,63
v,51,52,40,39,63,63,63,63
v,52,53,41,40,63,63,63,63
v,53,54,42,41,63,63,63,63
v,54,55,43,42,63,63,63,63
v,55,56,44,43,63,63,63,63
v,56,57,45,44,63,63,63,63
v,57,58,46,45,63,63,63,63
v,58,59,47,46,63,63,63,63
v,59,60,48,47,63,63,63,63
v,60,61,49,48,63,63,63,63
v,61,50,38,49,63,63,63,63
v,62,50,51,51,63,63,63,63
v,62,51,52,52,63,63,63,63
v,62,52,53,53,63,63,63,63
v,62,53,54,54,63,63,63,63
v,62,54,55,55,63,63,63,63
v,62,55,56,56,63,63,63,63
v,62,56,57,57,63,63,63,63
v,62,57,58,58,63,63,63,63
v,62,58,59,59,63,63,63,63
v,62,59,60,60,63,63,63,63
v,62,60,61,61,63,63,63,63
v,62,61,50,50,63,63,63,63
VADD,ALL
MSHKEY,0
MSHAPE,1,3D

K,64,-50,-50,-50
K,65,50,-50,-50
K,66,-50,50,-50
K,67,50,50,-50
K,68,-50,-50,50
K,69,50,-50,50
K,70,-50,50,50
K,71,50,50,50
K,72,0,0,0
v,64,65,67,66,72,72,72,72
v,64,65,69,68,72,72,72,72
v,65,67,71,69,72,72,72,72
v,66,67,71,70,72,72,72,72
v,64,66,70,68,72,72,72,72
v,69,71,70,68,72,72,72,72
VADD,1,2,3,4,5,6

BTOL,2.588590e-1
VSBV,7,73,,DELETE,DELETE

VMESH,ALL

Program 2:

/batch,list
/com, Harmonic Analysis

/PREP7
/TITLE,Two volume subtraction
ANTYPE,HARM
ET,1,30 ! Acoustic elements in contact with walls and vibrating surface
ET,2,30,,1 ! Acoustic elements in interior (not in contact with walls)

K,1,-0.2,-0.2,-0.2
K,2,0.2,-0.2,-0.2
K,3,-0.2,0.2,-0.2
K,4,0.2,0.2,-0.2
K,5,-0.2,-0.2,0.2
K,6,0.2,-0.2,0.2
K,7,-0.2,0.2,0.2
K,8,0.2,0.2,0.2
K,9,0,0,0
v,1,2,4,3,9,9,9,9
v,1,2,6,5,9,9,9,9
v,2,4,8,6,9,9,9,9
v,3,4,8,7,9,9,9,9
v,1,3,7,5,9,9,9,9
v,6,8,7,5,9,9,9,9
VADD,1,2,3,4,5,6

K,64,-50,-50,-50
K,65,50,-50,-50
K,66,-50,50,-50
K,67,50,50,-50
K,68,-50,-50,50
K,69,50,-50,50
K,70,-50,50,50
K,71,50,50,50
K,72,0,0,0
v,64,65,67,66,72,72,72,72
v,64,65,69,68,72,72,72,72
v,65,67,71,69,72,72,72,72
v,66,67,71,70,72,72,72,72
v,64,66,70,68,72,72,72,72
VADD,1,2,3,4,5



VSBV,6,7,DELETE,DELETE

MSHKEY,0
MSHAPE,1,3D
vmesh,all


All times are GMT -4. The time now is 05:12.