RE: Rflctv.f not being called.

From: Alberto Fasso' <fasso_at_SLAC.Stanford.EDU>
Date: Fri, 24 Feb 2012 08:03:08 -0800 (PST)

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
>>
>
>

-- 
Alberto Fasso`
SLAC-RP, MS 48, 2575 Sand Hill Road, Menlo Park CA 94025
Phone: (1 650) 926 4762   Fax: (1 650) 926 3569
fasso_at_slac.stanford.edu
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:24 CET