CFD Online Logo CFD Online URL
Home > Forums

Remove cells from blockMesh using topoSet + subsetMesh.

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

Remove cells from blockMesh using topoSet + subsetMesh.

Posted September 10, 2021 at 16:16 by frantov

Remove elements from a mesh

1. Generate whole sphere mesh using blockMesh See tutorials/mesh/blockMesh/sphere

2. Delete half sphere mesh using topoSet + subsetMesh.
3. Step 2 generates an "oldInternalFaces", checkMesh, fails. Then I use createPatch to set "oldInternalFaces" as wall. checkMesh OK.
4. Use topoSet to generate an inlet using a cylinderToCell
5. Create inlet using createPatch

To have these operations organized I created folders for the topoSet and patch operations. Then I took advantage of the argument -dict, which allows you to call the dictionaries from a folder.

Attached is the system folder, in case is useful or any suggestions are welcome.

topoSet -dict system/topo1/topoSetDict
subsetMesh topRegion -overwrite
createPatch -dict system/patch1/createPatchDict -overwrite
topoSet -dict system/topo2/topoSetDict
createPatch -dict system/patch2/createPatchDict -overwrite
Posted in Uncategorized
Views 127 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0



All times are GMT -4. The time now is 06:20.