CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Finite Volume Method in Java with GPU support (https://www.cfd-online.com/Forums/main/95355-finite-volume-method-java-gpu-support.html)

Don456 December 14, 2011 10:43

Finite Volume Method in Java with GPU support
 
Hi,

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?

Greetings Felix


All times are GMT -4. The time now is 00:10.