Wiki
Clone wikiKROME / patch1
4.1.2 FLASH 4.0 patch
This patch can be used for Flash 4.0, for different version of Flash the patch is not guaranteed. Please contact us if you want to interface KROME with a different version of Flash.
The only additional option you need to create the Flash interface to KROME is -flash
$ ./krome -n your_network -flash -compact
Note that the options -compact
(which creates only one file with all the KROME's core-modules included) is MANDATORY when you use -flash
. You can add any other options you prefer, including -heating
, -cooling
, and many others (see :ref:basic_usage
for more options).
Once you run krome
with the -flash
option KROME creates a folder krome_flash_patch
in the build/
folder, which includes a series of sub-directories that should be copied into your flash directory. In build/
you will find the following files::
~/krome/build/krome_flash_patch $ ls
Driver physics Simulation
In Driver/Driver_Main/
there is the routine that calls the KromeChemistry interface::
call KromeChemistry(blockCount, blockList, dt)
In physics/sourceTerms/KromeChemistry/KromeChemistryMain
you will find the KROME routines (krome_all.F90
, opk*.F
) and the chemistry/flash routines prepared to interface KROME with Flash.
For further details on these files please contact us by using our google group at https://groups.google.com/forum/#!forum/kromeusers.
In Simulation/SimulationComposition
and Simulation/SimulationMain
you will find additional routines to set your own problem and an example: a one-dimensional collapse test which should guide the Flash user on the use of KROME in Flash.
Updated