CFVR4604 - EAK 2000: Seismic Analysis (design spectrum) X-axis
Seismic Analysis on a 1 DOF beam according to EAK 2000
This example compares spectrum accelerations given by CivilFEM to accelerations obtained when solving on a 1 DOF beam and to the correct EAK 2000 spectum accelerations.
The model is 1 element beam with only 1 DOF, which direction the CivilFEM spectrum is set (the rest of the DOF are constrained). A different mass is applied at the free end of the beam for the beam period to be equal to the 20 CivilFEM spectrum points. After solving, the mass acceleration is obtained and compared to the CivilFEM spectrum acceleration and to the correct value. Therefore, this example checks the following results:
- CivilFEM spectrum is defined correctly by comparing to the correct value
- CivilFEM spectrum is applied correctly and response acceleration is equal to spectrum acceleration
Element types used in the model: BEAM4, MASS21 Needed CivilFEM Modules: |
|
| 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: CFVR4604.DAT
FINISH ~CFCLEAR,,1 NomFile='CFVR4604' /TITLE, %NomFile%, EAK 2000: Seismic Analysis (design spectrum) X-axis ! ---------------------------------------------------------------------- ! Model definition ! ---------------------------------------------------------------------- ! CivilFEM Setup: Code & Units ~UNITS,,LENG,CM ~UNITS,,TIME,S ~UNITS,,FORC,KP ~CODESEL,,,,,EAK2000 /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,, ! 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 ! Spectrum definition ~DEFSPEC,ALL,I,A,DESIGN,1,5,1.3,0.9 pi = 3.141592654 ! ---------------------------------------------------------------------- ! DATA CHECK ! ---------------------------------------------------------------------- ! Data comparision number NComp = 40 NComp_ch = 0 ! Matrix 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,2 ! 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 ! Acceleration ! Obtained values ~CFGET,VALUE(20-ARG1+1,2),SEISM,,SPEC,SDH,,ARG1,2 ! Y components of design horizontal spectrum ~CFGET,VALUE(40-ARG1+1,2),SEISM,,SPEC,SDH,,ARG1,2 ! Y components of design 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(40,1) = 74.18386513 VALUE(39,1) = 117.75954554 VALUE(38,1) = 154.30865778 VALUE(37,1) = 186.93162647 VALUE(36,1) = 216.91493752 VALUE(35,1) = 244.94972569 VALUE(34,1) = 271.46144124 VALUE(33,1) = 296.73546050 VALUE(32,1) = 320.97494280 VALUE(31,1) = 344.33100000 VALUE(30,1) = 344.33100000 VALUE(29,1) = 325.21871827 VALUE(28,1) = 306.07200000 VALUE(27,1) = 286.90234010 VALUE(26,1) = 267.79004919 VALUE(25,1) = 248.68350000 VALUE(24,1) = 229.55400000 VALUE(23,1) = 210.43023942 VALUE(22,1) = 191.29500000 VALUE(21,1) = 172.16550000 ! Warning and error tolerances ! ---------------------------------------------------------------------- *DO,II,1,NComp TOLER(II, 1)= 0.1 $ TOLER(II, 2)= 0.1 *ENDDO ! ---------------------------------------------------------------------- ! Results Comparison ! ---------------------------------------------------------------------- COMPARA.MAC |
Results
| Label | Target | CivilFEM | Ratio | Tolerance |
| Sa(1)x | 172.17 | 172.17 | 1.000 | 0.1 |
| Sa(2)x | 191.3 | 191.29 | 1.000 | 0.1 |
| Sa(3)x | 210.42 | 210.42 | 1.000 | 0.1 |
| Sa(4)x | 229.55 | 229.55 | 1.000 | 0.1 |
| Sa(5)x | 248.68 | 248.68 | 1.000 | 0.1 |
| Sa(6)x | 267.81 | 267.81 | 1.000 | 0.1 |
| Sa(7)x | 286.94 | 286.94 | 1.000 | 0.1 |
| Sa(8)x | 306.07 | 306.07 | 1.000 | 0.1 |
| Sa(9)x | 325.2 | 325.2 | 1.000 | 0.1 |
| Sa(10)x | 344.33 | 344.33 | 1.000 | 0.1 |
| Sa(11)x | 344.33 | 344.33 | 1.000 | 0.1 |
| Sa(12)x | 320.98 | 320.97 | 1.000 | 0.1 |
| Sa(13)x | 296.74 | 296.74 | 1.000 | 0.1 |
| Sa(14)x | 271.46 | 271.46 | 1.000 | 0.1 |
| Sa(15)x | 244.95 | 244.95 | 1.000 | 0.1 |
| Sa(16)x | 216.91 | 216.91 | 1.000 | 0.1 |
| Sa(17)x | 186.93 | 186.93 | 1.000 | 0.1 |
| Sa(18)x | 154.31 | 154.31 | 1.000 | 0.1 |
| Sa(19)x | 117.76 | 117.76 | 1.000 | 0.1 |
| Sa(20)x | 74.184 | 74.184 | 1.000 | 0.1 |
| Sa(1)x | 172.17 | 172.17 | 1.000 | 0.1 |
| Sa(2)x | 191.29 | 191.29 | 1.000 | 0.1 |
| Sa(3)x | 210.43 | 210.42 | 1.000 | 0.1 |
| Sa(4)x | 229.55 | 229.55 | 1.000 | 0.1 |
| Sa(5)x | 248.68 | 248.68 | 1.000 | 0.1 |
| Sa(6)x | 267.79 | 267.81 | 1.000 | 0.1 |
| Sa(7)x | 286.9 | 286.94 | 1.000 | 0.1 |
| Sa(8)x | 306.07 | 306.07 | 1.000 | 0.1 |
| Sa(9)x | 325.22 | 325.2 | 1.000 | 0.1 |
| Sa(10)x | 344.33 | 344.33 | 1.000 | 0.1 |
| Sa(11)x | 344.33 | 344.33 | 1.000 | 0.1 |
| Sa(12)x | 320.97 | 320.97 | 1.000 | 0.1 |
| Sa(13)x | 296.74 | 296.74 | 1.000 | 0.1 |
| Sa(14)x | 271.46 | 271.46 | 1.000 | 0.1 |
| Sa(15)x | 244.95 | 244.95 | 1.000 | 0.1 |
| Sa(16)x | 216.91 | 216.91 | 1.000 | 0.1 |
| Sa(17)x | 186.93 | 186.93 | 1.000 | 0.1 |
| Sa(18)x | 154.31 | 154.31 | 1.000 | 0.1 |
| Sa(19)x | 117.76 | 117.76 | 1.000 | 0.1 |
| Sa(20)x | 74.184 | 74.184 | 1.000 | 0.1 |
Contains proprietary and confidential information of Ingeciber, S.A.

