Nests with multiple surface parameters

New ideas for code development

Nests with multiple surface parameters

Postby Andrei Fokau » Wed Sep 01, 2010 8:47 pm

In case of nested prisms, one could simplify input by using nest with multiple surface parameters:
Code: Select all
nestn 1 cylprism
fuel  0 0 # coordinates
           0.9 # radius
               -20 20 # z1 z2
void  0 0  1.0 -22 21
clad  0 0  1.5 -23 22
coolant

Since, the surfaces with explicit center are typically located in (0,0), the following form may also be reasonable:
Code: Select all
nestnc 2 cylprism
fuel  0.9 -20 20
void  1.0 -22 21
clad  1.5 -23 22

The last form can be more nest-looking:
Code: Select all
nestncd 3 cylprism
fuel  0.9 -20 20 # the first set of values are absolute coordinates/locations
void  0.1  2  1  # all values are thicknesses and can be zero except one
clad  0.5  1  1
KTH Reactor Physics (Stockholm, Sweden) neutron.kth.se
Andrei Fokau
 
Posts: 77
Joined: Thu Mar 25, 2010 12:25 am
Location: KTH, Stockholm, Sweden

Nests with various surfaces

Postby Andrei Fokau » Thu Sep 02, 2010 2:58 pm

One could also add the surface type for each layer. It would allow layers bounded by different surfaces. Layers overlapping should be then checked by plotting the geometry
Code: Select all
nestx 1
fuel  cylprism   0 0  0.9   -20 20
void  hexyprism  0 0  1.3 0 -22 22
clad  cylprism   0 0  1.5   -23 22
coolant

The idea of nests has very very big potential and can be extended a lot to be descent alternative to MCNP's machine-friendly "cell-surface" approach.

Andrei Fokau wrote:The last form can be more nest-looking:
Code: Select all
nestncd 3 cylprism
fuel  0.9 -20 20 # the first set of values are absolute coordinates/locations
void  0.1  2  1  # all values are thicknesses and can be zero except one
clad  0.5  1  1

Thickness can be defined in a better way: viewtopic.php?f=9&t=120
KTH Reactor Physics (Stockholm, Sweden) neutron.kth.se
Andrei Fokau
 
Posts: 77
Joined: Thu Mar 25, 2010 12:25 am
Location: KTH, Stockholm, Sweden


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests