TrueGrid logo

A Mesh Generator and Pre-Processor for
FEA and CFD Analysis

Ring Command File

			
c
c Ring With Hole
c
c Create the Geometry
sd 1 cy 0 11 0 0 0 1 1
sd 2 cy 0 0 0 0 0 1 9
sd 3 cy 0 0 0 0 0 1 13
sd 4 pl3 rt 0 0 0 cy 1 110 0 rt 0 0 1
sd 5 pl3 rt 0 0 0 cy 1 70 0 rt 0 0 1

c Create the Multi-Block Part
block 1 5 9 13;1 3 7 9;1 4;
-1 -1 1 1 10 10 12 12 0 2

c Delete the Center Block
de 2 2 0 3 3 0

c Project Faces to Geometry
sfi -2 -3;-2 -3;;sd 1
sf 0 1 0 0 1 0 sd 2
sf 0 4 0 0 4 0 sd 3
sf 1 0 0 1 0 0 sd 4
sf 4 0 0 4 0 0 sd 5

c Force Equal Spacing
res 1 0 0 1 0 0 j 1
res 4 0 0 4 0 0 j 1

c Replicate the Part
lct 8 rz 40;repe 8;lrep 0 1 2 3 4 5 6 7 8;
endpart
merge