Filenames of *.inp-files in Flair

Dear all,

One of my workflow is that I create a Flair project with an associated FLUKA input file. After running I often have to change a few parameters in the input.
For this I open an empty Flair project file, load the *.inp, change a few lines in the input-tab and save the input and the project under a new name.

Recently, in Flair 3.3-1, it occurred to me that the name of the FLUKA *inp-file has a persistence in the flair-project. Although I save both *.inp and project *flair under the same new name, the old name of the input file keeps coming up. When I was not attentive, the “Run” button in new project was starting a run of the input under the old name, leading to confusion and error. Correct me if I am wrong, I have the impression that this is a changed behaviour from previous versions of Flair.

What would be the best way to achieve what I would like to do, i.e. make some changes to an existing input file in an existing flair-project and then save both under a new name, with corresponding .inp and .flair, such that the flair-project is correctly associated to the input file.

Best regards, Thomas

I found a first workaround:
Instead of opening an empty flair-project and loading the original *inp-file before changing it

  • I open the original flair-project
  • save it under a new name
  • modify the *.inp file associated to it under “input”
  • and use the save button under “Input”, which saves both project and input
    That gives me the desired result.

Hello Thomas,

actually the workflow that you have figured out is the one that I would recommend. You should primarily stay with the FLAIR file and let it create the .inp accordingly.

Actually, if you have “variations” of your input you might want to use the possibility of having one project under which you spawn child simulations that are different only in details that you can define. For example you can vary the energy or any other parameter by setting it to a variable in the FLAIR input and in the run tab of FLAIR you can then set the values that should be used for this variable. Have a look at the following slides:
FLAIR-runtab.pdf (1.5 MB)

Hope that helps
Chris