Hello, I am simulating airfoil in Ma=0.8. But oscillation occurs on the wall, the grid and density contour are shown below. Could someone know anything about this problem?
Can you confirm that the mesh being exported is in fact high-order. It just looks to me like the oscillations are suspiciously placed at the element boundaries.
If the mesh is definitely high order, then you may want to consider flux point anti-aliasing.
Yep, but can you look at the mesh file and see that the surface elements on the wall are high order? Sometimes they won’t actually be high order if the mesh hasn’t been constrained properly, speaking from experience.
If you are using Pointwise, there is a handy feature where you can output the surface meshes as vtu, which you can then open in paraview. When look at they it is pretty obvious if they are high order. Otherwise, gmsh files are in ascii so you can just look at the element definitions on the surface. Sometimes what can happen is it will export the surface as ‘high order’ but because the surface was constrained the surface is still faceted so first-order.
Can you confirm that after opening the .vtu file up in ParaView that you are running the clean to grid filter and setting the non-linear subdivision level under the miscellaneous options to 2 or 3?
You have no module named h5py in your python environment, so you’ll need to install that.
My simple script won’t work on gmsh files, but rather it’s intended to work on pyfrm files which use an hdf5 format. You’ll first need to run pyfr import ... and then pyfr partition 1 ..., then you can run that script.
Hi jian,
As @WillT suspected, the high-order nodes appear to be spaced on linear faces (pic below):
PS: when the mesh is loaded, you can report the number of curved and linear elements.