Lightweight Python utilities for scientific and structural engineering visualization using Matplotlib, pandas, and Xarray.
This repository was created as part of the FOSSEE Osdag Semester Internship – Software Development Screening Task.
- Read CSV or NetCDF files
- Line plots
- Bar charts
- Heatmaps
- Save PNG images
- Shear Force Diagram (SFD)
- Bending Moment Diagram (BMD)
- 3D bridge frame visualization
pip install pandas matplotlib xarray netcdf4python3 tool.py --input sample.csv --plot line --x time --y force --out plot.pngpython3 tool.py --input data.nc --plot heatmap --out heat.pngExtracts:
- Vy → Shear force
- Mz → Bending moment
- for selected girder/element
python3 sfd_bmd.py --input simulation.nc --element 0 --out girder0girder0_SFD.png
girder0_BMD.png
Plots:
- node coordinates
- element connectivity
- bridge frame structure
python3 visualize_3d.py --input simulation.nc --out frame3d.pngtool.py -> Generic plotting CLI
sfd_bmd.py -> Shear & Bending moment diagrams
visualize_3d.py -> 3D structural frame visualization
generate_sample_nc.py -> Sample NetCDF generator (demo only)
sample.csv -> Example dataset
requirements.txt -> Dependencies
- Works with any Osdag-generated NetCDF/Xarray dataset
- Designed to be lightweight and CLI-based
- No GUI or web framework required
Tanishk Tiwari FOSSEE Osdag Screening Submission – Software Development Track
This project is released under the MIT License.
You are free to use, modify, and distribute this software for educational and research purposes. See the LICENSE file for full details.