blockMeshDict for repeating geometry
I am starting to use openFoam. I am trying to solve the flow in a pump suction sump. There are 20 pump suction pipes drawing water from the sump, all spaced equally apart in a line and all of the same diameter. There is a thin solid wall midway between each pair of adjacent pipes and all the walls are of identical size. So the vertices of the blocks are of the same pattern. If I write down the vertices for one bay, is there a simple method to generate vertices for the other 19 bays? Would be grateful for an answer
A way to do it would be to use a m4 script that generate the blockMest file for you.
m4 is a macro processor under Linux systems.
I usually see it use with pearl for the calculations parts.
You can find some examples in the openFoam tutorials:
Hope it is clear enough an that it helps.
(do not hesitate to suggest other ways that may be easiest).
|All times are GMT -4. The time now is 18:45.|