# Flair 3.1-2 abnormal behaviour

**URL:** <https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874>\
**Category:** Flair\
**Created:** [30 August 2020 15:51 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874 "2020-08-30T15:51:21Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [30 August 2020 15:51 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/1 "2020-08-30T15:51:21Z")

</div>

Dear experts,

I had already prepared a voxel phantom that worked well on flair 2.3-0. But there seems to be a problem in flair 3.1-2. After opening the relevant file (with .vxl extension) using VOXELS card, everything is fine in the Geometry tab and there are no errors, but in the Input tab, in drop list of region ID/name in ASSIGNMA cards, the names of the organs are not seen! However, in the Geometry tab all organs and their names can be seen.  
Any help will be appreciated in advance.  
Asghar

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [31 August 2020 08:44 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/3 "2020-08-31T08:44:26Z")

</div>

Hi @asghar.haddadi

could you try to re-create the voxel with flair 3.1-2. There were several changes both in flair-3 and fluka-4 to include more information of the dicom inside the voxel.

Vasilis

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [31 August 2020 15:28 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/4 "2020-08-31T15:28:12Z")

</div>

Dear Vasilis,

I did not use the DICOM function to prepare the mentioned voxel phantom. I used the human ICRP110 ASCII voxel data and to produce the golem.vxl, then I used modified version of “WRITEGOLEM” program which is mentioned in section 8.3 of FLUKA-4 manual. I also used the following commands to compile and link:  
/pathtofluka/bin/fff writegolem.f  
/pathtofluka/bin/lfluka -o writegolem writegolem.o  
After executing the writegolem, the result was file golem.vxl.  
So according to the previous message, I think the problem is related to the flair 3.1-2.  
The following are screenshots of both versions of flair.  
Any help will be appreciated in advance.  
Asghar

 ![Screenshot1](https://fluka-forum.web.cern.ch/uploads/default/original/1X/009a1c2d0e21c92ec3724604e6b01cc3c633552a.png) ![Screenshot2](https://fluka-forum.web.cern.ch/uploads/default/original/1X/2ecf8f58498c65f73114f821209f30caf6dd22cf.png) ![Screenshot3](https://fluka-forum.web.cern.ch/uploads/default/original/1X/6355821a3dbbab903d2d28d0445c420d18ee5fef.png) ![Screenshot4](https://fluka-forum.web.cern.ch/uploads/default/original/1X/141275074145e17d4a2beb73339d72f9bd8021b3.png)

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [31 August 2020 16:42 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/5 "2020-08-31T16:42:53Z")

</div>

It seems that there is a problem in the new flair to properly assign the regions and material properties to the voxels. Its only a presentation problem in flair, not a problem in running fluka.  
Could you send me the vxl and input file to correct.

Vasilis

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [31 August 2020 19:41 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/6 "2020-08-31T19:41:31Z")

</div>

Dear Vasilis,

It seems that the file with extension “vxl” cannot be sent from here and this is not allowed. Can you help me how can I send you the relevant files?

Regards,  
Asghar

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [1 September 2020 07:41 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/7 "2020-09-01T07:41:25Z")

</div>

The upload of vxl files should work now.  
Otherwise, could you upload to some file sharing platform (dropbox, google drive, firefox send, sendspace, file dropper, etc…)

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [1 September 2020 12:26 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/8 "2020-09-01T12:26:05Z")

</div>

Dear Vasilis,

Due to the large size of vxl file, I shared a part of the phantom (with a size of about 28 MB). I shared inp and vxl files via the following link:  
[https://drive.google.com/drive/folders/17rvCc8lhlOtpnyPMtyh50RVMDCpT23Md?usp=sharing](https://drive.google.com/drive/folders/17rvCc8lhlOtpnyPMtyh50RVMDCpT23Md?usp=sharing)

Hoping it will be useful.

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [1 September 2020 12:46 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/9 "2020-09-01T12:46:14Z")

</div>

Thank you @asghar.haddadi  
when I open your **voc.inp** with _3.1-2_ it shows the list with the voxels (actually is even doubled).

 ![image](https://fluka-forum.web.cern.ch/uploads/default/original/1X/459c881b3f668c3fc78e31fc7ec89d20aa02fabd.png)

I tried something else, deleting your VOXELS card from the input, and then adding manually the card with the voxel file. Before adding the card it shows in red all ASSIGNMA correctly because it doesn’t know the regions, but it doesn’t refresh after the voxel card is added. After manually clicking on the refresh button  
 ![image](https://fluka-forum.web.cern.ch/uploads/default/original/1X/2b06e33105cb5528619d1ca61bf3675f1eaceef8.png)  
everything was ok (apart from the double entries).

Could you describe the steps you did to arrive to the problem?

Vasilis

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [1 September 2020 13:39 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/10 "2020-09-01T13:39:38Z")

</div>

Dear @asghar.haddadi，  
Would you like share your complete .inp file? I have the .vxl file. I can try it and solve it. Thank you!  
Xiaoman,  
Best wishes

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [1 September 2020 16:25 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/11 "2020-09-01T16:25:49Z")

</div>

Dear Vasilis,

After clicking on the refresh button everything is ok, but after closing the inp file and opening it again , the problem still exists and it shows in red all ASSIGNMA ! especially when the inp file/project is saved with svae button in input ribbon (following figure).

![pic1](https://fluka-forum.web.cern.ch/uploads/default/original/1X/a53217e2eea9adb5ebb79a92e886fe7a30f2fb0b.png)

It seems that with each opening of the inp file, the VOXELS card must be refreshed once.  
Another problem is about the organ with the highest number in vxl file (VOXEL138 in the following figure) , which is still not recognized by flair 3.1-2 even by clicking on the refresh button. But, this is not the case with the flair 2.3-0 .

![pic2](https://fluka-forum.web.cern.ch/uploads/default/original/1X/f4b1d33bfe38133aebd547f441d84aa2ffe8bf24.png)

Any help will be appreciated in advance.  
Asghar

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [1 September 2020 16:33 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/12 "2020-09-01T16:33:43Z")

</div>

Dear Xiaoman,

What kind of phantom do you have? My inp file is related to ICRP110 human voxel phantom.

Regards  
Asghar

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [1 September 2020 19:14 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/13 "2020-09-01T19:14:37Z")

</div>

Dear @asghar.haddadi  
I have ICRP110 female and male voxel phantom.If you have both, it is best. Thank you.  
Xiaoman,  
Best wishes

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [2 September 2020 12:39 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/14 "2020-09-02T12:39:14Z")

</div>

Thanks @asghar.haddadi  
I’ve spotted the error with the regions and I’ve just fixed it. I will push the new release in a while

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [2 September 2020 12:54 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/15 "2020-09-02T12:54:52Z")

</div>

Dear Vasilis,

Hoping to release the revised version of flair 3.1-2.

Thanks for taking the time to respond.  
Asghar

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [2 September 2020 13:19 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/16 "2020-09-02T13:19:29Z")

</div>

Dear @asghar.haddadi，  
Would you like sharing your ICRP110 female and male voxel phantom .inp file for me? When I added the material to different region, there has incorrect match between organs and materials. Thanks very much for your kindly help!  
Xiaoman  
Best wishes

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [2 September 2020 14:32 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/17 "2020-09-02T14:32:10Z")

</div>

@asghar.haddadi  
we’ve just released the 3.1-3 which fixes the issue among others

Vasilis

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [3 September 2020 01:53 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/18 "2020-09-03T01:53:12Z")

</div>

Dear Vasilis,

This version of flair works well and the problem was solved. Thanks so much.

Regards,  
Asghar

---

<div class="post-metadata">

**Author:** ![asghar.haddadi](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@asghar.haddadi](https://fluka-forum.web.cern.ch/u/asghar.haddadi)\
**Post date:** [3 September 2020 02:23 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/19 "2020-09-03T02:23:49Z")

</div>

Dear Xiaoman,

Due to my participation in a joint project I can not share this file at this time.

Regards,  
Asghar

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [3 September 2020 05:26 UTC](https://fluka-forum.web.cern.ch/t/flair-3-1-2-abnormal-behaviour/874/20 "2020-09-03T05:26:21Z")

</div>

Closed on 3 September 2020 05:26 UTC


