[FLASH-USERS] [EXT] Electron Energy Density, EELE_VAR, Initialization?
Reyes, Adam
adam.reyes at rochester.edu
Fri Aug 27 14:00:43 EDT 2021
Hi Tony,
The EOS gets called during the grid initialization after Simulation_initBlock, you can look for instances of “Eos_wrapped”. The purpose is to ensure thermodynamic consistency between temperature pressure & internal energy in the initial conditions. How that is done depends on the choice of the Eos mode, controlled by the runtime parameter “eosModeInit”. You can look at Table 16.1<http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p62/node110.html#Tab:3TEos_MODES> from the users guide for the different options.
eosModeInit [STRING] ["dens_ie"]
Valid Values: "dens_ie", "dens_pres", "dens_temp", "dens_ie_all",
"dens_ie_scatter", "dens_ie_gather", "dens_temp_equi", "dens_temp_all",
"dens_temp_gather", "eos_nop"
determines how to operate on thermodynamic quantities for the initial
conditions. A call to Simulation_initBlock sets initial conditions on
each block, and an eos call follows which ensures the initial values are
thermodynamically consistent. The value of eosModeInit determines the
mode in which these eos calls operate. Possible values are "dens_ie",
where density and internal energy are supplied and pressure and
temperature are returned; "dens_pres", where density and pressure are
given and energy and temperature are computed; and "dens_temp", where
density and temperature are given and pressure and energy are computed.
Other values may also be available as, depending on whether a multiTemp
Eos is used and on implementation of additional physics.
Adam
On Aug 27, 2021, at 1:47 PM, Alberti, Anthony L <anthony.alberti at oregonstate.edu<mailto:anthony.alberti at oregonstate.edu>> wrote:
Ah, the dreaded EOS unit. I figured that might be the case.
However, I’m not sure where the EOS unit gets called in my Simulation_initBlock.F90 file (see attached). This is based off of the “SimulationMain/MGDStep” problem that comes with the FLASH distribution. Would you be able to point me to where that unit gets called?
Thanks, Eddie.
Tony
From: Eddie Hansen <ehansen at pas.rochester.edu<mailto:ehansen at pas.rochester.edu>>
Date: Friday, August 27, 2021 at 9:15 AM
To: Alberti, Anthony L <anthony.alberti at oregonstate.edu<mailto:anthony.alberti at oregonstate.edu>>
Cc: flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu> <flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu>>
Subject: Re: [EXT] [FLASH-USERS] Electron Energy Density, EELE_VAR, Initialization?
[This email originated from outside of OSU. Use caution with links and attachments.]
After Simulation_initBlock, there should be a call to EOS to initialize EELE_VAR and all other relevant variables that haven't yet been set. The EOS unit source code can get a little confusing, but I hope at least pointing you in the right direction is helpful.
On Fri, Aug 27, 2021 at 11:05 AM Alberti, Anthony L <anthony.alberti at oregonstate.edu<mailto:anthony.alberti at oregonstate.edu>> wrote:
Hi folks,
I’m currently working on running a radiation transport benchmark problem in FLASH and am interested to know, where in the FLASH source code does the electron energy density, EELE_VAR, get initialized?
I can see where the radiation energy density gets initialized, Simulation_blockInit.F90, but it’s not clear where the electron energy density gets initialized. I’ve grepped around and can’t find anything obvious.
Thanks all.
Tony Alberti
--
Eddie Hansen, PhD
Postdoctoral Associate
University of Rochester
607-341-6126 | Flash Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210827/bcb4af47/attachment-0001.htm>
More information about the flash-users
mailing list