Preserving the source distribution

New ideas for code development

Preserving the source distribution

Postby emilf » Fri Sep 10, 2010 10:01 am

Jaakko,

As you definitely aware, source convergence in full core calculations takes a lot of time.

So it would be nice to have a possibility to save the source distribution and to use it in the following calculations (similar to MCNP SRCTP).
emilf
 
Posts: 37
Joined: Mon Jun 21, 2010 3:22 pm
Location: HZDR

Re: Preserving the source distribution

Postby Jaakko Leppänen » Fri Sep 10, 2010 10:55 am

This is certainly a possibility. The idea is to have a universal format that is read by the external source routine. The distribution can then be used in external source calculations, as well as the initial guess for criticality source calculations. Writing the file is trivial, the question is, which parameters need to be stored? Is it sufficient to have the coordinates, direction, energy and weight, or are there other variables with important information. Do you know how the MCNP source files are structured? It would also be nice to able to exchange the files between the codes.
- Jaakko
User avatar
Jaakko Leppänen
Site Admin
 
Posts: 1962
Joined: Thu Mar 18, 2010 10:43 pm
Location: Espoo, Finland

Re: Preserving the source distribution

Postby emilf » Fri Sep 10, 2010 2:06 pm

It seems that MCNP stores x, y, and z-coordinates, u, v, and w-direction cosines, energy, weight, and time for each particle.
emilf
 
Posts: 37
Joined: Mon Jun 21, 2010 3:22 pm
Location: HZDR

Re: Preserving the source distribution

Postby Andrei Fokau » Fri Sep 10, 2010 3:53 pm

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 difficulties for using the source files. In this case, a Perl script may help to solve the problem.
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 1 guest

cron