Reflective boundary in Mavric

83 views
Skip to first unread message

Peter Wolniewicz

unread,
Mar 10, 2020, 8:35:06 AM3/10/20
to SCALE Users Group
I am using Scale 6.3 b8.

Using Mavric:

Is there a way to create a reflective boundary condition? I have a sphere in a cube. I want to make the cube reflective.

Best regards
Peter

Cihangir

unread,
Mar 10, 2020, 8:51:17 AM3/10/20
to SCALE Users Group
Hi Peter,

Yes, there is a way of declaring the boundary conditions. As you know, MAVRIC skips the boundary block ("read bounds ... end bounds") and assumes it is all vacuum. However, MONACO, which is used by MAVRIC for the MC transport calculations, supports the boundary block. What you need to do is keep the temporary directory when running MAVRIC, modify the MONACO input ($TMPDIR/i_monaco), and rerun the MONACO.

Here are the steps:
  • run MAVRIC while keeping the TMDIR as: scalerte -m -T tmp mavric.inp
  • modify the MONACO input with desired BCs as:  open tmp/i_monaco and add "read bounds  all=mirror end bounds"
  • rerun the MONACO by executing MONACO in the TMPDIR as "cd tmp; monaco < i_monaco > monaco.out"
I hope this helps.

Thanks,
Cihangir

Peter Wolniewicz

unread,
Mar 10, 2020, 10:00:09 AM3/10/20
to SCALE Users Group
Thank you Cihangir, 
It seems to be working. 

I will experiment with this more tomorrow.

Is the reason that refl. bounds are excluded (and not recommended) in Mavric due to vaiance reduction in Mavric?

Peter

Cihangir

unread,
Mar 10, 2020, 10:05:15 AM3/10/20
to SCALE Users Group
Not only VR methods but also point detectors are susceptible to reflective BCs. Furthermore, typical shielding calculations don't involve a reflective BC since the focus is shielding a system rather than involving an artificial BC which would do pseudo shielding (reflective BCs are perfect shielding materials, nothing passes them :) ) 

Jorge

unread,
Mar 10, 2020, 11:26:39 AM3/10/20
to SCALE Users Group
Peter, you are using Mavric of Scale 6.3. Is there any new functionallity implemented in Mavric in this version?

Regards
Jorge
Reply all
Reply to author
Forward
0 new messages