4.3.2. Lateral Spreading
Example prepared by: Chris McGann and Pedro Arduino, University of Washington
4.3.2.1. Introduction
This example describes an OpenSees analysis of a single deep foundation subject to a kinematic loading which simulates lateral spreading. The deep foundation is embedded in a layered soil profile in which a liquefiable layer separates an upper crustal layer and a deeper, denser soil layer. The laterally loaded deep foundation is modeled as a beam on a nonlinear Winkler foundation (BNWF): elastic beam-column elements are used for the foundation, and nonlinear p-y spring elements represent the soil. Lateral spreading is simulated by imposing a displacement profile on the soil end of the nonlinear springs, in a similar manner to Brandenberg et al. [3]. The displacement profile is constant across the upper crustal layer, decreases linearly across the liquefied layer, and is zero in the lower soil layer.
The example also shows how Matlab can be used to generate OpenSees input files. The Matlab scripts generate an input file from parameters such as the diameter and depth of the foundation and the properties of the soil layers.
Purpose |
Tcl |
Python |
|---|---|---|
Main input file (required) |
||
Plot the results |
The Matlab scripts used to generate the Tcl input file are:
makeInput.m, the main driver,mDataSort.m,getAPIstiffness.mandgetBrinch.m, which support the driver.
To run the example, download the main input file and run it, i.e. OpenSees lateralSpreadPile.tcl or python lateralSpreadPile.py. The Matlab scripts are not needed for the analysis; they show how to create OpenSees input files using outside software and allow other soil-pile systems to be investigated.
Note
The original input file was written for an older version of OpenSees. To run with current versions, the inline {Series ...} time series in the load pattern has been replaced by a separate timeSeries Path command, and the dispBeamColumn elements use a beamIntegration object. makeInput.m has been updated to write these commands. The Tcl input file was generated by Matlab as a long list of individual commands; the Python version uses loops and a table of the p-y spring parameters instead, and gives identical results.
4.3.2.2. Model Description
Fig. 4.3.2.1 Schematic of the BNWF lateral spreading model.
The setup for this example is similar to the Laterally Loaded Pile example, which should be referred to for details omitted here. The deep foundation is modeled with beam-column elements, and the soil is modeled with a series of nonlinear p-y springs. Further discussion of similar BNWF lateral spreading models is given by McGann et al. [5] [6].
The pile axis is oriented in the z-coordinate direction, and all of the nodes are located on the z-axis (x- and y-coordinates are zero). The z-coordinate is measured up from the base of the pile, and node numbering for each set of nodes begins at the top of the pile. The model is created with three separate sets of nodes:
fixed spring nodes (numbers 2-81 in this example)
slave spring nodes (numbers 202-281 in this example)
pile nodes (numbers 501-581 in this example)
4.3.2.2.1. Mesh Geometry
A weaker liquefied layer, 2 m thick, lies between two layers of stronger material, with its base 10 m below the ground surface. The upper and lower layers consist of identical soil. In this example there are 81 pile nodes, 0.5 m apart, and the foundation extends to a depth of 40 m below the ground surface.
Note
The Matlab scripts that generate the input files consider a maximum of 200 nodes. More nodes would require changes to the scripts.
4.3.2.2.2. Boundary Conditions
The boundary conditions are similar to those of the Laterally Loaded Pile example, though here only the lateral behavior is modeled, so there are some additional fixities. The soil end of the springs is completely fixed, and the pile end of the springs is only free in the direction of loading (x-direction). The pile nodes are fixed against translation in the y-direction and rotation out of the plane of loading, and the base of the pile is also fixed against vertical translation. The pile end of each spring is linked to its pile node in the x-direction using the equalDOF Command command.
model BasicBuilder -ndm 3 -ndf 3
# nodes for soil end of the spring
node 2 0.000 0.000 39.50000
node 3 0.000 0.000 39.00000
# ... (one node every 0.5 m down to node 81 at z = 0)
# nodes for pile end of the spring
node 202 0.000 0.000 39.50000
node 203 0.000 0.000 39.00000
# ... (down to node 281)
# define fixities for the soil end of springs
fix 2 1 1 1
# ... (nodes 3 to 81)
# define fixities for pile end of springs
fix 202 0 1 1
# ... (nodes 203 to 281)
model BasicBuilder -ndm 3 -ndf 6
# create pile nodes
node 501 0.000 0.000 40.00000
node 502 0.000 0.000 39.50000
# ... (down to node 581 at z = 0)
# create geometric transformation for vertical pile
set transTag 1
geomTransf Linear $transTag 0 -1 0
# create the fixities for the pile nodes
fix 501 0 1 0 1 0 1
# ... (nodes 502 to 580)
fix 581 0 1 1 1 0 1
# define equalDOF for pile and spring nodes
equalDOF 502 202 1
# ... (pile nodes 503 to 581)
import math
import time
import openseespy.opensees as ops
ops.wipe()
# pile length (m), node spacing (m) and number of p-y springs
L = 40.0
dz = 0.5
nSpring = 80
ops.model('BasicBuilder', '-ndm', 3, '-ndf', 3)
springNodes = range(2, nSpring + 2)
# nodes for soil end of the spring
for n in springNodes:
ops.node(n, 0.0, 0.0, L - dz * (n - 1))
# nodes for pile end of the spring
for n in springNodes:
ops.node(n + 200, 0.0, 0.0, L - dz * (n - 1))
# define fixities for the soil end of springs
for n in springNodes:
ops.fix(n, 1, 1, 1)
# define fixities for the pile end of springs
for n in springNodes:
ops.fix(n + 200, 0, 1, 1)
ops.model('BasicBuilder', '-ndm', 3, '-ndf', 6)
pileNodes = list(range(501, 501 + nSpring + 1))
# create pile nodes
for n in pileNodes:
ops.node(n, 0.0, 0.0, L - dz * (n - 501))
# create geometric transformation for vertical pile
transTag = 1
ops.geomTransf('Linear', transTag, 0, -1, 0)
# create the fixities for the pile nodes (the base node is also fixed vertically)
for n in pileNodes[:-1]:
ops.fix(n, 0, 1, 0, 1, 0, 1)
ops.fix(pileNodes[-1], 0, 1, 1, 1, 0, 1)
# create the equalDOF between the pile nodes and the pile end of the springs
for n in springNodes:
ops.equalDOF(n + 500, n + 200, 1)
4.3.2.2.3. Soil Springs
The soil springs represent the lateral behavior of the soil only; no vertical behavior is modeled. ZeroLength Element elements are used for the springs, and their lateral behavior is defined using the PySimple1 Material material. The input values for the PySimple1 materials are based on ultimate lateral resistances computed using the method of Brinch Hansen [4] and initial stiffnesses computed using the API [1] recommendations modified for depth as discussed by Boulanger et al. [2]. These values are then reduced to account for the presence of the weaker middle layer using the method proposed by McGann et al. [6]. The soil has a friction angle of 36 degrees and a unit weight of 17 kN/m³.
uniaxialMaterial PySimple1 2 2 23.66983 0.00083 0
uniaxialMaterial PySimple1 3 2 54.93742 0.00136 0
# ... (one material for each spring, down to 81)
element zeroLength 2 2 202 -mat 2 -dir 1
element zeroLength 3 3 203 -mat 3 -dir 1
# ... (one element for each spring, down to 81)
# (pult, y50) for the PySimple1 material of each spring, from the top down
# (computed by makeInput.m, reduced for the presence of the liquefied layer)
pyParams = [
(23.66983, 0.00083), # 2
(54.93742, 0.00136), # 3
# ... (one entry for each spring, down to 81)
]
for n, (pult, y50) in zip(springNodes, pyParams):
ops.uniaxialMaterial('PySimple1', n, 2, pult, y50, 0)
for n in springNodes:
ops.element('zeroLength', n, n, n + 200, '-mat', n, '-dir', 1)
4.3.2.2.4. Pile Section and Elements
The deep foundation is modeled using Displacement-Based Beam Column Element elements with an elastic section. The foundation has a diameter of 0.6 m, an elastic modulus of 30 GPa and a Poisson’s ratio of 0.3.
# pile properties
set pi [expr 4.0*atan(1.0)]
set radius 0.30000
set area [expr $pi*$radius*$radius]
set I [expr $pi*$radius*$radius*$radius*$radius/4.0]
set J [expr 2.0*$I]
set E 30000000.00000
set nu 0.30000
set G [expr $E/(2.0*(1.0+$nu))]
set nIntPts 3
set secTag 1
set secTag3D 3
# beam section, no torsion
section Elastic $secTag $E $area $I $I $G $J
# create torsional section
uniaxialMaterial Elastic 100 1.e10
# aggregate the beam section
section Aggregator $secTag3D 100 T -section $secTag
# Gauss-Legendre integration with $nIntPts integration points along each element
beamIntegration Legendre 1 $secTag3D $nIntPts
element dispBeamColumn 501 501 502 $transTag 1
element dispBeamColumn 502 502 503 $transTag 1
# ... (one element between each pair of pile nodes, down to 580)
# pile properties
pi = 4.0 * math.atan(1.0)
radius = 0.30000
area = pi * radius * radius
I = pi * radius * radius * radius * radius / 4.0
J = 2.0 * I
E = 30000000.00000
nu = 0.30000
G = E / (2.0 * (1.0 + nu))
nIntPts = 3
secTag = 1
secTag3D = 3
# beam section, no torsion
ops.section('Elastic', secTag, E, area, I, I, G, J)
# create torsional section
ops.uniaxialMaterial('Elastic', 100, 1.e10)
# aggregate the beam section
ops.section('Aggregator', secTag3D, 100, 'T', '-section', secTag)
# Gauss-Legendre integration with nIntPts integration points along each element
ops.beamIntegration('Legendre', 1, secTag3D, nIntPts)
pileElements = pileNodes[:-1]
for n in pileElements:
ops.element('dispBeamColumn', n, n, n + 1, transTag, 1)
4.3.2.2.5. Recorders
The recorders, which record every 0.5 s of pseudo-time, record the displacements and forces in the p-y springs, the displacements and reactions at the pile nodes, and the forces in the pile elements. The Tcl input file writes the pile node and element numbers to files and reads them back to build the recorder lists; the Python version uses the lists directly.
# designate recorder timestep
set dt 0.5
recorder Node -file pyDisplace.out -time -nodeRange 202 281 -dof 1 -dT $dt disp
recorder Node -file pyForces.out -time -nodeRange 2 81 -dof 1 -dT $dt reaction
eval "recorder Node -file Displacements.out -time -node $nodeList6 -dof 1 2 3 -dT $dt disp"
eval "recorder Node -file Reaction.out -time -node $nodeList6 -dof 1 2 3 -dT $dt reaction "
eval "recorder Element -file globalForces.out -time -ele $BeamElementList -dT $dt globalForce"
# designate recorder timestep
dt = 0.5
ops.recorder('Node', '-file', 'pyDisplace.out', '-time', '-nodeRange', 202, 281, '-dof', 1, '-dT', dt, 'disp')
ops.recorder('Node', '-file', 'pyForces.out', '-time', '-nodeRange', 2, 81, '-dof', 1, '-dT', dt, 'reaction')
ops.recorder('Node', '-file', 'Displacements.out', '-time', '-node', *pileNodes, '-dof', 1, 2, 3, '-dT', dt, 'disp')
ops.recorder('Node', '-file', 'Reaction.out', '-time', '-node', *pileNodes, '-dof', 1, 2, 3, '-dT', dt, 'reaction')
ops.recorder('Element', '-file', 'globalForces.out', '-time', '-ele', *pileElements, '-dT', dt, 'globalForce')
4.3.2.2.6. Loading and Analysis
Lateral spreading is simulated by imposing a displacement profile on the fixed (soil) end of the p-y springs in the x-direction. The displacement is one pile radius (0.3 m) over the upper soil layer, decreases linearly to zero across the liquefied layer, and is zero in the lower soil layer. The displacements are applied using single-point constraints in a plain load pattern, with a Path TimeSeries that increases them linearly over 10 s of pseudo-time. They are applied incrementally in a static analysis.
# path time series: load factor ramps from 0 to 1 over 10 s, then held constant
timeSeries Path 1 -time {0 10 10000} -values {0 1 1} -factor 1
pattern Plain 10 1 {
sp 2 1 0.300
sp 3 1 0.300
# ... (0.3 m down to node 16)
sp 16 1 0.300
sp 17 1 0.225
sp 18 1 0.150
sp 19 1 0.075
sp 20 1 0.000
}
integrator LoadControl 0.05
numberer RCM
system BandGeneral
constraints Transformation
test NormDispIncr 1e-5 20 1
algorithm Newton
analysis Static
set startT [clock seconds]
analyze 205
set endT [clock seconds]
puts "Load Application finished..."
puts "Analysis execution time: [expr $endT-$startT] seconds"
wipe
# path time series: load factor ramps from 0 to 1 over 10 s, then held constant
ops.timeSeries('Path', 1, '-time', 0, 10, 10000, '-values', 0, 1, 1, '-factor', 1)
ops.pattern('Plain', 10, 1)
# displacement of the soil end of the springs: 0.3 m (one pile radius) in the upper
# layer (nodes 2-16), decreasing linearly to zero across the liquefied layer (nodes 17-20)
spDisp = [0.300] * 15 + [0.225, 0.150, 0.075, 0.000]
for n, u in zip(range(2, 21), spDisp):
ops.sp(n, 1, u)
ops.integrator('LoadControl', 0.05)
ops.numberer('RCM')
ops.system('BandGeneral')
ops.constraints('Transformation')
ops.test('NormDispIncr', 1e-5, 20, 1)
ops.algorithm('Newton')
ops.analysis('Static')
startT = time.time()
ops.analyze(205)
endT = time.time()
print('Load Application finished...')
print(f'Analysis execution time: {endT - startT:.0f} seconds')
ops.wipe()
4.3.2.3. Generating Input Files with Matlab
Fig. 4.3.2.2 Geometric input values for the makeInput.m script.
The Matlab scripts were used to generate the provided Tcl input file, and can be used to construct analyses for other geometries and constitutive properties. Matlab was used to simplify computing the parameters of the PySimple1 materials, though the same could be done in Tcl or Python. The script makeInput.m is the main driver; it calls the other scripts while generating the file. It is run as
makeInput(mCase, D, z, T, phi, gamma, pileE, pileNu, nNode, H)
where
mCaseis the name of the input file, as a string without the .tcl extension (e.g. ‘lateralSpreadPile’),Dis the pile diameter in meters,zis the depth to the bottom of the liquefied layer,Tis the thickness of the liquefied layer,phiis the friction angle of the stronger soil layers in degrees,gammais the unit weight of the stronger soil layers in kN/m³,pileEis the elastic modulus of the deep foundation in kPa,pileNuis Poisson’s ratio for the deep foundation,nNodeis the number of pile nodes (more than 200 nodes requires changes to the script),His the length of the pile and soil profile in meters.
The input file is written to a directory with the same name as the file. The provided input file corresponds to makeInput('lateralSpreadPile', 0.6, 10, 2, 36, 17, 3e7, 0.3, 81, 40).
4.3.2.4. Results
The figure below was made with plotResults.py from the recorded output; the Tcl and Python versions give identical results. The top row and the lower left plot show the shear force, bending moment, load applied to the pile by the springs, and displaced shape of the foundation at several times during the analysis. The lower middle plot shows the growth of the maximum moments in the upper and lower soil layers, and the lower right plot shows their positions and the effective length, L_effective, which is the distance between the two maximum moments. The shaded band shows the location of the liquefied layer.
Fig. 4.3.2.3 Response of the deep foundation during the lateral spreading analysis.
At the end of the analysis the top of the foundation has moved with the crust, about 0.3 m. The maximum moments, about 3100 kN-m in the upper layer and 3600 kN-m in the lower layer, occur close to the boundaries of the liquefied layer, and L_effective grows from 3.5 m to 5 m as the loading increases.