[FLASH-USERS] Tabulated Eos + RadTrans

Yannick de Jong ydejong at ignitioncomputing.com
Mon Aug 4 12:08:16 EDT 2025


Hi Markus,

The RadTrans_computeDt routine calls the EOS module with
MODE_DENS_TEMP_ELE, and while the 3T multitype EOS is designed to handle
electrons and ions separately, that specific input mode has not been
implemented. (though it would be straightforward to add)

You could try to modify the RadTrans_computeDt subroutine to use an
implemented mode that calculates both electron and ion properties (though
note this may be less performant). In
source/physics/RadTrans/RadTransMain/MGD/RadTrans_computeDt.F90, change:
`mode = MODE_DENS_TEMP_ELE` to: `mode = MODE_DENS_TEMP_GATHER`

Alternatively you can reduce your timestep manually, for example by setting
a dtmax in your par file.

Best,
Yannick de Jong

Ignition Computing | Software Engineer

E: ydejong at ignitioncomputing.com
W: ignitioncomputing.com



On Mon, 4 Aug 2025 at 14:35, Dr. Markus Nöth <markus.noeth at marvelfusion.com>
wrote:

>
>
> Dear flash team,
>
>
>
> I’m working on a modified version of the ZPinch setup. I’ve been
> experiencing oscillations in the temperature which vanishes when switching
> off RadTrans. That’s why I’ve switched on the runtime flag rt_computeDt =
> .true. in flash.par. This worked well as long as I was using an ideal gas
> law for electrons and ions. Now I’ve switched to tabulated eos and run into
> the following error
>
>
>
> Error message is [Eos] Unrecognized input mode given to Eos
>
>
>
> I’ve traced origin of the error to the Eos call in
>
> source/physics/RadTrans/RadTransMain/MGD/RadTrans_computeDt.
>
>
>
> The eos mode in this call is MODE_DENS_TEMP_ELE, which is not recognized
> by the select statement in line 495 in the file
>
> source/physics/Eos/EosMain/multiTemp/Multitype/Eos
>
>
>
> The error can be reproduced by compiling the standard magnetoHD/ZPinch
> example, after setting rt_computeDt = .true. in flash.par.
>
>
>
> Why does this happen? Is there a way to use both tabulated eos and
> rt_computeDT?
>
>
>
> Best,
>
> Markus
>
>
>
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Dr. Markus Nöth
> Scientist
> +49 89 262023263
>
> MARVEL FUSION GmbH
> Theresienhöhe 12 | 80339 Munich | Germany
> Local Court Munich HRB 249969
> Managing Directors: Moritz von der Linden, Dr. Georg Korn, Heike Freund
>
> <https://marvelfusion.com/>
> <https://www.linkedin.com/company/marvelfusion/mycompany/>
> <https://twitter.com/MarvelFusion>
>
> *This email and any files transmitted with it are confidential and
> intended solely for the use of the named addressee. If you have received
> this email in error, please contact us and destroy the original message.
> For information on our handling of your personal data, please visit *
> *https://marvelfusion.com/imprint/* <https://marvelfusion.com/imprint/>
> * .*
>
>
> _______________________________________________
> 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/20250804/d1e74bf6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3198 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250804/d1e74bf6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 627 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250804/d1e74bf6/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 339 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250804/d1e74bf6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1396 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250804/d1e74bf6/attachment-0003.png>


More information about the flash-users mailing list