Greetings community - I’m playing around with pile elements in FLAC2D. Building on an example provided in the documentation but not in the prjs of the installed software.
I want to be able to fetch the confining stress in the soil adjacent to the pile (such that I can assign spring properties that are a function of it) so I figured that struct.pile.stress.confining would do the trick. Alas, it seems to be getting zero values. struct.pile.shear.stress does the same.
But struct.pile.prop works (for ‘young’ for example) so I think I am doing something right with my syntax. What is it that I am doing wrong though with confining stress?!
Code below:
;=======================================================
model new
model large-strain off
zone create2d quad size 5 5
zone cmodel elastic
zone property density 1000 bulk 1e8 shear 3e7
[No_seg = 5]
[option = 1] ; if 1 create by-line / if 2 create by-nodeids
structure pile create by-line (2.5,5.0) (2.5 2.5) segments [No_seg] group = ‘pile’
zone face skin
zone face apply velocity-normal 0.0 range group ‘East’ or ‘West’
zone face apply velocity (0.0,0.0) range group ‘Bottom’
model history name “mRat” mechanical ratio
model history name “mechTime” mechanical time
;–––––––––––––––––––––––––––––––*
[e = 5e9] ; half of 10 GPa = 1e10 Pa
[ks = 5e8] ; half of 1 GN/m = 1e9 N/m
structure pile property young [e] cross-sectional-area 1.0 moi 0.0 …
coupling-stiffness-shear [ks] …
coupling-cohesion-shear 1e20 …
slide on …
coupling-stiffness-normal 0.0 range group = ‘pile’
;For both cases, the applied vertical load is scaled (original 2 MN downwards)
structure node apply force (0.0,-1e6) range component-id 1
fish define pile_trial_conf
loop foreach local spnt struct.list
str.extra(spnt,1) = struct.pile.stress.confining(spnt,1)
str.extra(spnt,2) = struct.pile.shear.stress(spnt,1)
str.extra(spnt,3) = struct.pile.prop(spnt,‘young’)
endloop
end
[pile_trial_conf]
structure pile history name ‘head-pile’ force position (2.5,5.0)
structure pile history name ‘toe-pile’ force position (2.5,2.5)
structure pile history name ‘head-x-pile’ force-x position (2.5,5.0)
structure pile history name ‘toe-x-pile’ force-x position (2.5,2.5)
structure node history name ‘head-F-node’ force-y position (2.5,5.0)
structure node history name ‘toe-F-node’ force-y position (2.5,2.5)
structure node history name ‘head-disp-node’ displacement-y position (2.5,5.0)
structure node history name ‘toe-disp-node’ displacement-y position (2.5,2.5)
model solve convergence 1.0
model save ‘Pile-No Spacing’
;=======================================================