<div dir="ltr">Hi Alex,<div><br></div><div>I agree that the WindTunnel's Grid_applyBCEdge is a good starting point.</div><div>In Grid_applyBCEdge, the user boundary condition is triggered if bcType == USER_DEFINED where USER_DEFINED is #defined to be -38 in my constants.h</div><div><br></div><div>Grid_init grabs xl_boundary_type from flash.par and maps that string to an integer. So you could check to make sure that initial part is proceeding correctly (i.e., if you print out gr_domainBC(LOW,:) do you get a value matching USER_DEFINED in your constants.h?</div><div>If so, you can then forward trace gr_domainBC until you get to where your abort is that Ernesto pointed out (or backtrace from there).</div><div><br></div><div>In any case, I would guess that using +cylindrical geometry is the issue. Do you get the abort message without that (i.e., for cartesian)?</div><div><br></div><div>Also, what version of FLASH are you using?</div><div><br></div><div>Best,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 23, 2019 at 8:47 AM Ernesto Zurbriggen <<a href="mailto:ezurbriggen@unc.edu.ar">ezurbriggen@unc.edu.ar</a>> wrote:<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">Hi Alex! <div><br></div><div>Did you have a look at the routine /Grid/GridBoundaryConditions/gr_bcApplyToOneFace.F90, specifically at line 180? </div><div>It's probable you are setting a boundary condition type that is not being handled. </div><div><br></div><div>Best! </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 23 jul. 2019 a las 11:00, Alex Robinson - UKRI STFC (<<a href="mailto:alex.robinson@stfc.ac.uk" target="_blank">alex.robinson@stfc.ac.uk</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">Hello flash users,<br>
I would have thought that this has already been done, however I would like to set up a simulation where a jet is injected by implementing a boundary condition for this. I had thought that using ‘Wind Tunnel’ as a basis for this would be a good idea, and using the ‘GridBoundaryConditions/OneRow’ approach where I have my own Grid_applyBCEdge.F90 file in the simulation directory. This compiles fine (setup line reads : ./setup Jet -auto -2d +cylindrical +ug -nxb=200 -nyb=200) . However when I try to run this, the simulation aborts with the message : DRIVER_ABORT : unsupported boundary condition on Lower Face. This is after I set the yl_boundary_type to be either ‘user’ or ‘user-defined’. I have specified REQUIRES Grid/GridBoundaryConditions/OneRow in the config file.<br>
<br>
This message implies that despite my Grid_applyBCEdge.F90 file being in the simulation directory that it hasn’t overridden the default method as no ‘user’ implementation appears in the standard file in the source. However I can’t see what I haven’t done that has lead to the overriding not happening. Any advice?<br>
<br>
Thanks,<br>
Alex<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_2752459077204398706gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="monospace, monospace" style="background-color:rgb(234,209,220)"><i><font color="#000000">PhD Ernesto Zurbriggen</font></i></font><div><div><br></div></div><div><i style="color:rgb(68,68,68);font-family:monospace,monospace;font-size:12.8px;background-color:rgb(234,209,220)">Email: <a href="mailto:ezurbriggen@unc.edu.ar" target="_blank">ezurbriggen@unc.edu.ar</a></i></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>