Refine an area defined by non-primitive geometry
I would like to run refineMesh on an area that can be approximated by two boxes.
How do I define a cellSet in topoSetDict that includes the cells contained within these two boxes? This should be a simple syntax issue, but my google-fu has failed me. Currently I have: actions ( { name c0; type cellSet; action new; source boxToCell' sourceInfo { (x1 y1 z1) (x2 y2 z2); } } ) |
I've been playing around in the setSet environment and the commands appear to function intuitively there. However, in topoSetDict, I'm still getting really irrational behavior.
Code:
cellset c0 new boxToCell (a b c) (d e f) Does anyone have any recommendations? |
The TL;DR solution for posterity is that OpenFOAM cares A LOT about white space.
Code:
boxToCell(a b c) (d e f); Code:
boxToCell (a b c) (d e f); |
All times are GMT -4. The time now is 22:57. |