|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Sheng,Qiming
Join Date: Jul 2016
Posts: 13
Rep Power: 10 ![]() |
Hi all,
i want to use topoSet to definte a triangular prism. There is a tool called shapeToCell. But there is no further information about how to use it. Can anyone show me how can i deinite this region? Or there are some other choices i can use? Thank you in forward. |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 ![]() |
Hi,
Have you looked at the "master" topoSetDict? Quote:
So I should think that for your prism cells, you simply choose the type as prism. Cheers, Antimony |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Sheng,Qiming
Join Date: Jul 2016
Posts: 13
Rep Power: 10 ![]() |
Quote:
Hi Antimony, thanks for your reply. I have seen this. The problem is that how can i choose this region for a prism. I may need to give the vertex of the prism or something? Best regards Qiming |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Márcio Froelich Friedrich
Join Date: Aug 2013
Posts: 5
Rep Power: 13 ![]() |
Hello,
I'm using OpenFoam 10 and trying to use shapeToCell. This block on topoSetDict { name hexaedros; type cellSet; action new; source shapeToCell; shape hex; } returns this error: ===================== Created cellSet hexaedros Applying source shapeToCell --> FOAM FATAL ERROR: Illegal cell type cellSet From function Foam::shapeToCell::shapeToCell(const Foam: ![]() in file sets/cellSources/shapeToCell/shapeToCell.C at line 109. ===================== If I use the syntax like this (type instead of shape, as suggested in tc/caseDicts/annotated/topoSetDict): { name hexaedros; type cellSet; action new; source shapeToCell; type hex; } I get this error: =================== --> FOAM FATAL ERROR: Unknown set type hex Valid set types : 6 ( cellSet cellZoneSet faceSet faceZoneSet pointSet pointZoneSet ) =================== I also checked the shapeToCell.C file and suposedly I should use "type" . Any clues on what I am doing wrong? Or could it be a bug in the source code? Thank you! |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Márcio Froelich Friedrich
Join Date: Aug 2013
Posts: 5
Rep Power: 13 ![]() |
Quote:
I noticed that too and tried to embrace the "type" from shapeToCell.C inside brackets or parenthesis to "restrict its space", but no luck with that too. Last edited by marxioxyz; July 5, 2023 at 17:37. |
||
![]() |
![]() |
![]() |
Tags |
prism, shapetocell, toposet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Porous Media using TopoSet | RobertoCirolini | OpenFOAM Meshing & Mesh Conversion | 3 | August 30, 2016 09:34 |
topoSet tolerance | akidess | OpenFOAM Pre-Processing | 0 | September 30, 2015 12:13 |
[Other] cellLevel field not readable by topoSet | blaise | OpenFOAM Meshing & Mesh Conversion | 0 | June 30, 2015 05:35 |
[Other] topoSet Wrong number of faces. | a19910112a | OpenFOAM Meshing & Mesh Conversion | 1 | June 9, 2015 06:41 |
[snappyHexMesh] HOW to set a circular face by toposet | Jessica | OpenFOAM Meshing & Mesh Conversion | 2 | September 12, 2013 21:54 |