[FLASH-USERS] Problem with Grid_bcApplyToRegion.F90 file

María Fernanda Clever Uribe clever_fisica at ciencias.unam.mx
Wed Mar 21 14:42:59 EDT 2018


Hi;

You're right, I didn't notice the index. I will try this out.

Thanks!


C.

2018-03-21 7:51 GMT-06:00 Klaus Weide <klaus at flash.uchicago.edu>:

> On Tue, 20 Mar 2018, María Fernanda Clever Uribe wrote:
>
> > I also found an example of Grid_bcApplyToRegion.F90 and I thought that
> this
> > could be the file I have to use instead of Grid_bcApplyToEdge.F90,
> because
> > I want my boundary conditions to be only in the left corner of my
> domain. I
> > took the example of this file from the Grid directory and I customized
> it.
>
> Yes, that makes sense.
>
> > I wrote a restriction over -X boundary where the jet has to be ejected,
> but
> > I get a blast wave in all the cells in Y axis. I attached a picture of my
> > results and also the file that I'm using.
>
> The condition your wrote
>
>                  if (i .eq. (guard-1.0)/guard) then
>
> does not make sense to me.
>
> It seems that you want different values for different valus of the SECOND
> index of the regionData array. Currenly the whole range 1:je is treated
> identically. It seems you have to write an explicit loop like
>
>    DO j=1,je
>
> and do different things inside the look depending on the j.
>
> Klaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20180321/a73cfc5e/attachment-0001.htm>


More information about the flash-users mailing list