4.1.4. Moment Curvature Example

4.1.4.1. Introduction

../../../_images/MomentCurvature.png

Fig. 4.1.4.1 The zeroLengthSection element and the fiber section.

This example computes the moment-curvature response of a reinforced concrete section. The section is represented by a fiber section, which is assigned to a zeroLengthSection element. The element has two nodes at the same location: node 1 is fixed, and the deformations of the section are the displacements of node 2. A constant axial load is applied first, and then the curvature is increased, under displacement control, to a target value. The example also introduces procedures, which allow a sequence of commands to be reused.

The complete scripts are available here: MomentCurvature.tcl (Tcl) and MomentCurvature.py (Python).

Note

  1. All lines that begin with # are comments. They are ignored by the interpreter but are useful for documenting the code. When creating your own input scripts you are highly encouraged to use comments.

  2. The units are kip and in.

The script is in two parts. The first part defines the procedure MomentCurvature, which performs the section analysis. The second part defines the materials and the section, and then calls the procedure. A procedure must be defined before it is called.

Note

A procedure that will be used in many scripts would normally be placed in a separate file, and loaded with the source command (Tcl) or import (Python).

4.1.4.2. Moment Curvature Procedure

The procedure MomentCurvature takes as arguments the tag of the section, the axial load (negative is compression), the maximum curvature and the number of increments (default 100). In Tcl it is defined with the proc command, in Python with def.

It first creates two nodes at the same location, (0,0), and a zeroLengthSection element between them. Node 1 is fixed. At node 2 only the axial displacement (dof 1) and the rotation (dof 3) are free; these are the axial strain and the curvature of the section. A recorder writes the time and the rotation of node 2 to the file section$secTag.out (section1.out in this example).

The analysis then has two stages:

  1. The axial load is applied in a single step, with a Constant time series and a LoadControl integrator with a load increment of 0.0 (the load is constant, so the increment is irrelevant).

  2. A reference moment of 1.0 is applied at node 2 with a Linear time series, and a DisplacementControl integrator increases the rotation of node 2 (dof 3) by dK in each step. The load factor found at each step is then the moment in the section, and the time in the domain is equal to the load factor. The recorder therefore writes the moment (time) in the first column and the curvature in the second.

proc MomentCurvature {secTag axialLoad maxK {numIncr 100} } {

    # Define two nodes at (0,0)
    node 1 0.0 0.0
    node 2 0.0 0.0

    # Fix all degrees of freedom except axial and bending
    fix 1 1 1 1
    fix 2 0 1 0

    # Define element
    #                         tag ndI ndJ  secTag
    element zeroLengthSection  1   1   2  $secTag

    # Create recorder
    recorder Node -file section$secTag.out -time -node 2 -dof 3 disp

    # Define constant axial load
    timeSeries Constant 1
    pattern Plain 1 1 {
        load 2 $axialLoad 0.0 0.0
    }

    # Define analysis parameters
    integrator LoadControl 0.0
    system SparseGeneral -piv; # Overkill, but may need the pivoting!
    test NormUnbalance 1.0e-9 10
    numberer Plain
    constraints Plain
    algorithm Newton
    analysis Static

    # Do one analysis for constant axial load
    analyze 1

    # Define reference moment
    timeSeries Linear 2
    pattern Plain 2 2 {
        load 2 0.0 0.0 1.0
    }

    # Compute curvature increment
    set dK [expr $maxK/$numIncr]

    # Use displacement control at node 2 for section analysis
    integrator DisplacementControl 2 3 $dK

    # Do the section analysis
    analyze $numIncr
}

4.1.4.3. Section Definition

As mentioned, in this example we are determing the moment capicity of the reinforced concrete section using a fiber section. A fiber section is made up of fibers. Each fiber has an area, a location and is assigned a uniaxial material, here confined concrete for the core, unconfined concrete for the cover, and reinforcing steel. The section being created is 24 in deep and 15 in wide, with a cover of 1.5 in on all sides, as shown in the figure below (a). Bending is about the strong axis of the section, the local z-axis.

../../../_images/MomentCurvatureSection.png

Fig. 4.1.4.2 The section: (a) dimensions, and (b) fiber discretization, with the (y, z) coordinates of the reinforcing bars.

The confined core and the unconfined cover are discretized separately into patches of fibers, and the reinforcing bars are placed in layers along the boundary between them, as shown in the figure above (b). The core is one patch of 10 fibers through the depth (the y-direction). The cover is four patches: the two sides (z between 6 and 7.5 in, and between -7.5 and -6 in), with 10 fibers each through the depth, and the top and bottom (y between 10.5 and 12 in, and between -12 and -10.5 in), with 2 fibers each. As bending is about the z-axis, the strains vary only with y, so one fiber is used across the width (the z-direction) of each patch. There are three layers of bars: three bars at the top (y = 10.5 in), two bars at mid-depth (y = 0) and three bars at the bottom (y = -10.5 in), each with an area of 0.60 in2 (a no. 7 bar).

The concrete is modeled with Concrete01 (core: \(f'_c\) = 6.0 ksi at a strain of 0.004, crushing strength 5.0 ksi at a strain of 0.014; cover: \(f'_c\) = 5.0 ksi at 0.002, crushing strength 0 at 0.006), and the steel with Steel01 (\(f_y\) = 60 ksi, E = 30000 ksi, strain hardening ratio 0.01). The dimensions are set as variables, and the corner coordinates of the patches and the ends of the layers are computed from them.

# Remove existing model
wipe

# Create ModelBuilder (with two-dimensions and 3 DOF/node)
model BasicBuilder -ndm 2 -ndf 3

# Define materials for nonlinear columns
# ------------------------------------------
# CONCRETE                  tag   f'c        ec0   f'cu   ecu
# Core concrete (confined)
uniaxialMaterial Concrete01  1  -6.0  -0.004   -5.0     -0.014

# Cover concrete (unconfined)
uniaxialMaterial Concrete01  2  -5.0   -0.002   0.0     -0.006

# STEEL
# Reinforcing steel
set fy 60.0;      # Yield stress
set E 30000.0;    # Young's modulus
#                        tag  fy E0    b
uniaxialMaterial Steel01  3  $fy $E 0.01

# Define cross-section for nonlinear columns
# ------------------------------------------

# set some parameters
set colWidth 15
set colDepth 24

set cover  1.5
set As    0.60;     # area of no. 7 bars

# some variables derived from the parameters
set y1 [expr $colDepth/2.0]
set z1 [expr $colWidth/2.0]

section Fiber 1 {

    # Create the concrete core fibers
    patch rect 1 10 1 [expr $cover-$y1] [expr $cover-$z1] [expr $y1-$cover] [expr $z1-$cover]

    # Create the concrete cover fibers (left, right, bottom, top)
    patch rect 2 10 1  [expr -$y1] [expr $z1-$cover] $y1 $z1
    patch rect 2 10 1  [expr -$y1] [expr -$z1] $y1 [expr $cover-$z1]
    patch rect 2  2 1  [expr -$y1] [expr $cover-$z1] [expr $cover-$y1] [expr $z1-$cover]
    patch rect 2  2 1  [expr $y1-$cover] [expr $cover-$z1] $y1 [expr $z1-$cover]

    # Create the reinforcing fibers (top, middle, bottom)
    layer straight 3 3 $As [expr $y1-$cover] [expr $z1-$cover] [expr $y1-$cover] [expr $cover-$z1]
    layer straight 3 2 $As 0.0 [expr $z1-$cover] 0.0 [expr $cover-$z1]
    layer straight 3 3 $As [expr $cover-$y1] [expr $z1-$cover] [expr $cover-$y1] [expr $cover-$z1]
}

Note

In Tcl the patches and layers are given inside the braces { } of the section command. In Python they are separate commands, which apply to the section most recently defined.

4.1.4.4. Yield Curvature and Analysis Parameters

To choose the target curvature, the yield curvature is estimated, assuming no axial load and only the top and bottom steel, as \(\kappa_y = \varepsilon_y / (0.7 d)\), with \(\varepsilon_y = f_y/E\) the yield strain of the steel and \(d\) the distance from the extreme compression fiber to the tension steel (depth minus cover). The section is then analyzed under an axial compression of 180 kips up to a curvature of 15 times this estimate (a curvature ductility of 15), in 100 increments.

# Estimate yield curvature
# (Assuming no axial load and only top and bottom steel)
set d [expr $colDepth-$cover]  ;# d -- from cover to rebar
set epsy [expr $fy/$E]         ;# steel yield strain
set Ky [expr $epsy/(0.7*$d)]

# Print estimate to standard output
puts "Estimated yield curvature: $Ky"

# Set axial load
set P -180

set mu 15;             # Target ductility for analysis
set numIncr 100;       # Number of analysis increments

# Call the section analysis procedure
MomentCurvature 1 $P [expr $Ky*$mu] $numIncr

# Print the curvature and moment at the end of the analysis
puts "Final curvature: [nodeDisp 2 3]"
puts "Final moment:    [getTime]"

4.1.4.5. Results

When you run the script, you should see the following printed to the screen:

Estimated yield curvature: 0.000126984126984127
Final curvature:              0.00190476190476190541
Final moment:    4779.343333

The moment-curvature response, plotted from the file section1.out (moment in column 1, curvature in column 2), is shown below. The section reaches a peak moment of about 4840 kip-in at a curvature of about 0.00053 1/in, and retains most of this moment up to the target curvature. The plot can be made, for example, in Python with:

import numpy as np
import matplotlib.pyplot as plt

data = np.loadtxt('section1.out')
plt.plot(data[:, 1], data[:, 0])
plt.xlabel('Curvature (1/in)')
plt.ylabel('Moment (kip-in)')
plt.show()
../../../_images/MomentCurvaturePlot.png

Fig. 4.1.4.3 Moment-curvature response of the section under an axial load of 180 kips.

Code Developed by: Michael H. Scott