defining non-cubic blocks to toposet
Dear all,
I am beginner in openfoam and would be thankful to have your recommendations. i want to define some blocks in toposet which are not rectangular cubes, they are Trapezoid cubes, so i cant use boxtocell . how can i define my blocks in toposet? Thanks |
Hi,
Perhaps the option "rotatedBoxToCell" meets your requirements? https://openfoamwiki.net/index.php/TopoSet Cheers, Antimony |
Quote:
thanks a lot for your response, i tried "rotatedBoxToCell", for some special cases it works, but it doesn't meet what i want exactly, or maybe its better to ask how can i define a pyramid region to toposet? |
Hi,
I don't think there is a way to define a pyramid region directly in topoSet. The only reference to pyramids that I could find was on choosing by cell shape type (hex or pyr or tet etc). If you know how and where exactly the pyramid should be, you could perhaps do one of two things: 1. Create a STL of the pyramid and use surfaceToCell to create cellSet based on the pyramid STL 2. Break your pyramid into many "boxes" and repeatedly use boxToCell or rotatedBoxToCell as the case maybe. This would again, provide only an approximation, but might still be doable. Hope this helps/ Cheers, Antimony |
Dear Antimony,
thanks for your comment, I try the first method you mentioned. Regards Sara |
All times are GMT -4. The time now is 15:34. |