Skip to content

This project provides a Python script to generate cyclic loading protocols for FEA simulations. It creates time vs. amplitude data based on user-defined drift percentages, cycles, and loading parameters. The script outputs a CSV file and a plot, making it suitable for structural, seismic, and material fatigue analysis.

License

Notifications You must be signed in to change notification settings

tufailmab/Drift_based_loading_protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Cyclic Loading Protocol Generator for FEA Simulations

This project provides a Python-based solution for generating cyclic loading protocols for FEA simulations. The script produces a time vs. amplitude dataset based on user-defined drift percentages, cycles, and loading parameters. It outputs a CSV file compatible with various simulation software and provides a visual plot for quick validation.

Features

  • User-Friendly Input: Easily define drift percentages, cycles, column height, and sampling rate through prompts.
  • Automated Data Generation: Creates a detailed time-amplitude dataset for cyclic loading.
  • CSV Export: Outputs a ready-to-use .csv file for simulations and further analysis.
  • Visualization: Plots the generated loading protocol for quick review and validation.

Usage Instructions

  1. Run the script using:
    python cyclic_loading_generator.py
  2. Enter the required parameters when prompted (or press Enter to use default values).
  3. Review the generated file: cyclic_loading_protocol.csv
  4. Check the plotted graph for the loading pattern and verify the data.
  5. Customize or extend the code as needed for your specific simulation software.

Requirements

The following Python packages are required:

  • numpy
  • pandas
  • matplotlib

Install dependencies using:

pip install numpy pandas matplotlib

License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this software under the terms of the MIT License. If you use this software in your work, please provide appropriate credit to the developer.

Developer Information

  • Developer: Engr. Tufail Mabood
  • Contact: WhatsApp
  • Note: This tool is open-source. Feel free to modify it and share improvements.

About

This project provides a Python script to generate cyclic loading protocols for FEA simulations. It creates time vs. amplitude data based on user-defined drift percentages, cycles, and loading parameters. The script outputs a CSV file and a plot, making it suitable for structural, seismic, and material fatigue analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages