|
[Sponsors] |
[Other] extend existing mesh - saving old patch as faceZone and new cells as new cellZones |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2018, 04:46 |
extend existing mesh - saving old patch as faceZone and new cells as new cellZones
|
#1 | |
Member
Roman Gobitz-Pfeifer
Join Date: Dec 2009
Location: Stuttgart
Posts: 83
Rep Power: 16 |
Dear all,
I'm struggling with an OpenFOAM problem and would need some help to solve it. I want to extend the mesh of a straight pipe at one end. The new volume should be safed as new cellZone and the old patch should be safed as a faceZone - please see attachment below. I was able to handle the first step by using extrudeMesh - see extrudeMeshDict below. I'm struggling by keeping the old patch as faceZone and saving the new volume as a new cellZone. Any idea how I can handle this? remark: I'm using OF v1706 Quote:
Last edited by Wikie; January 31, 2018 at 11:45. |
||
January 31, 2018, 11:49 |
|
#2 | |
Member
Roman Gobitz-Pfeifer
Join Date: Dec 2009
Location: Stuttgart
Posts: 83
Rep Power: 16 |
I solved the problem by using patchToFace, faceToCell and setToCellZone as you can see in the code below. Any idea / suggestions how this can be done done in less steps?
Quote:
|
||
|
|