I thought I was going to delve into SwiftBlock and understand the mysteries of setting curved edges.........not so much. Those mysteries still elude me. But, I got edge grading to work, so it wasn't a complete loss! :)
Inside Blender, SwiftBlock's edge settings allow grading, i.e., the divisions do not all need to be equal. With the wind tunnel selected in Edit mode, select one or more edges you wish to grade (make non-uniform). Enter the ration of the first grid to the last grid (e.g., if you want the last grid to be 10x larger than the first, enter 10) and select 'Set grading'. When you preview the mesh, you will see the results. If the grading is going in the wrong direction, delete the preview mesh, select the offending edges and select 'Flip edge'. After some trial and error, I concentrated the mesh, near the cylinder.
Slightly Related Tangent....
By the way, in case you are thinking that you can subdivide the mesh to have more control of it, great minds think alike! However, whenever I did that, the 'Diagnose' button basically hated the entire mesh. I t turns out, contrary to typical Blender habits, internal faces are necessary! If you make a loop cut are the initial cube, for example, you will need to go in and create faces for each division. I just saved you 4 hours of cursing........you're welcome. :)
Back to Our Regularly Scheduled Program....
The results with grading looked a little more efficient, at least near the cylinder where we are probably more interested.
By the way, I did give into my initial impulse and increased the divisions to a large number. After crunching numbers for a ridiculously long time, OpenFOAM crashed. The morale of the story is Brute Force Isn't Always the Answer......But It Is Fun! ;)
If anyone understands how the Set Edges function works, please leave a comment. Otherwise I'll keep baby-stepping.
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.