|
[Sponsors] |
October 18, 2005, 09:04 |
axisymmetry.. again..
|
#1 |
Guest
Posts: n/a
|
guys, I have a FVM solver (MacCormack method) for 2D planar flows (euler equations). Now I'm modifying it to 2D axisymmetric. I've fixed boundary conditions (solid wall (no-slip), inlet, outlet, centerline), developed appropriate mesher etc. The code works nicely, even the results look OK. But: the equations in the solver remained the same as for 2D planar case. Is it a big mistake? Most of the books I went through say nothing on this, just few (ferziger-peric among them) say "the same code can be used for 2D planar and 2D axisymmetric cases, just to set x=z and y=r". Looking at the equations: 2D planar: dW/dt+dF/dx+dG/dy=0, where W=(rho, rho*u, rho*v, rho*e) F=(rho*u, rho*u^2+p, rho*u*v, rho*u*h) G=(rho*v, rho*u*v, rho*v^2+p, rho*v*h)
and 2D axisym: dW/dt+dF/dz+dG/dr+1/r*R=0, where W=(rho, rho*u, rho*v, rho*e) F=(rho*u, rho*u^2+p, rho*u*v, rho*u*h) G=(rho*v, rho*u*v, rho*v^2+p, rho*v*h) R=(rho*v, rho*u*v, rho*v^2, rho*v*h) z=x, r=y, u is in x(z) direction, v is in y(r) direction; theta=0. obviously, 2D axisym case has the R term extra. If I don't use I'll......? If I use it, any idea how to dicretize it? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Initialization problem when using Axisymmetry BC | Eduardo | FLUENT | 0 | August 4, 2008 10:23 |
Error in Axisymmetry BC | Eduardo | Main CFD Forum | 0 | August 4, 2008 10:18 |
2D XY, Symmetry and Axisymmetry cases | Gianfranco | FLUENT | 0 | June 3, 2008 18:35 |
2D axisymmetry Vs non-axisymmetry geometry | aPpA | FLUENT | 4 | March 22, 2007 09:33 |
2d axisymmetry | Cote | CFX | 7 | January 12, 2007 11:41 |