Finite Volume Method in Java with GPU support
I'm working on a program in Java to solver the navies-stokes equation in two dimensions using finite volumes with the simple algorithm. I use lid-driven-cavity as a test case.
I have implemented the linear equation system solvers in Cuda and also in Java and solved one dimensional temp transport problems with it.
So far solving the momentum equation is not a problem and seems to work fine.
But the pressure correction is broken, the values for the pressure correction get bigger after each time step until nan values appear.
Since this is part of my Master Thesis, I checked back with my professor and he told me to use a pressure reference.
Has somebody an idea how this is implemented?
|All times are GMT -4. The time now is 00:31.|