[FLASH-USERS] Simulation_adjustEvolution

Klaus Weide klaus at flash.uchicago.edu
Fri Jan 10 20:43:17 EST 2014


On Fri, 10 Jan 2014, andrea costa wrote:

> However, when I try to add a pressure pulse to the evolved dynamic,
> 
> -e.g. increasing solnData(PRES_VAR,i,j,k) by 50 x solnData(PRES_VAR,i,j,k)-,
> 
>  I obtain a much smaller value than that I have introduced.

You should probably call Eos (most likely through Eos_wrapped)
with a mode of MODE_DENS_PRES after you modify the pressure, so that
other solution variables (in particular temp, ener, eint) get adjusted
consistently with your pressure increase.

Klaus



More information about the flash-users mailing list