{"id":2035,"date":"2024-10-05T03:53:11","date_gmt":"2024-10-05T03:53:11","guid":{"rendered":"https:\/\/quakeadvice.org\/?page_id=2035"},"modified":"2024-10-15T02:19:26","modified_gmt":"2024-10-15T02:19:26","slug":"rocking-simulation","status":"publish","type":"page","link":"https:\/\/quakeadvice.org\/index.php\/advanced-seismic-design\/rocking-simulation\/","title":{"rendered":"Rocking Simulation"},"content":{"rendered":"\n\n\t<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\"\/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\/>\n    <title>Rocking Motion Simulation<\/title>\n    <style>\n\t        canvas {\n            border: 1px solid black;\n        }\n  \t.btn {\n  background-color: DodgerBlue;\n  border: none;\n  color: white;\n  width:260px; \n  height:35px;\n  cursor: pointer;\n  font-size: 16px;\n }\n .btn:hover {\n  background-color: RoyalBlue;\n}\ntable, th, td {\n    border: black;\n    border-collapse: collapse;\n}\n    <\/style>\n<\/head>\n<body>\n <h1>Rotational Response of Rigid Block<\/h1>\n  This program simulates the rotational response of rigid blocks with two options: free rocking rigid block, which captures the natural oscillatory motion of an unrestrained block, and the tendon restrained rocking rigid block, where addition of tendons limit the rocking amplitude of the block. This program provides a versatile platform for engineers and researchers to study the dynamic behaviour of rigid structures, allowing users to explore the influence of parameters including the block geometry, number of tendons, initial prestress force, and ground motion intensity.<br \/>\n        <button onclick=\"goToFreeRocking()\">Free Rocking<\/button>\n        <button onclick=\"goToTendonRestraintRocking()\">Tendon Restrained Rocking<\/button>\n           <label for=\"input_r\">Enter width of the block (m)<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"14\" id=\"input_r\" step=\"0.01\"\/>\n\t\t\t\t\t<br \/><br \/>\n        <label for=\"input_h\">Enter height of the block (m)<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"65\" id=\"input_h\" step=\"0.01\"\/>\n\t\t\t\t\t<br \/><br \/>\n        <label for=\"Mass\">Enter the mass of the block (tons)<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"12700\" id=\"Mass\" step=\"0.01\"\/>\n<br \/><br \/>\n    <label for=\"initial_Prestress\">Enter the Initial Prestress Force (G)<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"0.1\" id=\"initial_Prestress\" step=\"0.01\"\/>\n<br \/><br \/>\n\t<label for=\"input_no_strands\">No. of Strands Per Tendon<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"55\" id=\"input_no_strands\" step=\"0.01\"\/>\n<br \/><br \/>\n\t <label for=\"input_no_tendons\">No. of Tendons<\/label>\n\t\t\t\t\t<input type=\"number\" placeholder= \"8\" id=\"input_no_tendons\" step=\"0.01\"\/>\n<br \/>\n        <label for=\"input_excitation\">Select External Excitation Function:<\/label>\n        <select id=\"input_excitation\" onchange=\"showSubOptions()\">\n            <option value=\"0\">-Select-<\/option>\n            <option value=\"1\">Displacement (Gauss Function)<\/option>\n\t\t\t<option value=\"2\">Acceleration Time History<\/option>\n        <\/select>\n    <!-- Secondary dropdown for Random Noise options, initially hidden -->\n      <label for=\"input_P_end\">Pulse Duration (s)<\/label>\n             <input type=\"range\" id=\"input_P_end\" onchange= \"updatePlot()\" min = \"0.001\" max = \"0.7\" value = \"0.01\" step=\"0.0005\"\/> \n\t\t <br \/><label for=\"input_amplitude\">Maximum Displacement (m):<\/label>\n            <input type=\"number\" placeholder= \"0.65\" onchange=\"updatePlot()\" id=\"input_amplitude\" step=\"0.01\"\/> \n       \t<label for=\"input_t_end\">Duration of Analysis (s)<\/label>\n\t\t\t<input type=\"number\" placeholder= \"10\" id=\"input_t_end\" step=\"0.01\"\/>\n      <br \/> <a href=\"https:\/\/cdasap.com\/wp-content\/uploads\/2024\/10\/Sample_Accelerogram.xlsx\" download=\"Sample Acceleration Time History.xlsx\">\n        Click to download a sample &#8216;Acceleration Time History&#8217; file\n    <\/a>\n\t\n  \tUpload File: <input type=\"file\" id=\"excelFileInput\" onclick=\"open_file()\" name=\"file\" accept=\".xlsx, .xls\"\/>\n\t<br \/>\n<br \/><br \/>\n  <button id=\"simulateButton\" onclick=\"simulateRocking()\">  Simulate Rocking<\/button>\n<button onclick=\"resetInputsAndCanvas()\">Reset<\/button>\n<button id=\"downloadButton\" onclick=\"downloadData()\" disabled>Download Excel<\/button>\n<br \/><br \/>\n<br \/><br \/>\n        <canvas id=\"canvas1\" width=\"500\" height=\"400\"><\/canvas>\n        <canvas id=\"canvas2\"width=\"500\" height=\"400\"><\/canvas>\n        <canvas id=\"canvas3\"width=\"500\" height=\"400\"><\/canvas>\n\t\t<canvas id=\"canvas4\"width=\"500\" height=\"400\"><\/canvas>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Rocking Motion Simulation Rotational Response of Rigid Block This program simulates the rotational response of rigid blocks with two options: free rocking rigid block, which captures the natural oscillatory motion of an unrestrained block, and the tendon restrained rocking rigid block, where addition of tendons limit the rocking amplitude of the block. This program provides &hellip; <a href=\"https:\/\/quakeadvice.org\/index.php\/advanced-seismic-design\/rocking-simulation\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"parent":1550,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-full-width.php","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-2035","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/pages\/2035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/comments?post=2035"}],"version-history":[{"count":6,"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/pages\/2035\/revisions"}],"predecessor-version":[{"id":2061,"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/pages\/2035\/revisions\/2061"}],"up":[{"embeddable":true,"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/pages\/1550"}],"wp:attachment":[{"href":"https:\/\/quakeadvice.org\/index.php\/wp-json\/wp\/v2\/media?parent=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}