CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

problem in apdl

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2010, 12:07
Default problem in apdl
  #1
fsi
New Member
 
abdellah el-hadj
Join Date: Mar 2009
Posts: 1
Rep Power: 0
fsi is on a distinguished road
I have created a block in 3D and I have tried to display the mesh information in separate files.
First, I have got the elements number with their rnodes number.
Second, I have got the nodes number with their locations x y and z.
But, I can't find how to get the face number with their corresponding nodes for a specified boundary.(area)
please any help
here is the apdl program


/PREP7
!*
ET,1,FLUID142
!*
BLOCK,-3,12,-3,3,0,3,
/VIEW,1,1,2,3
/ANG,1
/REP,FAST
MSHAPE,0,3D
MSHKEY,1
!*
CM,_Y,VOLU
VSEL, , , , 1
CM,_Y1,VOLU
CHKMSH,'VOLU'
CMSEL,S,_Y
!*
VMESH,_Y1
!*
CMDELE,_Y
CMDELE,_Y1
CMDELE,_Y2
!*

*CFOPEN,test1,cell
*GET,NE,ELEM,0,COUNT
UNI=1
*DO,I,1,NE
*get,NE1,ELEM,I,node,1
*get,NE2,ELEM,I,node,2
*get,NE3,ELEM,I,node,3
*get,NE4,ELEM,I,node,4
*get,NE5,ELEM,I,node,5
*get,NE6,ELEM,I,node,6
*get,NE7,ELEM,I,node,7
*get,NE8,ELEM,I,node,8
*vwrite,I,NE1,NE2,NE3,NE4,NE5,NE6,NE7,NE8,UNI,UNI
(I8,2x,E10.4,2x,E10.4,2x,E10.4,2x,E10.4,2x,E10.4,2 x,E10.4,2x,E10.4,2x,E10.4,2x,I1,2x,I1)
*ENDDO
*CFCLOS
*CFOPEN,Test2,vrt
*GET,NN,NODE,0,COUNT
*DO,I,1,NN
*get,xnode,node,I,loc,x
*get,ynode,node,I,loc,y
*get,znode,node,I,loc,z
*vwrite,I,xnode,ynode,znode
(I8,2x,E20.9,3x,E20.9,3X,E20.9)
*ENDDO
*CFCLOS
FINISH
fsi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 21:57.