Search found 23 matches

by ondrejch
Tue Mar 17, 2020 7:30 pm
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Re: Set axis range for plots

Jaakko, they are a part of geometry, everything is +- reasonable. I emailed you the input file.
by ondrejch
Sat Mar 14, 2020 5:23 am
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Re: Set axis range for plots

Interesting. The salt is burned, its volume is set, and the only processing is an off-gas. I will email Jaakko.
by ondrejch
Thu Mar 12, 2020 3:30 pm
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Re: Set axis range for plots

Here is the example: https://msr.ne.utk.edu/~o/test_dep.m

Code: Select all

fd=serpentTools.read("test_dep.m")
s=fd.materials['salt']
s.plot('burnup','adens',names=['U235','Pu239'])
by ondrejch
Thu Mar 12, 2020 7:29 am
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Re: Set axis range for plots

Thanks Andrew for your reply.

Serpent tools:

Code: Select all

In [62]: serpentTools.__version__
Out[62]: '0.9.2'
Serpent is Version 2.1.31

Python (in spyder3)

Code: Select all

Python 3.7.5 (default, Nov 20 2019, 09:21:52)
IPython 5.8.0 -- An enhanced Interactive Python.
by ondrejch
Wed Mar 11, 2020 7:20 pm
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Material has no burnup

For some reason when the material is selected, fuel=dep.materials['fuel0'], fuel.burnup is an array full of zeros, while fuel.days has the correct array of nonzero depletion steps.

This can be fixed by fuel.data['burnup'] = dep.metadata['burnup']
by ondrejch
Wed Mar 11, 2020 6:28 pm
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Re: Set axis range for plots

It seems I figured it out. Either, while plotting, one can adjust one axis only: res.plot('burnup', ['absKeff', 'colKeff']).set_xlim([min,max]) res.plot('burnup', ['absKeff', 'colKeff']).set_ylim([min,max]) Or one can get the matplotlib.axes object, fix it up, and replot: fig=res.plot('burnup', ['ab...
by ondrejch
Wed Mar 11, 2020 5:12 pm
Forum: serpentTools
Topic: Set axis range for plots
Replies: 9
Views: 943

Set axis range for plots

Great work with Serpent Tools! I love it and recommend to everyone :-)

Is there an easy way to set axis range in the plot? For instance, how to set an arbitrary X and Y ranges in your example:

Code: Select all

res.plot('burnup', ['absKeff', 'colKeff'])
I tried some syntax from matplotlib, but to no avail. Thanks.
by ondrejch
Thu Mar 30, 2017 6:29 am
Forum: Bugs, problems, questions & feeback
Topic: [reprocessing] Issue with type 2 flows
Replies: 21
Views: 53056

Re: [reprocessing] Issue with type 2 flows

Hi Jaakko, it appears the outputs are the same. The line numbers in the source files do not match though, here is ours (updated) makeburnmatrixmsr.c lines 795-808: if (ZAI == -1) { vec[j] = vec[j] + rr*RDB[iso1 + COMPOSITION_ADENS]/tot/ RDB[mat2 + MATERIAL_VOLUME]/RDB[mat1 + MATERIAL_ADENS]; vec[i] ...
by ondrejch
Fri Mar 24, 2017 5:16 pm
Forum: Bugs, problems, questions & feeback
Topic: Dump power in all cells?
Replies: 4
Views: 10000

Re: Dump power in all cells?

Thanks Jaakko. For future reference - I understand that if the lattice cells has sections of the same material which need different MP parameters, one can just define them in CSG as different materials (graphite1, graphite2, ...) and feed the parameters via separate MP interface file for each of the...
by ondrejch
Fri Mar 24, 2017 5:08 am
Forum: Bugs, problems, questions & feeback
Topic: Dump power in all cells?
Replies: 4
Views: 10000

Re: Dump power in all cells?

Thanks Jaakko. I am wondering how to pass the cell-by-cell temperature information back using the multiphysics interface. I do not want to mesh the geometry since that seems not appropriate for the problem - the CSG geometry seems to work best.