Let me put my two cents into the topic of GMSH regarding the questing 1. 
I'm a user, too.

Seems to me the process of creating such mesh in GMSH uses boundary layer 
refinement field and box refinement field. The boundary layer refinement 
field is only available in a 2d case, so you will have to create a 2D plane 
and "extrude" it to a 3d domain. It's also the only way of generating 
conformal mesh on the two surfaces which you are going to apply periodic 
condition on. To create your 2D plane, you might have to get the 
coordinates of the airfoil surface nodes first. 

I hope it helps. gmsh script can be lengthy...

Junting

On Tuesday, September 3, 2019 at 10:52:50 AM UTC-4, JG wrote:
>
> Dear PyFR developers and users,
>
> I have successfully reproduced the LES simulation of the flow around a 
> sd7003 airfoil presented in the paper (On the utility of GPU accelerated 
> high-order methods for unsteady flow simulations: A comparison with 
> industry-standard tools, 2017 JCP). The results are quite good.
>
> Now, I want to perform LES of flow around a NACA0015 airfoil with angle of 
> attack near stall angle and Reynolds number of around 60,000. The first 
> difficulty encountered is the mesh generation. I have the following 
> problems:
>
> 1. In the PyFR user guide, the free software Gmsh is used to generate 
> mesh. As seen in the above JCP paper by the developers, the mesh used in 
> LES of flow past airfoil is complex. The mesh is refined near the airfoil 
> and in the rectangular wake region, and then quickly coarsened outside 
> these regions. So, is there any example script that can be read into Gmsh 
> to generate such a complex mesh for a LES simulation or any guide for 
> complex mesh generation? 
>
> 2. For a LES simulation, the grid resolution (dx, dy, dz) in streamwise, 
> wall-normal and spanwise direction respectively must satisfy certain 
> criterion. According to the above JCP paper, y+ in the first layer of mesh 
> near wall is around 0.4. So, what is the grid spacing in streamwise (dx) 
> and spanwise (dz) direction if the Reynolds number is around say 60,000? 
>
> 3. Pointwise17.3R4 can generate mesh for PyFR. However, its seems that in 
> Pointwise, one cannot specify periodic boundary conditions and there is no 
> option for periodic BC. So, how can we impose the periodic BC when 
> pointwise is used. 
>
> It will be greatly appreciated if anyone can help answer the above 
> questions or give some suggestion. 
>
> Best regards,
>
> Jianguo  
>
>

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/pyfrmailinglist/ea7d0c09-6e4f-4870-9f48-00b1d7e1a35a%40googlegroups.com.

Reply via email to