[FLASH-USERS] problem w/ userdef boundary

Andrew Szymkowiak andrew.szymkowiak at yale.edu
Thu Sep 24 11:54:01 EDT 2009


(I'll continue to crawl around in idb, but I've spent sufficient time 
w/o progress that I thought it might now be expedient to run even my 
partial problem report by the experts, to see if any bells are rung and 
they can direct me...)

I've been working with a new simulation, and my Simulation_initBlock 
works fine.  Now I'm trying to add a Grid_bcApplyToRegionSpecialized, 
and much of that is working, when all 6 boundaries are set to 
"reflect".  But when I set one boundary to "userdef", my simulation dies 
because the guardcells along that face are never initialized, they are 
left at zero, and the "sanitize" routine complains because densities, 
etc are too small.  So I've started crawling around in the debugger, and 
what I've discovered so far is that the gr_bcApplyToOneFace routine is 
only calling my Grid_bcApplyToRegionSpecialized 5 times, once for each 
of the reflecting boundaries, but never for the userdef one.  I've been 
watching the surrblks array, and never see the userdef value (-38) in 
it, only the -31 (=REFLECTING)

Any ideas?

Thanks,
    Andy S.



More information about the flash-users mailing list