Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

00::Create
01::Boundary
02::BoundaryCondition
03::Mesh
04::Turbulence
05::Recipe
06::Solution
07::PostProcess
08::Etc

Set parameters for snappyHexMeshDict.
Read more about snappyHexMeshDict here:
https://openfoamwiki.net/images/f/f0/Final-AndrewJacksonSlidesOFW7.pdf

Inputs

NameIDDescriptionType
mesh_quality_mesh_quality_Use 0-2 to auto generate the parameters for meshQualityControlsGoo
castellated_mesh_castellated_mesh_Set to True to castellated mesh (default: True).Goo
snap_snap_Set to True to snap mesh to the surfaces (default: True).Goo
add_layers_add_layers_Set to True to push mesh away from surfaces and add layers (default: False).Goo
n_cells_btwn_levels_n_cells_btwn_levels_Number of cells between levels.Goo
max_global_cells_max_global_cells_An intger for the maximum number of global cells (default: 2000000).Goo
srf_feature_level_srf_feature_level_An integer for the extract features refinement. Default is None which means implicit meshing feature will be used.Goo
expansion_ratio_expansion_ratio_Layers expansion ration (default: 1.1)Goo
final_layer_thickness_final_layer_thickness_Thickness of final layer (default: 0.7)Goo
min_thickness_min_thickness_Minimum thickness for layers (default: 0.1).Goo
n_layer_iter_n_layer_iter_Overall max number of layer addition iterations. The mesher will exit if it reaches this number of iterations; possibly with an illegal mesh (default: 50).Goo
additional_paradditional_par_Additional parameters as a valid c++ dictionary. Additional values will overwrite the values from the other inputs above.Goo

Outputs

NameIDDescriptionType
snappy_hex_mesh_dictsnappy_hex_mesh_dictButterfly snappyHexMeshDict.Goo

Video Tutorials

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

Report an Issue  |  Terms of Service