Or you can use Flair expression to make Flair calculate the trigonometrical functions for angles, like cosBxx = cosd(2.3). See the F3.6 section of the Flair manual (F1 key on the keyboard).
in Flair you can use even longer numbers to satisfy the accuracy check, like cosBxx: 0.9510565162951535
(of course this won’t be included in the FLUKA input file unless the FREE format is activated, but it is not necessary to do as FLUKA will take care of the normalization of the length)
in Flair you can use more than 8 digits to have higher accuracy.
But it is strange, that it doesn’t work with the expessions [=cosd(18.)]. Can you confirm which Flair version do you use? How do you edit your input files? With Flair, or with a text editor? Also, could you share an input where you get the error message?
Still having the RED error messages.
Flair version: 3.1-2
FLUKA version: 4.0
Use TextPad 8 as my editor of choice
Do not yet know how to share my input file (attachments?)
But FLUKA runs to completion and the results are the same as with FLUKA2011.
Please see attached .inp file (renamtud800.inp.txt (39.4 KB) ed .inp.txt for transfer).
Don’t know if this will work. Might have to drag it from Flair.
There was also an error with a PHYSICS card, setting the maximum energies for the PEANUT model. I simply disabled this card, since PEANUT is used up to 100 TeV by default.