MCNP Plugin
|
Access to this plugin requires an additional licence and/or depends on your EDGE licence. Contact the SpaceSuite team for more information. The installation procedure is detailed in the Tools menu description. |
MCNP Import
As any importer, the MCNP importer is available in the menu:File[Import] menu or inside the btn:[Add new shape] dialogue.
The importer tries to identify CSG shapes from the cell definition inside the provided MCNP file. The importer only imports elements related to the CAD definition: the cells block and surfaces block are imported and from the data block, only the materials (M) and the transformations (TR and TRCL) are interpreted.
Concerning the surfaces, the macro-bodies RHP/HEX, ARB and WED are not converted and the surfaces GQ, SQ, TX, TY, TZ, X, Y, Z are not interpreted.
Simple cell definitions are directly interpreted, otherwise a Boolean operation of the surfaces is created in EDGE. However, the following constructs are identified by the importer and the corresponding native GDML elements are created:
| Cell content | GDML shape |
|---|---|
6 orthogonal planes |
Box |
Infinite cone + 1 plane |
Cone Segment |
Infinite tube + 2 planes |
Tube Segment |
Complement operations (like #1) are ignored by the importer: they mostly describe in GDML terms a parent/child relationship which is implicit inside the GDML.
|
MCNP Export
The MCNP plugin can also export the GDML definition to a MCNP file.
The following GDML shapes are exported to MCNP:
| GDML shape | Note |
|---|---|
Box |
|
Cone |
Only if |
Ellipsoid |
Only if |
Orb |
|
Sphere |
Only if |
Tube |
|
Intersection |
|
Subtraction |
|
Union |
Moreover, the default Geant4 materials cannot be exported to MCNP and will be replaced by void material. Ensure to define properly your materials beforehand.