<div dir="ltr">

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">Hi,<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">I tried Klaus' recommendation about the j index but I still don't get what I wish for. <span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">At the moment, following the Grid_<wbr>bcApplyToRegionSpecialized.F90 boundary condition from de ShuOsher problem, I am able to inject a wind but from all the boundary, and I am not able to only inject the wind from a small region.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">In the Grid_<wbr>bcApplyToRegionSpecialized.F90 I don’t understand how I can limit the condition to only a small part of the boundary. The counter i goes from 1 to guard (where guard=4), and the counter j goes from 1 to je (where je=4).<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> <span> </span></span>je</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">regionSize(SECOND_DIR)<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> <span> </span></span>ke</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">regionSize(THIRD_DIR)<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>             <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">do</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>i<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">,guard<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">do</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>j</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">,je<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                   <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(gridDataStruct</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">CENTER)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">then</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>DENS_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>sim_rho<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>VELX_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> 0.</span><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>VELY_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> sim_v</span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>          <span> </span></span><span>            </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>VELZ_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> 0.</span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>PRES_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>sim_p<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>GAMC_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>sim_gamma<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                      <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">if</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>(ivar<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">==</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>GAME_VAR) regionData(i,j,</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(178,35,24)">1</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black">:ke,ivar)<span> </span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">=</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span> </span>sim_gamma</span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                   <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">endif</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>                <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">end do</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><span>             <span> </span></span></span><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(190,99,26)">end do</span><span style="font-size:10pt;font-family:Arial,sans-serif"><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">Do I have to replace the regionSize defined in the Grid file and use blkLimitsGC instead, or maybe use endPoints?<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">Or can I limit the region of the wind-injection boundary by setting some specific parameter in the user_bnd.F90 and flash.par (something like endPoints=?, or maybe regionSize=?).<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;color:rgb(34,34,34);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:12pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif">Could anyone help me, or explain me how these arguments work in order for me to solve this issue?</span></p>

<br><div>Thanks!</div><div><br></div><div><br></div><div>C.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-21 12:42 GMT-06:00 María Fernanda Clever Uribe <span dir="ltr"><<a href="mailto:clever_fisica@ciencias.unam.mx" target="_blank">clever_fisica@ciencias.unam.mx</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi;<div><br></div><div>You're right, I didn't notice the index. I will try this out. </div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>C.</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-21 7:51 GMT-06:00 Klaus Weide <span dir="ltr"><<a href="mailto:klaus@flash.uchicago.edu" target="_blank">klaus@flash.uchicago.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, 20 Mar 2018, María Fernanda Clever Uribe wrote:<br>
<br>
> I also found an example of Grid_bcApplyToRegion.F90 and I thought that this<br>
> could be the file I have to use instead of Grid_bcApplyToEdge.F90, because<br>
> I want my boundary conditions to be only in the left corner of my domain. I<br>
> took the example of this file from the Grid directory and I customized it.<br>
<br>
</span>Yes, that makes sense.<br>
<span><br>
> I wrote a restriction over -X boundary where the jet has to be ejected, but<br>
> I get a blast wave in all the cells in Y axis. I attached a picture of my<br>
> results and also the file that I'm using.<br>
<br>
</span>The condition your wrote<br>
<br>
                 if (i .eq. (guard-1.0)/guard) then<br>
<br>
does not make sense to me.<br>
<br>
It seems that you want different values for different valus of the SECOND<br>
index of the regionData array. Currenly the whole range 1:je is treated<br>
identically. It seems you have to write an explicit loop like<br>
<br>
   DO j=1,je<br>
<br>
and do different things inside the look depending on the j.<br>
<span class="m_-4753512824525662496HOEnZb"><font color="#888888"><br>
Klaus</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>