ucns3d-team / UCNS3D

Unstructured Compressible Navier Stokes 3D code (UCNS3D)
https://ucns3d.com
GNU General Public License v3.0
244 stars 90 forks source link

Error calculation for Navier-Stokes (itestcase=4) #27

Open swetarkad opened 2 years ago

swetarkad commented 2 years ago

In subroutine CALCULATE_ERROR in io.f90 file, cases are considered for (itestcase.le.3) i.e. except Navier-Stokes one. Is there any particular reason why for N-S cases errors won't be calculated? Or if I simply edit this subroutine will it start working? Or are there any other means of finding these norms for N-S cases?

TakisCFD commented 2 years ago

This is intended for smooth flow problems where the error calculation is linked to the L2, and Linfinity norms typically used for Euler test problems and linear advection equation. You can calculate the error for Navier-Stokes as well but you will need define what your exact solution will be.