Metadata-Version: 2.1
Name: b3p
Version: 0.0.2rc6
Summary: Command line tools for preprocessing of wind turbine blade models
License: MIT
Author: wr1
Author-email: 8971152+wr1@users.noreply.github.com
Requires-Python: >=3.9.7,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: fire (>=0.6.0,<0.7.0)
Requires-Dist: h5py (>=3.11.0,<4.0.0)
Requires-Dist: meshio (>=5.3.5,<6.0.0)
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: pandas (>=2.2.1,<3.0.0)
Requires-Dist: pyarrow (>=15.0.2,<16.0.0)
Requires-Dist: pyvista (>=0.43.5,<0.44.0)
Requires-Dist: ruamel-yaml (>=0.18.6,<0.19.0)
Requires-Dist: scipy (>=1.13.0,<2.0.0)
Requires-Dist: vtk (>=9.3.0,<10.0.0)
Description-Content-Type: text/markdown

# b3p (blade3 preprocessor)
Command line tools to create models for composite (wind turbine) blades. 

## Functionality
- Interpolating a blade through a series of airfoils
- Aligning airfoils to create maximum building height over a straight shearweb
- Creating a quad mesh for the blade
- Assigning scalable *slab based* laminate plans to the structure
- Assembling a shell mesh with laminate properties
- Writing mesh information to VTK files

## How to run
```sh
pip install -e . 
cd examples
make
```
which outputs the following targets
```
help                 Show this help
build                make self contained yaml file 
ccx                  prepare and run ccx models
aero                 run aero analysis
all                  run all steps
```
To run all steps type:
```
make all
``` 
## Output
Plot of geometric input parameters for the example blade
![test_blade](https://user-images.githubusercontent.com/8971152/148471383-7f652a84-447a-4db0-81e2-2e27b1785745.png)

Visualisation of the number of plies on the mesh using [Paraview](https://paraview.org)
![3dblade_nplies](https://user-images.githubusercontent.com/8971152/148471469-61fb3efb-1789-4667-97b4-11b9e36d2e73.png)

Visualisation of a 2d cross section mesh 
![mesh2d](https://user-images.githubusercontent.com/8971152/148645980-51c36e1a-89e1-469d-aeea-49bf5adf4070.png)

[CalculiX](http://www.dhondt.de/) results (very coarse mesh)
![zstrain](https://user-images.githubusercontent.com/8971152/151350188-0a6f31bf-5f0e-457b-b6cb-438bb10b4c91.png)


## Input file format
Take a look at ```examples/blade_test.yml```



