Hello,
I have a quite complex geometry to build in Flair for Fluka and I was wondering if it is possible to build several separated blocks, and then import them in a single input file, using geometry editor.
Thank you
Michele
Hi @michele
It is in my TODO list to create an import command that you import another flair project containing a single body, and to correct the fluka input but for the moment
For the moment you can split the geometries of each block into 3 files each
For example imaging magnet1.inp
- bodies magnet1.bodies
- regions magnet1.regions
- other cards (assignmat biasing etc…) magnet1.cards
Use a single macro body e.g. MAGNET1 as RPP, RCC,… as the body enclosing everything
and then use 3 includes for each block like, subtracting from the REGION where the enclosing body should appear
GEOBEGIN
...
$start_translate xx yy zz
#include magnet1.bodies ! within the bodies
$stop_translate
END
REGION TUNNEL 5 TUNNEL-EXPR - MAGNET1
#include magnet1.regions ! within the regions
...
GEOEND
#include magnet1.cards ! anywhere else
This Is a great news, thank you Vasilis