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.
- 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.
- Run the script using:
python cyclic_loading_generator.py
- Enter the required parameters when prompted (or press Enter to use default values).
- Review the generated file:
cyclic_loading_protocol.csv
- Check the plotted graph for the loading pattern and verify the data.
- Customize or extend the code as needed for your specific simulation software.
The following Python packages are required:
- numpy
- pandas
- matplotlib
Install dependencies using:
pip install numpy pandas matplotlib
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: Engr. Tufail Mabood
- Contact: WhatsApp
- Note: This tool is open-source. Feel free to modify it and share improvements.