RE: Rflctv.f not being called.

From: Nicholas Bolibruch <nicholas.bolibruch_at_gmail.com>
Date: Fri, 24 Feb 2012 11:06:14 -0600

Thanks for the reply Alberto. At least from what I understood in the
manual the WHAT(4-6) assignments were not necessary to call the RFLCTV
routine but I went with your suggestion and tried setting WHAT(4-6), and
found no change in the behaviour. Fluka happily transports all the
optical photons without calling RFLCTV ever.

On Fri, 2012-02-24 at 08:03 -0800, Alberto Fasso' wrote:
> Dear Nicholas,
>
> in card OPT-PROP you have set SDUM = METAL and WHAT(3) < -110. But you
> must assign also WHAT(4-6) (or at least WHAT(4):
> WHAT(4) = lower bound of the indices of materials to which the indicated
> optical properties refer
> From material WHAT(4)...
> Default = 3
> WHAT(5) = upper bound of the indices of materials to which the indicated
> optical properties refer
> ...To material WHAT(5)...
> Default = WHAT(4)
> WHAT(6) = ... in step of WHAT(6)
> Default = 1
> Not setting these WHATs, you make the card apply only to material 3 (HYDROGEN),
> which is clearly meaningless here.
>
> I am not sure that this will solve your problem, but you should try
>
> Alberto
>
> On Thu, 23 Feb 2012, Nicholas Bolibruch wrote:
>
> > Thank you Joachim. Flair doesn't provide an explicit menu option for
> > this input card feature so I guess I kept missing it. Anyhow, after
> > making this change my RFLCTV function still doesn't get called.
> >
> > Attached is the project I'm working on. As of now the photons being
> > traced are visible light photons however I eventually plan to include
> > infrared surface roughness/absorption/reflectivity curves for all the
> > materials with blackbody emission coming from a generic region (ie. the
> > room temperature portion of a cryostat). The included Source file has
> > optical primaries start in a disc region around the position 0,0,1982
> > with an isotropic angle distribution.
> >
> > The attached RFLCTV function should just abort Fluka, however Fluka runs
> > without ever calling it.
> >
> > Any advice?
> >
> > --Nick
> >
> >
> > On Mon, 2012-02-20 at 17:18 +0100, Joachim Vollaire wrote:
> >> Dear Nicholas,
> >> It is hard to tell without your input but did you activate the call to the
> >> routine with OPT-PROP card ?
> >>
> >> RFLCTV: to specify the reflectivity of a material.
> >> This can be activated by card OPT-PROP with SDUM = METAL and
> >> WHAT(3) < -99.
> >>
> >> Cheers
> >> Joachim
> >>
> >> ________________________________________=
> >> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Nicholas Bolibruch [nicholas.bolibruch_at_gmail.com]
> >> Sent: 08 February 2012 23:02
> >> To: fluka-discuss_at_fluka.org
> >> Subject: Rflctv.f not being called.
> >>
> >> Hi Fluka experts,
> >>
> >> After compiling a slightly modified rflctv.f into my fluka executable,
> >> I've noticed the routine is never called. Do I need a particular card=
> >> enabled to trigger the reflectivity user routine? Do I need to add
> >> another INCLUDE statement?
> >>
> >> I've added a FLABRT call to rflctv.f just to test if it is being
> >> accessed, and the abort request never gets triggered.
> >>
> >> I have optical photons generating no problem in a customized source
> >> routine.
> >>
> >> Any help would be greatly appreciated.
> >>
> >> Thanks,
> >>
> >> Nicholas Bolibruch
> >>
> >> Canadian Light Source Inc.
> >> Instrumentation Analyst
> >> Controls & Instrumentation Development
> >>
> >
> >
>
Received on Sat Feb 25 2012 - 14:25:13 CET

This archive was generated by hypermail 2.2.0 : Sat Feb 25 2012 - 14:25:44 CET