Left

CivilFEM Online Help

Right

CFVR4205 - GB50011: Spectrum definition

Spectrum definition according to GB 50011

CivilFEM spectrum is defined and compared to the correct values.

Element types used in the model: NONE

Needed CivilFEM Modules:
Geotechnical Module
Bridges and Civil Non Linearities Module
Advanced Prestressed Concrete Module

The example can be launched on an educational license.
KEYWORDS
GB 50011

Model Statistics
Number of elements 1
Number of nodes 2
Number of civil materials 1
Number of cross sections 1
Number of shell vertices 0

Log file: CFVR4205.DAT


   FINISH
  ~CFCLEAR,,1
  NomFile='CFVR4205'
  /TITLE, %NomFile%, GB50011: Spectrum definition

! ----------------------------------------------------------------------
! Model definition
! ----------------------------------------------------------------------
! CivilFEM Setup: Code & Units
  ~UNITS,,LENG,CM
  ~UNITS,,TIME,S
  ~UNITS,,FORC,KP
  ~CODESEL,,,,,GB50011
/PREP7
! Preprocessor
! ----------------------------------------------------------------------
! Materials: A-42
 ~CFMP,1,LIB,STEEL,EA,A42
! Modify density (Rho = 0)
 ~CFMP,1,USER
 ~CFMP,1,DatGen,RHO,,0
! Element Types
  ET,1,BEAM4   ! Type 1: 3D Beam
  ET,2,MASS21  ! Type 2: Mass
! Sections
 ~SSECLIB,1,1,1,1   !IPE 80
 ~BMSHPRO,1,BEAM,1,1,,,4,,0,,Steel

! Nodes
  L = 10              ! L    : Bar length
  N, 1
  N,10,L

! Elements
  TYPE,1
  MAT ,1
  REAL,1
  EN,1,1,10
  EPLOT

! Parameters
  *GET,AR20,EX,1                         ! Ex   : Elastic Modulus
  ~CFGET,AR22,SECTION,1,MECHPROP,A,,2    ! Area : Bar area
  ~CFGET,AR23,SECTION,1,MECHPROP,IZZ,,2  ! Izz  : Moment of inertia
  ~CFGET,AR24,SECTION,1,MECHPROP,IYY,,2  ! Iyy  : Moment of inertia

! Seismic spectrum definition
  ~DEFSPEC,ALL,0.20,RARE,I,1,0.04,0.7

  pi=3.141592654

!  ----------------------------------------------------------------------
! DATA CHECK
! ----------------------------------------------------------------------
! Data comparision number
  NComp = 40
  NComp_ch = 0

! Marix dim.
  *DIM,LABEL,CHAR,Ncomp,1
  *DIM,LABEL_CH,CHAR,Ncomp_ch,1
  *DIM,VALUE,,Ncomp,3
  *DIM,VALUE_CH,CHAR,Ncomp_ch,3
  *DIM,TOLER,,Ncomp,2


*DO,ARG1,1,20
   /PREP7
   ~CFGET,AR26,SEISM,,SPEC,TH,,ARG1,1   ! Period
  ! Labels
   LABEL(ARG1,1) = 'Sa(%ARG1%)x'
   LABEL(20+ARG1,1) = 'Sa(%ARG1%)x'

   AR25=AR20*AR22/L
   AR27=AR25*(AR26/(2*pi))**2  ! Mass applied at end
   R,2,AR27
   TYPE,2
   MAT, 1
   REAL,2
   EN,2,10
   FINISH
   /SOLU

 ! Displacements
   D,1,,,,,,ALL
   D,10,,,,,,UY,UZ,ROTX,ROTY,ROTZ
   ~MODLSOL,1
   ~CMBMOD,HORIZONT,NONE,NONE,0,0.0001
 ! Query results
   *GET,ARG5,NODE,10,U,X
 ! Correct values
   VALUE(20-ARG1+1,1)=ARG5*AR25/AR27 ! Aceleration
 ! Obtained values
   ~CFGET,VALUE(20-ARG1+1,2),SEISM,,SPEC,SDH,,ARG1,1  ! Y components of frequent horizontal spectrum
   ~CFGET,VALUE(40-ARG1+1,2),SEISM,,SPEC,SDH,,ARG1,1  ! Y components of frequent horizontal spectrum
   
   ! CivilFEM gives the spectrum Normalized by gravity.
   ! To compare it must be changed to acceleration user units.
   VALUE(20-ARG1+1,2) = VALUE(20-ARG1+1,2)*981
   VALUE(40-ARG1+1,2) = VALUE(40-ARG1+1,2)*981
   /PREP7
   EDELE,2
*ENDDO

! Correct values
! ----------------------------------------------------------------------
  VALUE(21,1) = 702.3193594
  VALUE(22,1) = 730.0479375
  VALUE(23,1) = 757.7765156
  VALUE(24,1) = 785.5050938
  VALUE(25,1) = 813.2336719
  VALUE(26,1) = 840.96225
  VALUE(27,1) = 868.6908281
  VALUE(28,1) = 896.4194063
  VALUE(29,1) = 924.1479844
  VALUE(30,1) = 951.8765625
  VALUE(31,1) = 951.8765625
  VALUE(32,1) = 596.6882572
  VALUE(33,1) = 438.6768493
  VALUE(34,1) = 348.622559
  VALUE(35,1) = 290.1852447
  VALUE(36,1) = 249.0825408
  VALUE(37,1) = 218.5356751
  VALUE(38,1) = 188.8297688
  VALUE(39,1) = 159.1238626
  VALUE(40,1) = 129.4179563
                         
! Warning and error tolerances
! ----------------------------------------------------------------------
   *DO,II,1,40
     TOLER(II, 1)= 1.0 $ TOLER(II, 2)= 1.0
   *ENDDO

! ----------------------------------------------------------------------
! Results Comparison
!-----------------------------------------------------------------------
  COMPARA.MAC

Results

LabelTargetCivilFEMRatioTolerance
Sa(1)x 702.32 702.321.000 1
Sa(2)x 730.05 730.051.000 1
Sa(3)x 757.78 757.781.000 1
Sa(4)x 785.51 785.511.000 1
Sa(5)x 813.23 813.231.000 1
Sa(6)x 840.96 840.961.000 1
Sa(7)x 868.69 868.691.000 1
Sa(8)x 896.42 896.421.000 1
Sa(9)x 924.15 924.151.000 1
Sa(10)x 951.88 951.881.000 1
Sa(11)x 951.88 951.881.000 1
Sa(12)x 596.69 596.691.000 1
Sa(13)x 438.68 438.681.000 1
Sa(14)x 348.62 348.621.000 1
Sa(15)x 290.19 290.191.000 1
Sa(16)x 249.08 249.081.000 1
Sa(17)x 218.54 218.541.000 1
Sa(18)x 188.83 188.831.000 1
Sa(19)x 159.12 159.121.000 1
Sa(20)x 129.42 129.421.000 1
Sa(1)x 702.32 702.321.000 1
Sa(2)x 730.05 730.051.000 1
Sa(3)x 757.78 757.781.000 1
Sa(4)x 785.51 785.511.000 1
Sa(5)x 813.23 813.231.000 1
Sa(6)x 840.96 840.961.000 1
Sa(7)x 868.69 868.691.000 1
Sa(8)x 896.42 896.421.000 1
Sa(9)x 924.15 924.151.000 1
Sa(10)x 951.88 951.881.000 1
Sa(11)x 951.88 951.881.000 1
Sa(12)x 596.69 596.691.000 1
Sa(13)x 438.68 438.681.000 1
Sa(14)x 348.62 348.621.000 1
Sa(15)x 290.19 290.191.000 1
Sa(16)x 249.08 249.081.000 1
Sa(17)x 218.54 218.541.000 1
Sa(18)x 188.83 188.831.000 1
Sa(19)x 159.12 159.121.000 1
Sa(20)x 129.42 129.421.000 1


Contains proprietary and confidential information of Ingeciber, S.A.