[FLASH-USERS] Implement adiabatic approximation in the MHD eq of energy

Alvaro Sanchez alvaro.sanchez at greentownsbyfusion.com
Wed Jul 5 06:01:21 EDT 2023


Thank you very much for your answer, really appreciate it 🙂
________________________________
From: Adam Reyes <adam.reyes at rochester.edu>
Sent: Tuesday, July 4, 2023 6:50 PM
To: Alvaro Sanchez <alvaro.sanchez at greentownsbyfusion.com>
Cc: flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
Subject: Re: [FLASH-USERS] Implement adiabatic approximation in the MHD eq of energy

Hi Alvaro,

You may want to check out the polytrope unit under "physics/sourceTerms/Polytrope/PolytropeMain".

This is used for example in the simulation "Simulation/SimulationMain/StirFromFile". I don't think this would work with the 3 temperature solvers in the code, so you would want to be sure not to include any of the 3T solvers/units. It should be as easy as adding a line like

REQUIRES physics/sourceTerms/Polytrope/PolytropeMain
 to your Config file.

*************************************************************************
Adam Reyes
[https://flash.rochester.edu/site/common/images/email_signature/FLASH.jpg]
Code Group Leader, Flash Center for Computational Science
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu<mailto:adam.reyes at rochester.edu>
Web https://flash.rochester.edu<https://flash.rochester.edu/>
 (he / him / his)
[https://flash.rochester.edu/site/common/images/email_signature/FLASH-pride-sml.png]
*************************************************************************

On Tue, Jul 4, 2023 at 11:03 AM Alvaro Sanchez <alvaro.sanchez at greentownsbyfusion.com<mailto:alvaro.sanchez at greentownsbyfusion.com>> wrote:
Hello dear community of FLASH,

How difficult would it be to implement the adiabatic approximation in the equation of energy appearing in the ideal-MHD theory into the Z-pinch template instead of the equation 14-21 from the user's guide (in the MHD equations)?
Which of the modules used in there must be set to false and what to set true if this is possible?

Thank you very much in advance, appreciate any help

Nice code :)

Alvaro
_______________________________________________
flash-users mailing list
flash-users at flash.rochester.edu<mailto: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/20230705/96e6b7d3/attachment.htm>


More information about the flash-users mailing list