Gradient Reconstruction
Posted: Sun Dec 11, 2016 12:30 am
Hello,
For gradient reconstruction, there are two primary types: least-squares and iterative method. I have been using iterative method for stability and accuracy, but conducting numerical experiments with the least-squares method and the compressible algorithm that I'm writing, the least-squares method is computational cheaper. For a good quality-mesh, there appears to be no difference between least-squares or iterative method. However, the user guide notes that the least-squares method may yield poor results if used on a poor quality mesh, therefore the extended or partial-extended neighborhood option should be used. Using extended or partial-extended neighborhood with my compressible algorithm causes it to crash at a random point, it appears to be caused by the pressure or total energy. In the gradient reconstruction, do all gradient calculations use the same method or is there a way to calculate the gradient reconstructions with different methods? The user guide states that the pressure gradient is always calculated by iterative method, but looking at the source code, this appears not to be the case.
Regards,
Andrew
For gradient reconstruction, there are two primary types: least-squares and iterative method. I have been using iterative method for stability and accuracy, but conducting numerical experiments with the least-squares method and the compressible algorithm that I'm writing, the least-squares method is computational cheaper. For a good quality-mesh, there appears to be no difference between least-squares or iterative method. However, the user guide notes that the least-squares method may yield poor results if used on a poor quality mesh, therefore the extended or partial-extended neighborhood option should be used. Using extended or partial-extended neighborhood with my compressible algorithm causes it to crash at a random point, it appears to be caused by the pressure or total energy. In the gradient reconstruction, do all gradient calculations use the same method or is there a way to calculate the gradient reconstructions with different methods? The user guide states that the pressure gradient is always calculated by iterative method, but looking at the source code, this appears not to be the case.
Regards,
Andrew