Hi Junting,

You should be able to make a prism layer in gmsh by creating a triangular 
surface mesh on your object, and then using transfinite line/volume to 
stretch this outwards into a volume of prisms coming off of the surface. 
This is a bit difficult to explain here, but you can see an example 
prism/tet cylinder mesh in the supplementary material of the below paper 
that uses this approach:

https://www.sciencedirect.com/science/article/pii/S0045793015002509

Also, regarding your error importing the mesh I think it is mostly likely 
one of two things:

1) You are missing boundary condition information of the surface faces of 
your domain
2) You mesh is broken and some internal faces are not paired to each other

Hopefully that helps,

On Tuesday, 28 April 2020 20:16:34 UTC-4, Junting Chen wrote:
>
> Hello, does anyone know how to create a mesh with prism layers that can be 
> translated to pyfr mesh? I need to simulate flow past buildings. If only 
> the ground prism layer (not on buildings) can be a great help.
>
> I don't think Gmsh is capable to create 3D prism layer at the moment (if 
> someone knows how, please shed some light). 
>
> So I tried two other meshers - CFMesh+ and StarCCM+ then output cgns. But 
> when importing cgns to pyfrm, i saw this error:
>
> STAR-CCM - CGNS
> [image: ccm.png]
> CFMesh - CGNS
> [image: cfmesh.png]
> Seems the latter cgns mesh has some quality issue, but when i run 
> checkMesh only found some high skewnesses and non-orthogonalities.
>
> Thanks for reading!
>
> Junting
>
>
>
>

-- 
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 pyfrmailinglist+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/pyfrmailinglist/dbaa195c-df9f-4806-90c0-64286b8db63b%40googlegroups.com.

Reply via email to