Slab with a variable thickness (no graphical output)

Hello,
I would like to know if it is possible to create a slab with a variable thickness.
I tried this code, but it doesn’t work.


Finally, my code works, but there is no graphical output.

Here is an image of what I’m trying to do.

image

thank you

Hi Esteban,

It works fine for me!

Here is the code I used:

+PROG AQUA urs:1
head
NORM ‘NF’ ‘en199X-200X-BRIDGE’ CAT ‘C’
CONC 3 C 45
STEE 2 S 500
end
+PROG SOFIMSHA urs:18
!*Label BRIDGE
HEAD Definition of strutural bridge elements

SYST 3D GDIV 10000 NEGZ
CTRL HMIN 1.0 $ Mesh Size

NODE NO 2500 X 1.53 Y 1 Z 0
NODE NO 2501 X 1.53 Y -1 Z 0
NODE NO 2502 X 13.04 Y -1 Z 0
NODE NO 2503 X 13.04 Y 1 Z 0
NODE NO 2504 X 7.285 Y -1 Z 0
NODE NO 2505 X 7.285 Y 1 Z 0
LET#E1 140
LET#E2 540
QUAD NO - MNO 3 MRF 2 N1 2500 N2 2501 N3 2504 N4 2505 T1 #E1 T2 #E1 T3 #E2 T4 #E2 posi ABOV
QUAD NO - MNO 3 MRF 2 N1 2504 N2 2505 N3 2503 N4 2502 T1 #E2 T2 #E2 T3 #E1 T4 #E1 posi BELO

end

Good luck,
Abderrahman OMRI

Probably an unit issue
Try T1 140[mm] etc.

The default units are in millimeters. I think it’s important to explicitly specify the “POSI” item; otherwise, it will default to “CENT”. With such a minimal variation, you might not notice any difference. Try using a larger thickness in the middle to make the visualization easier, like I did!

Abderrahman OMRI

Thank you for your help.
Indeed, your code works well when I run it alone, but when I try to incorporate it into my modeling with the entire structure, my slab does not display. Is it because I am using the SOFIMSHC module to model the entire structure and the SOFIMSHA module to model the slab in my code, or are the two modules not compatible ? Or is it a bug ?

thank you

Can you please send me the whole model?

Add
CTRL MESH 2

Maybe I’m wrong, but the idea of creating the entire structure with SOFiMSHC and then generating the slab with SOFiMSHA seems a bit crazy. After all, you have no control over the number of nodes, which is essential when generating quad elements in SOFiMSHA.

Instead, consider generating the slab using SOFiMSHC. Below, I’ve attached a sample of my code for defining a slab with variable thickness. This is just a snippet from my model, so please let me know if you encounter any issues adapting it to your needs. You’ll need to define the thickness of the quad elements at the structural points, and then set the slab thickness to T=0.00 when generating the structural area.

LET#GRP 10
LET#NO 100
!structural points
SPT NO #NO+1 X 0.0 Y 0.0 Z #Z1 T #H1
SPT NO #NO+2 X 0.0+#L1TAN(#ALFA) Y #L1 Z #Z1 T #H1
SPT NO #NO+3 X #B1 Y 0.0 Z #Z1 T #H2
SPT NO #NO+4 X #B1+#L1
TAN(#ALFA) Y #L1 Z #Z1 T #H2
SPT NO #NO+5 X #B2 Y 0.0 Z #Z1 T #H2
SPT NO #NO+6 X #B2+#L1*TAN(#ALFA) Y #L1 Z #Z1 T #H2

!structural lines
SLN NO #NO+1 NPA #NO+1 NPE #NO+2
SLN NO #NO+2 NPA #NO+2 NPE #NO+4
SLN NO #NO+3 NPA #NO+4 NPE #NO+3
SLN NO #NO+4 NPA #NO+3 NPE #NO+1

!structural area
SAR #NO+1 GRP #GRP MNO 1 QREF ABOV NRA 7 MCTL +1 T=0.00
SARB TYPE OUT NL #NO+1,#NO+2,#NO+3,#NO+4

1 Like

Hello,
Thank you very much for your response.
Indeed, the code you sent me works, and I have a graphical output.
Thank you!