Dirty OpenFOAM hack to remove bad cells #Shorts
Channel: József Nagy
Date: 2022-06-09

#Shorts​​​ #CFD​​​ #OpenFOAM​​​ #hack #durty #bad #cells

Here are the commands:

- checkMesh -allGeometry -allTopology
- setSet -constant
- cellSet c0 new cellToCell zeroVolumeCells any
- cellSet c0 add cellToCell concaveCells any
- cellSet c0 add faceToCell skewFaces any
- cellSet c0 invert
- quit
- subsetMesh c0 -overwrite

___
Chapters:
0:00 Bad cells
0:08  checkMesh -allGeometry -allTopology
0:14 setSet -constant
0:24 cellSet c0 new cellToCell zeroVolumeCells any
0:31 cellSet c0 add cellToCell concaveCells any
0:38 cellSet c0 add faceToCell skewFaces any
0:49 cellSet c0 invert
0:51 quit
0:53subsetMesh c0 -overwrite
___

This material is published under the creative commons license CC BY (Attribution). If you plan to use it, please acknowledge it.