CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Continuity equation (https://www.cfd-online.com/Forums/cfx/24812-continuity-equation.html)

selim November 11, 2007 23:34

Continuity equation
 
Hi all

I have a problem in satisfying the continuity locally. I took values for velocities (u and v) from CFX and using gradients (in matlab I am sure this is right , I tested with simple cases) then look at the delta U divided by delta X + delta V divided by delta Y) but results seems not to be 0 \

Thanks

Jim November 20, 2007 11:04

Re: Continuity equation
 
I'm not going to check you maths, but assuming you're working it out right, then the obvious answer is that your solution is not sufficiently converged. Try a little experiment. Check out the values you get from the same simulation with varying levels of convergence. Maybe set the RMS residual convergence target to 1e-1, 1e-2, 1e-3, 1e-4 etc etc, and see by how much you calculation is out for the different convergence levels.

You haven't mentioned whether there is anything else going on like sources, BCs or whatever that might effect the local continuity.


All times are GMT -4. The time now is 16:02.