[FLASH-USERS] 2.5 D simulations

Adam Reyes adam.reyes at rochester.edu
Wed Dec 28 11:31:19 EST 2022


Hi Jon,

FLASH always evolves all three vector components of velocity, and magnetic
field in the case of MHD. After running setup you should see in the
auto-generated header file, "Flash.h", the variable definitions (e.g.,
VELX_VAR, VELY_VAR & VELZ_VAR).

*************************************************************************
Adam Reyes

Code Group Leader, Flash Center for Computational Science
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)

*************************************************************************

On Wed, Dec 28, 2022 at 11:07 AM Slavin, Jonathan <jslavin at cfa.harvard.edu>
wrote:

> Hi,
>
> I'm interested in carrying out 2.5 D or maybe 1.5 D simulations with
> Flash, and am wondering what I need to do in order to make that work. There
> is mention of 2.5 D simulations in the manual, but no description of how to
> do such simulations. To be clear, by half dimension I mean a direction for
> which vectors can have components but which no quantities can depend. So
> for example the magnetic field could consist of components Bx(x,y),
> By(x,y), Bz(x,y). Or for 1.5 D Bx(x), By(x).
> There are many places with Flash code with conditionals like
> if (NDIM == 3)...
> It seems that for 2.5 D, I'd need to set NDIM to 2, but then it's unclear
> to me if the z component of vectors will be included in the calculations.
> Any help would be appreciated.
>
> Thanks,
> Jon
>
> --
> Jonathan D. Slavin (he/him)
> Astrophysicist - High Energy Astrophysics Division
> Center for Astrophysics | Harvard & Smithsonian
> Office: (617) 496-7981 | Cell: (781) 363-0035
> 60 Garden Street | MS 04 | Cambridge, MA 02138
>
>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20221228/695d3d6d/attachment-0001.htm>


More information about the flash-users mailing list