CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   DENSITY... (https://www.cfd-online.com/Forums/main/8505-density.html)

George January 2, 2005 20:38

DENSITY...
 
Hi! I have one question about a finite-volume code I am writing.How can I descritize the continuity equation?The code goes like this:I solve the u-v-w momentum,then I try to solve continuity and update the density field(and from the equation of state the pressure field).Then I solve energy equation and k-epsilon equations.But I have seen that something doesn't look wright with the values of density.The code is about compressible flow (Mach=0.3). Thank you!!!

George January 5, 2005 12:07

Re: DENSITY...
 
Can you tell me the algorithm how to discretize continuity equation? dr/dt+d(ru)/dx=0 THANK YOU


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