snappyHexMesh calculator
cloudHPC today is releasing the new snappyHexMesh calculator. This is a tool which helps users into choosing the main geometrical parameters of a CFD mesh built using snappyHexMesh, the opensource meshing software included in OpenFOAM. Thanks to this tool, using few parameters, the user can obtain geometrial info about his mesh and define the blockMeshDict – background structured mesh.
To generate a CFD ready mesh, snappyHexMesh requires a certain number of routines to be performed. These are:
- blockMesh -> generator of a structured mesh
- surfaceFeatures or surfaceFeatureExtract -> generate info about geometry edges
- snappyHexMesh -> generate unstructured mesh and refinement close to geometry
The following calculator provides info about the blockMeshDict file generation and the snappyHexMeshDict file. It starts from the assumption the user knows the main physical properties involved with his simulation: flow velocity and fluid properties. Beyond that, a little knowledge about turbulence and y+ requirements is obviously mandatory to use this snappyHexMesh calculator.
Instructions
Add the following simulation data:
U_inf -> characteristic velocity in m/s
Density -> density in kg/m3
Viscosity -> dynamic viscosity in Pa s
y+ -> wall mesh resolution
From these info you can get the wall cell height (firstLayerThickness) to insert into the snappyHexMeshDict. After then you can move on by adding some more data:
nSurfaceLayers -> number of boundary layer wall extruded cells
expansionRatio -> height ration between two consecutive layers
finalLayerThickness -> final extruded layer height
These data must be entered in snappyHexMeshDict file as well. From these the calculator returns the smallest castellated cells dimension in metres.
The last data to enter is the number of layer of the castellated mesh. This data, to enter in snappyHexMeshDict, allows the calculator to obtain the max dimension of the cells in blockMeshDict.
We have not all the main settings of snappyHexMeshDict and blockMeshDict ready to use!
CloudHPC is a HPC provider to run engineering simulations on the cloud. CloudHPC provides from 1 to 224 vCPUs for each process in several configuration of HPC infrastructure - both multi-thread and multi-core. Current software ranges includes several CAE, CFD, FEA, FEM software among which OpenFOAM, FDS, Blender and several others.
New users benefit of a FREE trial of 300 vCPU/Hours to be used on the platform in order to test the platform, all each features and verify if it is suitable for their needs
1 Comment
This Week in CFD - Another Fine MeshAnother Fine Mesh · 10 February 2023 at 6:09 pm
[…] you know cloudHPC released an online snappyHexMesh calculator for setting many of the parameters for this mesher for […]