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/)
-   -   All fields not solved (http://www.cfd-online.com/Forums/openfoam-solving/60437-all-fields-not-solved.html)

fabianpk November 9, 2005 05:46

Hello, I have a bit of a pro
 
Hello,
I have a bit of a problem with Foam not solving everything I want it to solve. It used to be that it didn't solve for density, but I could solve that by taking a very small timestep and then restarting the calculation (of course, this was only done for testing purposes). However, now it solves for rho (which I initialize together with p using a version of potentialFoam), but it doesn't solve for p!
I use pressureInlet conditions for the velocity, and fixed values for p and rho (except at the outlet for rho I have zerogradient).
It's a compressible case.

Does it skip the solving because it thinks that the difference will be too small? My timesteps are of order 2e-10s, and my time of interest about 1e-3.

/Fabian

hjasak November 9, 2005 07:24

The solver is always called in
 
The solver is always called in the right sequence so the only thing that may have happened is that the code thinks that the equation is already solved. If you really want it solve, try tightening the tolerances; for more info, switch on the lduMatrix debug switch.

Enjoy,

Hrv


All times are GMT -4. The time now is 05:45.