RE: [fluka-discuss]: polycone in FLAIR/SimpleGeo

From: Joachim Vollaire <joachim.vollaire_at_cern.ch>
Date: Fri, 17 Oct 2014 09:58:26 +0000

Dear Rafiq

FLUKA allows the definition of quadric surface, so you could possibly define one (or several) circular/elliptic paraboloid to approximate the shape of your device with some accuracy.

From the online ascii manual :

14. Generic Quadric. Code: QUA
      A QUA is a quadric surface defined by a 2nd degree equation F(x,y,z) = 0.
      Each QUA is defined by 10 numbers:
      A_xx, A_yy, A_zz, A_xy, A_xz, A_yz, A_x, A_y, A_z, A_0
      corresponding to the equation:
      A_xx x^2 + A_yy y^2 + A_zz z^2 + A_xy xy + A_xz xz + A_yz yz +
          + A_x x + A_y y + A_z x + A_0 = 0
      A QUA definition extends over two cards in default fixed format,
      and over 4 cards in high-accuracy body fixed format.

      Example in default fixed format:
 *...+....1....+....2....+....3....+....4....+....5....+....6....+....7..
   QUA 27 0.0025 0.04 0.0064 0.0 0.0 0.0
                0.055 0.64 0.0256 1.8881
 * (an ellipsoid centred at x = 11 cm, y = 8 cm, z = -2 cm, with
 * a semi-axis 20 cm long parallel to x, one 5 cm long parallel to y and
 * one 12.5 cm long parallel to z)


Hoping this help

Joachim


-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Mohammad Islam
Sent: 10 October 2014 00:27
To: fluka-discuss_at_fluka.org
Cc: Chris Theis; Vasilis Vlachoudis
Subject: [fluka-discuss]: polycone in FLAIR/SimpleGeo

Dear FLUKA users,

Does anybody knows how to define the polycone for changing radius using flair or Simplegeo. My problem is I need to define a second scatterer for proton beam line. I find the option TRC in flair where the radius for apex and base, and height is required. However, in the problem, I was given some particular radius for different heights and based on this I need to define the body. This is probably known as Gaussian flattening filter. I guess Geant4 has this option, I wonder if anybody can help me how to do define Gaussian filter using FLAIR or SimpleGeo. Thanks a lot.

Sincerely
Rafiq
Received on Fri Oct 17 2014 - 11:58:26 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 17 2014 - 13:43:03 CEST