Hello,
I am trying to model a plate. I want the edges of the plate to be thicker than the center of the plate.
First i am constructing the outer geometry of the plate with this code:
!*! Structural area
SAR 1 MNO 1 GRP 1 NX 0 0 1 T #T QREF BELO ! Definition of the plate (if edge beam, QREF BELO)
loop#i #no_edges-1 ! Loop through all edges of the plate saved in CDB
SARB TYPE OUT NA 1+#i NE 2+#i ! Define each edge
endloop ; SARB TYPE OUT NA 1+#i NE 1 ! Tie the last node to the first one
GRP 1 titl ‘Plate’ ! Name the group
It works perfectly fine. Then i am defining the nodes of the edges with thicker plate - it also works fine. But in the loop were im trying to void the defined plate area, it does not void. It just creates two meshes on top of each other.
Does anyone have a reason why, or how to fix it?
!*! Add edge beam to model
SPT 9001 X #xmin Y #ymin
SPT 9002 X #xmin Y #ymin+2.5
SPT 9003 X #xmax Y #ymin+2.5
SPT 9004 X #xmax Y #yminSPT 9005 X #xmin Y #ymax-2.5
SPT 9006 X #xmin Y #ymax
SPT 9007 X #xmax Y #ymax
SPT 9008 X #xmax Y #ymax-2.5loop#j 2 ! First loop cuts an opening, second adds a new SAR.
if #j == 0
SAR VOID ! Cut opening
else
SAR 9500 MNO 1 GRP 4 NX 0 0 1 T 550 QREF BELO ! Define new SAR
endifSARB TYPE OUT NA 9001 NE 9002 ! Node 1 of edgebeam SARB TYPE OUT NA 9002 NE 9003 ! Node 2 of edgebeam SARB TYPE OUT NA 9003 NE 9004 ! Node 3 of edgebeam SARB TYPE OUT NA 9004 NE 9001 ! Node 4 of edgebeam if #j == 0 SAR VOID ! Cut opening else SAR 9600 MNO 1 GRP 4 NX 0 0 1 T 550 QREF BELO ! Define new SAR endif SARB TYPE OUT NA 9005 NE 9006 ! Node 1 of edgebeam SARB TYPE OUT NA 9006 NE 9007 ! Node 2 of edgebeam SARB TYPE OUT NA 9007 NE 9008 ! Node 3 of edgebeam SARB TYPE OUT NA 9008 NE 9005 ! Node 4 of edgebeam
endloop