3.1.9.3. NewtonCotes

This command creates a Newton-Cotes beamIntegration object. Newton-Cotes places integration points uniformly along the element, including a point at each end of the element. The weights for the uniformly spaced integration points are tabulated in references on numerical analysis. The force deformation

response at each integration point is defined by the section. The order of accuracy for Gauss-Radau integration is N-1.

Two input forms: prismatic (one section) or non-prismatic (N section tags).

beamIntegration NewtonCotes tag secTag N
beamIntegration NewtonCotes tag N secTag1 secTag2 ... secTagN

Example

  1. Tcl Code

beamIntegration NewtonCotes 2 1 6
beamIntegration NewtonCotes 3 4 1 2 2 1
  1. Python Code

ops.beamIntegration('NewtonCotes', 2, 1, 6)
ops.beamIntegration('NewtonCotes', 3, 4, 1, 2, 2, 1)