Skip to content
/ b3p Public

Command line tools for creating models of composite wind turbine blades

License

Notifications You must be signed in to change notification settings

wr1/b3p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeployTestPyPI

b3p

Command line tools to create models for composite (wind turbine) blades.

Functionality

  • Building 3D models of wind turbine blades
  • 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

Install

From pypi

pip install b3p

From source

git clone https://github.com/wr1/b3p.git
cd b3p 
pip install -e .

How to run

Usage: b3p COMMAND

╭─ Commands ──────────────────────────────────────────────────╮
│ 2d         Create 2d meshes for calculation of 6x6 matrices │
│ build      Build the blade model, geometry, mesh, drape     │
│ ccx        Run the ccx analysis                             │
│ clean      Clean the working directory.                     │
│ shell      Start an interactive shell.                      │
│ --help,-h  Display this message and exit.                   │
│ --version  Display application version.                     │
╰─────────────────────────────────────────────────────────────╯

In a cloned repository:

cd examples
# build the blade model, geometry, mesh, drape
b3p build blade_test.yml
# run the ccx fea analysis
b3p ccx blade_test.yml  

Output

Plot of geometric input parameters for the example blade test_blade

Visualisation of the number of plies on the mesh using Paraview 3dblade_nplies

Visualisation of a 2d cross section mesh mesh2d

CalculiX results (very coarse mesh) zstrain