Re: [fluka-discuss]: magnetic field in vacuum

From: Francesco Cerutti <Francesco.Cerutti_at_cern.ch>
Date: Fri, 14 Feb 2014 10:57:58 +0100

Hallo,

actually, in case of constant magnetic field in all magnetic regions, the
MGNFIELD card is enough (as stated in the manual). It will automatically
feed the default magfld routine (the one provided in usermvax, where in
fact the comment
* 2 Tesla uniform field along +z:
does not apply) and you do NOT need to link the latter into a customized
executable, unless you want to modify it, since it is already in the
standard FLUKA library and linked in the standard executable.

Cheers

Francesco

**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854

On Thu, 13 Feb 2014, Dr. Vittorio Boccone wrote:

> No you should still include and link the default magfld routine which is
> configured for a uniform magnetic field, as explained in the lecture and the
> tutorial.
> Best 
> V.
> Sent from my iPad
>
> On 13/feb/2014, at 22:42, "REDDELL, BRANDON D. (JSC-EV511)"
> <brandon.d.reddell_at_nasa.gov> wrote:
>
> Thanks Vittorio.
>
> So in my simple problem, I am not using the magfld.f routine,
> just only the MGNFIELD card. So, could you confirm if these
> cards should work:
>
> MGNFIELD        20.0       0.2      0.10       0.0      
> 0.0       1.0
> STEPSIZE         0.5       0.0      VAC2       0.0      
> 0.0       0.0
> EMF                                                                  
> EMF-OFF
> .
> .
> .
> ASSIGNMA      VACUUM      VAC2                           1.0
> (the 1 here is at WHAT(5)
>
> Thanks.
>
> Brandon
>
>
>
> ____________________________________________________________________________
> From: Vittorio Boccone [dr.vittorio.boccone_at_ieee.org]
> Sent: Thursday, February 13, 2014 2:47 PM
> To: REDDELL, BRANDON D. (JSC-EV511); fluka-discuss_at_fluka.org
> Subject: Re: [fluka-discuss]: magnetic field in vacuum
>
> Sure, check out the magnetic field exercise (solution) on the advanced
> course:
> http://www.fluka.org/fluka.php?id=course&sub=program&navig=2&which=triumf20
> 12
> Best
> V.
>
> On 2/13/2014 8:47 PM, REDDELL, BRANDON D. (JSC-EV511) wrote:
>
> FLUKA Users/Experts,
>
>  
>
> Do the magnetic field settings in a region (using MGNFIELD
> card along with WHAT card 5 in ASSIGNMA Card) work if the
> region of the B field is a vacuum?
>
>  
>
> Brandon
>
>
>
>
Received on Fri Feb 14 2014 - 11:58:07 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 14 2014 - 11:58:08 CET