How to make three cellzones with topoSet
1 Attachment(s)
Hello everyone.
I want to create a cellZone such that there is cellZone C1 in cellZone C0 and a cellZone C2 in C1 as shown in Figure 1. I tried to use tutorial case "twoSimpleRotors" as a reference, but it didn't work. C1 and C2 cannot be separated and are stuck together. Below is a topoSetDict that did not work topoSetDict ************************************** actions ( { name c0; type cellSet; action new; source regionToCell; sourceInfo { insidePoints ((-1.7 0.001 0.001)); // inside points in C0. } } { name c1; type cellSet; action new; source cellToCell; sourceInfo { set c0; } } { name c1; type cellSet; action invert; } { name c2; type cellSet; action new; source regionToCell; sourceInfo { insidePoints ((0.25 0.001 0.1)); //inside points in C2. set c1; } } { name c1; type cellSet; action deleate; source cellToCell; sourceInfo { set c2; } } } ***************************** I use OpenFOAM v1806. An inside point in c1 is (-0.6 0.001 0.001). I am wondering if anyone has any reference materials or solutions. Thank you. |
All times are GMT -4. The time now is 17:16. |