Enhanced blockMesh for external aerodynamics
I have written an enhanced blockMesh for the last few days, I am wondering if the developers want to include it or not.
The utility is now able to handle almost all single-object, non-concave, 2D external flow CFD mesh generation, flow around a 2D object. For example, an regular shape, or irregular polygon, or airfoil, etc.
The mesh generated is still multi-block mesh. But the burden on the user is much smaller.
The input needed now is something like:
1. You can define the object, just by its corners, and also no need to care about its orders.
2. You could set the first cell height.
3. You could set the mesh density as usual, but now you can even do it in a more simply way by setting mesh refine level, which refines the circumferential grid;
4. Angle of attach could be easily set (AOA);
5. The outer boundary (geometries and patch names and types) is done like a macro, you just need to set the x and y limits. (This is a rectangular outer boundary.)
Here are two figures,
thanks for your work. If you want to share your code, you can publish it asstand alone application on openFoam wiki as Nils did with waves2FOAM (http://openfoamwiki.net/index.php/Contrib/waves2Foam).
You could also contact Hrvoje Jasak and ask if the code gets includes in OpenFOAM ext (http://www.extend-project.de/index.p...iew=department)
Thanks, I asked because it is not a standalone application, I changed the core library as well, including the constructor of blockMesh.
Sorry if this is a dumb question, but is multiple airfoils possible with this enhanced blockMesh?
Not now, I tried to make it more able to handle multi-objects, but before doing that, I was hoping to have smoothing works first. After a few days of trial and error, the smoothing does work a little bit, but I found it not very efficient to write within OpenFOAM's framework, majorly because of the grid definition of each block descriptor, so I give up.
But I will keep this in mind (it is also one of my objectives) as I am currently looking for a better mechanism to replace OpenFOAM's native block descriptor.
|All times are GMT -4. The time now is 22:52.|