<div dir="ltr">Hi Antoine<div><br></div><div><div>>>I tried to do so by taking the Grid_applyBCEdge.F90 from the windtunnel test simulation<br></div><div>>>and added : REQUIRES Grid/GridBoundaryConditions/OneRow in the Config file in my new simulation directory.</div></div><div>Maybe what you are looking for is the routine Grid/GridBoundaryConditions/Grid_bcApplyToRegionSpecialized.F90 . </div><div>Nothing has to be done to call it. </div><div><br></div><div>I implemented similar BCs as yours from there.    </div><div><br></div><div>To read the README  file is recommended, in particular the end about </div><div>"Getting information from a block handle (blockID) in a BC implementation"</div><div><br></div><div>Best! </div><div>Ernesto. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 2 dic 2020 a las 9:03, Antoine Gintrand (<<a href="mailto:antoine.gintrand@gmail.com">antoine.gintrand@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear flash users,</div><div><br></div><div>I would like to ask you a question regarding how to set up in a easy way <br></div><div>some boundaries of inflow for a simulation because I am a little confused with the explanations in the user guide regarding adding his own boundaries. My initial conditions are two counter propagating homogeneous flows (for x< 0 with velocity V1>0 and for x>0 velocity V2<0). When I use outflow boundaries conditions for my box the inflows of matter somehow oscillates at some point.<br></div><div><br></div><div>So I would like to introduce better and proper condition of boundaries than impose the inflows of constant velocity, density pressure, ... during the whole simulation.</div><div><br></div><div>I tried to do so by taking the Grid_applyBCEdge.F90 from the windtunnel test simulation <br></div><div>and added : REQUIRES Grid/GridBoundaryConditions/OneRow in the Config file in my new simulation directory.</div><div><br></div><div> But when I modify the file I cannot see that the code is actually using this file during the simulation. For example I could not see the prints I wrote to see my modifications to the file.</div><div><br></div><div>Also, I am not even sure that this is the easiest and most clever way to modify the boundaries to <br></div><div>do what I want.</div><div><br></div><div>Thank you so much for any advices or suggestions,</div><div><br></div><div>Best regards,</div><div><br></div><div>Antoine Gintrand<br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><font face="monospace, monospace" style="background-color:rgb(234,209,220)"><font color="#000000"><span style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:inherit"><div style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:inherit"><i style="font-family:"Courier New",monospace;background-color:rgb(255,255,255);color:rgb(68,68,68);line-height:normal">Dr. Ernesto Zurbriggen, FAPESP posdoctoral fellow</i><i style="color:rgb(68,68,68)"><br></i></div></span></font></font><font face="monospace, monospace" style="background-color:rgb(234,209,220)"><font color="#000000"><span style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:inherit"><div style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:inherit"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit;background-color:rgb(255,255,255)"><i style="color:rgb(68,68,68)">​</i></span></div></span></font></font></div><div dir="ltr" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><div style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit"><i style="color:rgb(68,68,68);line-height:normal"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><i style="font-family:monospace,monospace;background-color:rgb(234,209,220)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit;background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:inherit;vertical-align:baseline;color:inherit">Email</span></span><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit;background-color:rgb(255,255,255)">:</span><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:inherit;vertical-align:baseline;color:inherit;background-color:rgb(255,255,255)"><i style="line-height:normal"> <a href="mailto:ernesto.zurbriggen@craam.mackenzie.br" target="_blank">ernesto.zurbriggen@craam.mackenzie.br</a></i></span><i><br></i></div><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:inherit"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:inherit;vertical-align:baseline;color:inherit;background-color:rgb(255,255,255)"><i style="line-height:normal">​Phone: +55 11-2114-8783</i></span><i><br></i></div></span></i></span><br></i></span></div><div style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit"><i style="color:rgb(68,68,68);line-height:normal">Universidade Presbiteriana Mackenzie, </i></span><i style="color:rgb(68,68,68);font-family:monospace,monospace;background-color:rgb(234,209,220)"><br></i></div><div style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit"><i style="color:rgb(68,68,68);line-height:normal">Escola de Engenharia, </i></span><i style="color:rgb(68,68,68);font-family:monospace,monospace;background-color:rgb(234,209,220)"><br></i></div><div style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit"><i style="color:rgb(68,68,68);line-height:normal">Centro de Rádio Astronomia e Astrofísica Mackenzie (CRAAM),</i></span><i style="color:rgb(68,68,68);font-family:monospace,monospace;background-color:rgb(234,209,220)"><br></i></div><div style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:normal;font-family:"Courier New",monospace;vertical-align:baseline;color:inherit"><i style="color:rgb(68,68,68);line-height:normal">Rua da Consolação 896, 01302-907, SP, São Paulo, Brasil.</i></span></div></div></div></div>