[FLASH-USERS] Altering Velocity Causes Anomalous Pressure

James Guillochon jfg at ucolick.org
Wed Sep 17 08:58:55 EDT 2008


OK, I will give that a try. Is there anything else I should be cautious 
about? Is the Driver_sourceTerms routine the appropriate place to do 
this sort of thing?

Thanks for your help!

Tomasz Plewa wrote:
> James -
>
> At the very least you need to update the total gas energy.
>
> Tomek
> -- 
> James Guillochon wrote:
>> Hi everyone,
>>
>> I am altering the velocity of a couple of grid squares in my 
>> simulation in the Driver_sourceTerms function at each time step, and 
>> after a couple hundred steps I end up with a grid cell or two with a 
>> ridiculously high pressure/density, which causes the Helmholtz EOS 
>> routine to not converge. I was wondering if there are any other 
>> variables I should be altering when I give these grid cells their new 
>> velocities? Or if there is a better place in Flash to be adjusting 
>> the velocities than the Driver_sourceTerms routine?
>>
>> Thanks!
>>
>> - James
>>   
>
>
> !DSPAM:10135,48d0fd1a20044307041292!



More information about the flash-users mailing list