Closed TRPrasanna closed 6 months ago
Hi @TRPrasanna,
The spatial discretisation used in HORSES3D is discontinuous Galerkin spectral element method (DGSEM). In this formulation, we have a piecewise polynomial solution, with discontinuities at element boundaries. The no slip boundary condition is weakly imposed through the fluxes, which means that the solution is not required to be exactly 0 at the boundary condition. This small velocity that you find should be reduced by increasing the resolution (finer mesh or higher polynomial order).
I hope this answers your question.
Thank you for the clarification, Prof. Rubio.
Hi, I have been trying to set up cases with no-slip walls, but seem to be running into an odd issue. To test further, I chose the flat plate case that has already been set up in
/Solver/test/NavierStokes/FlatPlateSA
. The mesh and boundaries (apologies for some overlapping text : the spanwise length for this case is too small) for this test case look like this:As seen above, there is a surface called NoSlipAdiabaticWall, which is set to a no-slip wall in the control file using
To check if the no-slip boundary conditions are being applied, I set up a probe in the control file by adding these lines
to the control file
FlatPlate.control
. The coordinates noted above, if I am understanding this correctly, corresponds to a point on the no-slip wall. However, I get non-zero x-velocity value in the file that is created :RESULTS/FlatPlateSA.wallprobe.probe
. For instance, after 100 iterations, I get the following output in the aforementioned fileI expected the values in the third column to be zeros (since the velocities on a no-slip wall should be 0) , but I get some non-zero values as seen above. Is this expected behavior from the code? For reference, I am using the code from the last commited version on November 17, 2023.