My first problem was was that my /SRC folder is completely empty, there is no EXAMPLE or REFERENCE folder as shown in the video, so no cs_user_mesh.c file. At what point are these folders supposed to be created, maybe I'm missing an earlier step that should create them?
Anyway, I created a cs_user_mesh.c file from scratch and modified it as shown in the video. The video doesn't quite explain what to do after saving the user mesh file to regenerate the mesh, but I assumed I just needed to re-run the calculation in "Mesh Preprocessing Only" mode? When I did that again then it took much longer to run than the first time (so the user mesh file must be doing something), but when I opened the new file it was exactly the same as the first time, there were no boundary layer elements. I tried various values of zone thickness and zone expansion but couldn't get any boundary elements to appear. I also tried adjusting the third value in cs_mesh_boundary_layer_insert() from 0.2 but that also did nothing until I put it above 1, which did at least do something, but it created some really weird shapes around the aerofoil surface that definitely weren't boundary layer elements! What am I missing here? I've attached the cs_user_mesh file that I created and the mesh that I was using.
Also, even if I get the boundary layer elements added then I think my mesh will still be pretty terrible. Do you have any tips for making this mesh better?
