CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Connect two pipes with different space stap (http://www.cfd-online.com/Forums/main/88523-connect-two-pipes-different-space-stap.html)

CFDDmitry May 19, 2011 07:24

Connect two pipes with different space stap
 
Connect two pipes with different space step
I need a two pipes described by equations:
http://saveimg.ru/pictures/19-05-11/...6d494668a0.bmp
But they have different steps in space (delta x).
I use HLLC Riemann solver.
For their connection, I use the following boundary conditions
(1)v[L+1] = (2)v[1]
(1)p[L+1] = (2)p[1]
(1)d[L+1] = (2)d[1]

(2)v[0] = (1)v[L]
(2)p[0] = (1)p[L]
(2)d[0] = (1)d[L]

[L+1] and [0] is ghost cells

In this case, I have a gap function of the velocity and mass flow.

Tell me how to implement such a connection of pipes with different steps in space?


All times are GMT -4. The time now is 15:21.