CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   p equation solver in channelFoam (http://www.cfd-online.com/Forums/openfoam-solving/106744-p-equation-solver-channelfoam.html)

cheng1988sjtu September 6, 2012 17:55

p equation solver in channelFoam
 
Hi,

I just encountered a problem about the p solver in channelFoam. In the tutorial, the p solver is using PCG, which is only valid for symmetric matrix, so my question is, how can we determine if the matrix is symmetric or not? does it mean the simulation problem is symmetric? sorry, I'm a newbie in numerical simulation.

it's clear that p-equation is solving something like laplacian (p) = - div (U), so it may be clear that the p-equation will end up with solving a linear system with symmetric matrix, am I right?

and the reason why the momentum equations end up with solving asymmetric matrix is due to the convection term? please feel free to correct me if I'm wrong anywhere, Thanks!

Thanks!

Charlie


All times are GMT -4. The time now is 18:24.