<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello all,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I have been trying to find a way to to open up the the two xz planes in my regional mesh, having a flow in/out boundary condition. This seems to be done in CitcomCU, but when looking at the code in Boundary_conditions.c from the CitcomCU-1.0.2-br-inflow package, the changes from the reflective boundary condition did not seem obvious, though my programming experience is limited. Is there a way to implement this in CitcomS ? In CitcomS's Regional_boundary_conditions.c, I opened up the bottom of the mesh by adding this code:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color:
 transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"> else if(E->mesh.botvbc == 2) {<br>    /* This extra BC is for a open bottom */<br>        horizontal_bc(E,E->sphere.cap[j].VB,1,1,0.0,VBX,0,lv,j);<br>        horizontal_bc(E,E->sphere.cap[j].VB,1,3,0.0,VBZ,0,lv,j);<br>        horizontal_bc(E,E->sphere.cap[j].VB,1,2,0.0,VBY,0,lv,j);<br>        horizontal_bc(E,E->sphere.cap[j].VB,1,1,E->control.VBXbotval,SBX,1,lv,j);<br>        horizontal_bc(E,E->sphere.cap[j].VB,1,3,0.0,SBZ,1,lv,j);<br>       
 horizontal_bc(E,E->sphere.cap[j].VB,1,2,E->control.VBYbotval,SBY,1,lv,j);<br>        }</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">and am wondering if there is a way to modify the existing reflective boundary condition code to open up the sides?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new
 roman,new york,times,serif; background-color: transparent; font-style: normal;">Thank you for your time,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Scott Tarlow</div></div></body></html>