shapetoCell in topoSet
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. |
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 |
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 |
Quote:
|
shapeToCell not working with proposed syntax
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::polyMesh&, const Foam::dictionary&) 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! |
Quote:
|
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. |
All times are GMT -4. The time now is 12:01. |