su2code/SU2

Using surface deformation to produce pitching on a surface with two or more markers results on inaccurate displacements on shared nodes between markers

Cnevesg opened this issue · 5 comments

I've been simulating a NACA0012 airfoil with a rough upper surface and a smooth lower surface while pitching. To induce the forced motion in this case, I'm using the SURFACE_MOVEMENT=DEFORMING with MARKER_MOVING= (UPPER, LOWER, TE) where UPPER and LOWER have different roughness. These are three different markers along the airfoil surface, naturally connected, but it seems that once the deformation to mimic forced pitching starts, the shared nodes between these markers seem to be displaced twice. It seems that this could be a result of separate displacements of each marker so that the node that's shared is being applied the deformation twice.

An example can be observed in the attached files. These correspond to the shared leading edge, and the blunt trailing edge.

LE
Screenshot 2024-02-16 145351
TE dt 8 lower
TE dt 8

Desktop:
-OS Windows 11 - Ubuntu WSL
-SU2 version 8.0

Can you attach the entire case so we can replicate, makes it easier to fix the bug that way.

Sure, you'll find attached the .cfg file, the mesh, and the two solution_file required for the dual-time-stepping solver to start.

Thanks, I should fix it this weekend.

I opened a PR with the fix, you also have a problem in your config, the motion of the trailing edge is not consistent with the other surfaces (the amplitude has too many zeros)