Search found 77 matches

by Andrei Fokau
Sat Sep 18, 2010 8:19 pm
Forum: Development
Topic: Universe 0 as nest
Replies: 1
Views: 4366

Universe 0 as nest

Jaakko,
Could you allow universe nr. 0 to be defined as a nest? In some cases, there is no need in "cell-surface" definition of the geometry. This will be especially useful, if you will add nests with multiple surface parameters.
by Andrei Fokau
Fri Sep 10, 2010 3:53 pm
Forum: Development
Topic: Preserving the source distribution
Replies: 3
Views: 5159

Re: Preserving the source distribution

For the surface-source file, one needs to record particle type as well. There may be differences between MCNP versions. Also between MCNP and MCNPX. At least the code does not allow to use SRCTP file made with another version. If MCNP just checks the version number, then it creates unnecessary diffi...
by Andrei Fokau
Wed Sep 08, 2010 7:02 pm
Forum: Development
Topic: Same universe on different levels
Replies: 0
Views: 3522

Same universe on different levels

Would it be better to add an extra universe with same parameters by Serpent routines instead of showing the following error message? Input error: Universe 1 used at geometry levels 4 and 6 The message is quite clear for MCNP users, nevertheless some students don't get the meaning. Perhaps, adding an...
by Andrei Fokau
Mon Sep 06, 2010 9:41 am
Forum: Development
Topic: Search for data files in SERPENT_DATA as well
Replies: 5
Views: 7516

Re: Search for data files in SERPENT_DATA as well

Jaakko Leppänen wrote:OK. That can be done by replacing line 149 in readacefiles.c ...
Easy... I should have seen it myself even being so scarred by C pointers! Do you plan to add it to the next update?
by Andrei Fokau
Fri Sep 03, 2010 7:53 pm
Forum: Development
Topic: Search for data files in SERPENT_DATA as well
Replies: 5
Views: 7516

Re: Search for data files in SERPENT_DATA as well

Jaakko, I meant that it would be great to have similar checks in readacefiles.c as well, so one could have xs-directory file with 1001.03c 1001.03c 1 1001 0 1.007828 299.97679 0 jeff31/data/1001_300K.ace Currently, I have to create a symbolic link in the current directory to make it working ln -s /u...
by Andrei Fokau
Thu Sep 02, 2010 8:53 pm
Forum: Development
Topic: Adding new surface types
Replies: 6
Views: 8851

Re: Adding new surface types

Jaakko, could you instruct me what I need to do in order to add a custom surface type to Serpent? I have tried to find out it myself, but got lost quickly due to not sufficient experience in C. It may be more convenient to separate all surface-type-dependent logic and parameters to surface-type rout...
by Andrei Fokau
Thu Sep 02, 2010 7:41 pm
Forum: Development
Topic: Search for data files in SERPENT_DATA as well
Replies: 5
Views: 7516

Search for data files in SERPENT_DATA as well

Jaakko,
It seems that if in *.xsdata (acelib) one gives a relative path to the nuclide data, then Serpent tries to find it from the current directory only. It would be nice if it searches in SERPENT_DATA as well!
by Andrei Fokau
Thu Sep 02, 2010 2:58 pm
Forum: Development
Topic: Nests with multiple surface parameters
Replies: 1
Views: 4535

Nests with various surfaces

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 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 ...
by Andrei Fokau
Thu Sep 02, 2010 2:37 pm
Forum: Development
Topic: Thickness for all types of nest surfaces
Replies: 1
Views: 4070

Allowing mixed thickness and absolute values

The following way seems to be finally optimal: nest 4 pz coolant -34 # absolute position (pz -34) steel *2 # asterisk denotes relative position, i.e. thickness (pz -32); only positive values are allowed void *5 # = pz -27 reflector *2 # = pz -25 fuel 25 # absolute position (pz 25) reflector *2 void ...
by Andrei Fokau
Wed Sep 01, 2010 8:54 pm
Forum: Development
Topic: Thickness for all types of nest surfaces
Replies: 1
Views: 4070

Thickness for all types of nest surfaces

Assuming, that thickness is added to surface parameter in positive direction, one can define nest in the following way: nestd 4 pz coolant -40 # first value is Z=-40 steel 2 # all other values are thicknesses, i.e. this one is 2 cm and eq. to Z=-38 void 5 # eq. to Z=-33 reflector 2 # eq. to Z=-31 fu...