Multiple cell zones definition
I'm using porousSimpleFoam and I need to define multiple porous zones.
The computational domain is composed by 6 porous petals (similar to 6 pipes), each one twisted with other around a central hole (see attached image).
At the moment, the porous region (isotropic) is defined by the setSet command and the batch file:
I need to define an anisotropic porosity along the axial and radial directions of each petal.
I think that the right way is:
I can generate sections (only surface!) with the script attached. A render of the sections extracted is shown below:
Now, I want to ask if is it possible to generate the cellSets and CellZones (points 1, 2, 3 of above list) by a script.
Many thanks to all.
I forgot the script to generate the section surfaces :D
|All times are GMT -4. The time now is 06:17.|