I have a simple model in which I want to add releases to an area edge.
I use the SAR and SARB commands to do so, but when I do it adds new nodes and messes up my node numbering, even though I explicitly tell it to use the existing nodes.
Is there an easier way of applying releases?
Please see the code below:
+prog Sofimshc urs:21.1
SYST 3D GDIV 100000 GDIR NEGZ
CTRL MESH 1
ctrl hmin 50
CTRL DELN 1
CTRL TOPO 0
CTRL EDRL 1
loop#i 3
SPT 11+#i*10 X 0 Y #i*1000 Z 0
SPT 12+#i*10 X 1000 Y #i*1000 Z 0
SPT 13+#i*10 X 1000 Y #i*1000 Z 1000
SPT 14+#i*10 X 0 Y #i*1000 Z 1000
SAR 11+#i*10 MNO 11 GRP 11 T 100
SARB TYPE OUT NA 11+#i*10 NE 12+#i*10
SARB TYPE OUT NA 12+#i*10 NE 13+#i*10
SARB TYPE OUT NA 13+#i*10 NE 14+#i*10
SARB TYPE OUT NA 14+#i*10 NE 11+#i*10
SLN 11+#i*10 NPA 11+#i*10 NPE 12+#i*10 FIX F
endloop
loop#i 2
SAR 41+#i MNO 11 GRP 12+#i T 100
SARB TYPE OUT NA 13+#i*10 NE 23+#i*10
SARB TYPE OUT NA 23+#i*10 NE 24+#i*10
SARB TYPE OUT NA 24+#i*10 NE 14+#i*10
SARB TYPE OUT NA 14+#i*10 NE 13+#i*10
endloop
$$$$$$$$$$$$ THIS IS THE PART IN QUESTION $$$$$$$
SAR -21
SARB TYPE OUT NA 21 NE 22
SARB TYPE OUT NA 22 NE 23
SARB TYPE OUT NA 23 NE 24 FIX MX
SARB TYPE OUT NA 24 NE 21
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
END
Correct node numbering (if I’m not adding the release):
Is there anyway to define the node numbers of the new nodes myself then?
With the arbitrary node numbers it becomes quite difficult to find it in bigger models.
You can define SPTs and SLNs on top of each other by two means (probably the same for SARs but haven’t tried it):
Explicitly with XFLG: SPT ... XFLG P will prevent the point being replaced with other SPTs SLN ... XFLG L will prevent the line being divided/replaced with other SLNs
Implicitly by giving them a number: SPT No 1 x 0 0 0 and SPT No 2 x 0 0 0 will both be created since their given an explicit number.
=> Your model has 2 nodes in the same location SLN No 1 NPA 1 2 and SLN No 2 NPA 1 2 will both be created since their given an explicit number.
=> Your model has 2 lines being connected to the same nodes (e.g. SAR boundaries with a gap)
I’m guessing you forgot to explicitly give both lines a number.