You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WWG system previously worked [sort of] with a single wwg mesh system. MCNP (with adjustments) suported multiple WWG but annoyingly this was run by running CombLayer multiple times to make multiple WWINP files and then using them in MCNP.
Fluka and PHITS did not have support for WWG.
The latest commit to master has changed this to allow multiple wwg windows for all three codes. This has resulted in a different method of setting up your WWG.
Currently the code for MCNP (default) only supports a SINGLE wwg. window, PHITS only support 6 wwg windows and FLUKA supports none. I have patches for FLUKA/PHITS to solve this problem. I have an old patch for MCNP (6.3 but not later).
Just ask. I am investigating with FLUKA/PHITS if I can publish them fully.
Quick Start Guide
Assuming you just want it to work, these are the main steps done with an example.
The basic steps required are (they can be ordered in anyway in the input):
-w :: Start a weight calculation [either cell based or wwg or both]
--wWWG :: Initialise a mesh based weight window system calculation
--wwgSource :: define a "source point". The parameters are NAME [this can be anything] and then any valid point [in this case it is a named FixedPoint with a vector displacement.
--wwgMesh :: Define a 3D grid. This is lower corner and upper corner and the XYZ sizes.
--wwgCalc :: Create a weighted mesh bias - SS0 is the name [anything] , the next key is the particles required, M1 is the grid name S0 is the source point, then there are four values: minEnergy to use, density (scalar), r2Length scalar and r2 power scalar.
--wwgCADIS [optional] :: Merge two mesh biases into a new group. SS0ut is name of result then the source / adjoint mesh, and then the source / adjoint sources followed by the densityScale, r2scale, r2Power.
--wwgNorm [optional] :: The scale is spead/compessed over a range of exp(20) using the result range exp(-15) to exp(-1).
--wwgActive :: Write out SSOut for FLUKA [only those selected are written to FLUKA] The option Log implies that results are in log space.
Detailed Description of System
wwgCalc
The principle of this is to calculate the direct beam that can come from a source point into the cells of the grid. This basically does this using an approximate total scattering cross section. Given the approximation [awful] a density scaling and a r2 power scaling are provided.
Obviously that is not likely to be enough for the wwg unless the material is very uniform and light. If a much more detailed build up is needed, then use wwgMarkov to build the value. But often using the CADIS formalism the values obtained from CADIS is very close to that generated by a full calculation, in particular if the region is mono dimensional.
wwgCADIS
This follows the Adjoint method of Wagner. wwgCADIS works by assuming one unit is the source and one is the adjoint (tally) point or plane. The calculation make the result within a single unit. This can be further processed with wwgMarkov and then further CADIS if wanted to accentual the buldup/multscatter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Introduction
The WWG system previously worked [sort of] with a single wwg mesh system. MCNP (with adjustments) suported multiple WWG but annoyingly this was run by running CombLayer multiple times to make multiple WWINP files and then using them in MCNP.
Fluka and PHITS did not have support for WWG.
The latest commit to master has changed this to allow multiple wwg windows for all three codes. This has resulted in a different method of setting up your WWG.
Currently the code for MCNP (default) only supports a SINGLE wwg. window, PHITS only support 6 wwg windows and FLUKA supports none. I have patches for FLUKA/PHITS to solve this problem. I have an old patch for MCNP (6.3 but not later).
Just ask. I am investigating with FLUKA/PHITS if I can publish them fully.
Quick Start Guide
Assuming you just want it to work, these are the main steps done with an example.
The basic steps required are (they can be ordered in anyway in the input):
Detailed Description of System
wwgCalc
The principle of this is to calculate the direct beam that can come from a source point into the cells of the grid. This basically does this using an approximate total scattering cross section. Given the approximation [awful] a density scaling and a r2 power scaling are provided.
Obviously that is not likely to be enough for the wwg unless the material is very uniform and light. If a much more detailed build up is needed, then use wwgMarkov to build the value. But often using the CADIS formalism the values obtained from CADIS is very close to that generated by a full calculation, in particular if the region is mono dimensional.
wwgCADIS
This follows the Adjoint method of Wagner. wwgCADIS works by assuming one unit is the source and one is the adjoint (tally) point or plane. The calculation make the result within a single unit. This can be further processed with wwgMarkov and then further CADIS if wanted to accentual the buldup/multscatter.
Beta Was this translation helpful? Give feedback.
All reactions