We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
00::Create
01::Boundary
02::BoundaryCondition
03::Mesh
04::Turbulence
05::Recipe
06::Solution
07::PostProcess
08::Etc

Butterfly

ADDON. Version 0.0.05. Released on 2019-Feb-23. Provides 59 components. Created by Mostapha Sadeghipour Roudsari. Features 3 video tutorials.
A light python API for creating and running OpenFoam cases for CFD simulation.

00::Create

Refinement Region
Butterfly refinement range.
-
Create Case from Geometries
Create an OpenFOAM Case from geometries.
-
Wind Tunnel Parameters
Wind tunnel parameters.
-
Update block Mesh Dict
Update blockMeshDict.
-
Create Case from Tunnel
Create Case from wind tunnel.
-
Meshing Parameters
Set meshing parameters for blockMesh and snappyHexMesh.
Location Refinement Mode
Inside/Ouside region refinement.
-
Butterfly
This component downloads butterfly library from github to:
C:sersUSERNAME%ppDataoamingcNeelhinoceros.0criptsutterfly
-
Create Butterfly Geometry
Create Butterfly surface.
-
Distance Refinement Mode
Distance refinement.
-
Make2d Parameters
Make a case 2d.
Create Case from Folder
Create an OpenFOAM Case from an existing case in a local folder.
-
Wind Vector
Wind vector.
-

03::Mesh

Segment Grading
Segment Grading.
Use this component to create a grading for a segment of the block based on ratio
or length.
-
Load Points
Load points from the case for preview.
-
chek Mesh
Chek the metrics about the mesh.
-
Grading XYZ
Grading XYZ
Create a grading for different XYZ.
-
wind Tunnel Grading
Windtunnel auto grading
This component generates gradingXYZ for an outdoor study (wind tunnel).
-
snappy Hex Mesh Dict
Set parameters for snappyHexMeshDict.
Read more about snappyHexMeshDict here:
https://openfoamwiki.net/images/f/f0/Final-AndrewJacksonSlidesOFW7.pdf
Multi Grading
MultiGrading
Create a grading for multiple segment_gradings.
-
snappy Hex Mesh
snappyHexMesh
-
Load Mesh
Load mesh from the case for preview.
-
block Mesh
blockMesh
-

08::Etc

decompose Par Dict simple
Simple decomposeParDict. Dictionary for parallel runs.
-
Get Geometry
Update fvSchemes values based on mesh orthogonalities.
-
div Schemes library
Generate fvSchemes based on mesh non-orthogonalities.
-
Fv Schemes from Non-orthogonality
Generate fvSchemes based on mesh non-orthogonalities.
-
decompose Par Dict scotch
Scotch decomposeParDict. Dictionary for parallel runs.
-
Look Up Case Folder
Look Up Case Folder.
-
purge Case
Purge case folder.
-

02::BoundaryCondition

epsilon Wall Function
Epsilon Wall Function boundary condition.
-
kq RWall Function
kqR Wall Function boundary condition.
-
nutk Wall Function
nutk Wall Function boundary condition.
-
fixed Value
Fixed value boundary condition.
-
zero Gradient
Zero gradient boundary condition.
-
calculated
calculated boundary condition.
-

06::Solution

Solution
Run recipes using OpenFOAM.
-
Solution Parameter
Solution Parameter.
control Dict
Set parameters for runDict
Function Object
Function Object.
probes
Create Butterfly probes
Solution Parameters
Solution Parameters.

01::Boundary

Outlet Boundary
Create an outlet boundary with uniform pressure value.
-
Wall Boundary
Create a wall boundary.
-
Boundary
Create a custom boundary.
-
Inlet Flow-Rate Boundary
Create an inlet boundary with flow rate in m3/s.
-
Inlet Boundary
Create an inlet boundary with uniform velocity value.
-

07::PostProcess

Load Probes
Load probes from a folder.
-
Load Probes Value
Load results for a field in probes.
-
Sample Case
Sample the results for a case.
Use this component yo load the results for a case that you have ran already.
-
Plot Residuals
Load residual values for a case.
-
Load Skipped Probes
Load results for a field in probes.
-

05::Recipe

residual Control
Set residual control convergance values.
Steady Incompressible Recipe
Steady Incompressible Recipe.
-
relaxtion Factors
Set relaxtionFactors values
Heat Transfer Recipe
Heat Transfer Recipe.
-

04::Turbulence

Laminar Turbulence Model
Laminar turbulence modelling.
Read more: http://cfd.direct/openfoam/user-guide/turbulence/
Watch this: https://www.youtube.com/watch?v=Eu_4ppppQmw
RAS Turbulence Model
Reynolds-averaged simulation (RAS) turbulence model.
Read more: http://cfd.direct/openfoam/user-guide/turbulence/
Watch this: https://www.youtube.com/watch?v=Eu_4ppppQmw
LES Turbulence Model
Large eddy simulation (LES) modelling.
Read more: http://cfd.direct/openfoam/user-guide/turbulence/
Watch this: https://www.youtube.com/watch?v=Eu_4ppppQmw

Video Tutorials

Site design © Robin Rodricks.   Site co-created by Andrew Heumann.   Butterfly and associated data © 2024 Mostapha Sadeghipour Roudsari.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service