[FLASH-USERS] Gravity in StirFromFile Turbulence Simulation
Hansen, Eddie
ehansen at pas.rochester.edu
Wed Jun 28 21:03:58 EDT 2023
Many units in FLASH get initialized but aren't necessarily being used. In your object directory, you can check the file “setup_units” to see a list of units that the setup script has prepared for compiling. If you see a line that says “physics/Gravity” but no other lines with deeper directory names inside Gravity/ then the code is not actually using Gravity.
If the code was potentially using Gravity, you’d see a line like “physics/Gravity/GravityMain/Poisson” in the “setup_units” file. But if it just has “physics/Gravity”, that means the code is only compiling what we call the “stub implementation” of the Gravity unit. If you look at many of the Gravity_*.F90 files, you’ll see that they don’t actually do anything.
******************************************
Eddie Hansen | Research Scientist
Flash Center for Computational Science
Dept. of Physics and Astronomy
University of Rochester, Rochester, NY
Cell 607-341-6126 | flash.rochester.edu
(he / him / his)
******************************************
________________________________
From: flash-users <flash-users-bounces at flash.rochester.edu> on behalf of Alex Anorve <manzana.granada at gmail.com>
Sent: Wednesday, June 28, 2023 5:41:29 PM
To: flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
Subject: [FLASH-USERS] Gravity in StirFromFile Turbulence Simulation
Hello:
I am running a StirFromFile simulation. Following the manual I setup the object dir with something similar to
./setup StirFromFile -auto -3d -nxb=16 -nyb=16 -nzb=16 +ug -with-unit=physics/Hydro.
After compiling the object dir everything goes well, however after running the flash4 executable I get the message "Gravity initialized"
I do not want to run the simulation with Gravity enabled, after searching for a while, I found that the message comes from the module Driver, specifically from source/Driver/DriverMain/Driver_initFlash.F90 which calls to Gravity_init()
How can I disable Gravity to run only the simulation with the Hydro module (without gravity)?
Many thanks for your help
Alex Anorve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230629/52269b42/attachment-0001.htm>
More information about the flash-users
mailing list