CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Set a set of circular initial conditions on a mesh (http://www.cfd-online.com/Forums/main/14694-set-set-circular-initial-conditions-mesh.html)

jinwon park January 26, 2008 12:10

Set a set of circular initial conditions on a mesh
 
I am solving 2-D compressible flows. As an initial condition, a high-pressure circle is embedded on a cartesian mesh. Currently, I am using the way like sqrt((x-xc)^2+(y-yc)^2). However, it produced a stair-case irregular something which is not a real circle. It may cause instability at later time and lead to the sudden abortion of codes. I am finding the way to get a real circle as possible. Is there a good way to set circular initial condition on a cartesian mesh? I really need your help all. Thanks in advance.


All times are GMT -4. The time now is 01:23.