CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   MUSCL-Interpolation for boundary cells (https://www.cfd-online.com/Forums/main/134241-muscl-interpolation-boundary-cells.html)

yhy20081016 April 26, 2014 08:35

MUSCL-Interpolation for boundary cells
 
Hi, everybody.
I'm currently working on the MUSCL scheme.
I understand that the MUSCL scheme use piecewise linear approximations of each cell to obtain left and right state for each face, as shown in the following figure:
http://www.uv.es/astrorela/simulacio...ica/img605.png
However, what if the cell is adjacent to boundary? For example, in the figure above, suppose that u_{j} is adjacent to boundary, and u_{j+1} does not exist. In this situation, how can I determine the slope of u in cell j? My current method is set the slope of u to zero for cell j. Is this method appropriate?
Thank you very much.


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