Re: [fluka-discuss]: Magnetic field in FLUKA input

From: Giuseppe Battistoni <giuseppe.battistoni_at_mi.infn.it>
Date: Mon, 22 May 2017 19:25:02 +0200

Sorry,
I need to correct my previous answer:
ASSIGNMA assigns a material to a region.
Therefore you can activate the magnetic field
to a given region without creating a new material.

I apologize for the confusion

        Giuseppe Battistoni

On 22/05/2017 18:38, Giuseppe Battistoni wrote:
> Dear Martin Xie
> in your case, once you have defined the field
> components with MGNFIELD, you activate the magnetic
> field in a given material by means of the
> ASSIGNMA card (see the manual)
> I presume that you have a room filled with AIR, and
> if you need to assign the mag field only to a part of the room region,
> then you need to define a new air material, using
> a different name of your choice, and assign it to
> the region of interest.
>
> Alternatively you can define the magnetic field
> using a specific FLUKA user routine called
> magfld.f.
> In order to use it see the manual for the MGNFIELD card
> and chapter 13 for user routines in general.
>
> Giuseppe Battistoni
>
> On 22/05/2017 18:18, Π»ΥρεΎ wrote:
>>
>> Hi dear fluka developers and users:
>>
>> I'm a FLUKA beginner, and I'm now building a very simple model, in which
>> there's a *homogeneous magnetic field* in a cubic part of a room.(This
>> field is to influence the trajectory of an electron beam passing through
>> this cubic region.)
>> So I wonder how can I define this magnetic field in my model? I noticed
>> the *MGNFIELD* input card, but it seems that it can only define the
>> value of Bx, By, Bz, cannot define the place where the magnetic field is
>> placed. Is it OK to use the *MGNFIELD* card to achieve my goal? Or is
>> there other ways to define a magnetic field in a certain place of the
>> model?
>> Thank you for your sincere help!
>>
>> Best regards,
>> Martin Xie
>> 2017.5.23
>>
>>
>>
>

-- 
INFN Milano
via Celoria 16, 20133 Milano
tel: +39 02 50317307
fax: +39 02 50317617
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon May 22 2017 - 20:14:35 CEST

This archive was generated by hypermail 2.3.0 : Mon May 22 2017 - 20:14:39 CEST