[FLASH-USERS] initial density and temperature distribution in laser slab
Lee Ellison
lee at pacificfusion.com
Wed Jul 17 19:07:06 EDT 2024
Hi Kavin,
Take a look at Simulation_initBlock.F90. This is the Fortran routine that
specifies the initial condition for the problem. Take a look around line
~100 for the body of a loop over the mesh that is specifying the initial
state. You can modify this to put in whatever spatial dependence you like.
Best of luck!
Lee
________________
Leland Ellison PhD
Pacific Fusion
Lead - Modeling and Simulations
On Wed, Jul 17, 2024 at 3:41 PM Kavin Tangtartharakul <ktangtar at ucsd.edu>
wrote:
> Hi,
>
> I am a new user of flash and have started working with the LaserSlab
> example. Instead of just a single value fo the initial density or
> temperature, how can I specify the density or temperature as a function of
> position? For example, density = dens_base + alpha*y.
>
> Thank you,
> Kavin Tangtartharakul
> _______________________________________________
> 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/20240717/c98c2a1a/attachment.htm>
More information about the flash-users
mailing list