New mesh plotter capabilities

This category replaces the missing input manual

Re: New mesh plotter capabilities

Postby Ville Valtavirta » Wed Jun 13, 2018 12:37 pm

Hi,

have you used python previously?

Your error doesn't sound like a python-error.

-Ville
Ville Valtavirta
 
Posts: 281
Joined: Fri Sep 07, 2012 1:43 pm

Re: New mesh plotter capabilities

Postby Vincenzo Romanello » Wed Jun 13, 2018 4:45 pm

No, I never used python - but I just tried to follow instructions...

Would it be possible to explain the procedure step by step in a proper wiki page? It would help a lot...

Thanks,

Vincenzo
Vincenzo Romanello
 
Posts: 8
Joined: Tue May 29, 2018 11:37 am

Re: New mesh plotter capabilities

Postby Ville Valtavirta » Thu Jun 14, 2018 10:45 am

I don't think we will be writing much of an user guide for third party tools. You can probably contact the developers of the serpent-tools package for more information if the documentation of the package is not enough.

Another option would be to stick with OCTAVE/MATLAB if you are more familiar with those tools.

I would imagine the serpent-tools python module will require some familiarity with Python in the first place just to be able to understand all the basics.

-Ville
Ville Valtavirta
 
Posts: 281
Joined: Fri Sep 07, 2012 1:43 pm

Re: New mesh plotter capabilities

Postby Vincenzo Romanello » Thu Jun 14, 2018 11:05 am

I am much more familiar with Octave, and in fact I tried to represent the flux map, but with indeed modest results.

Would you consider to share a simple octave script - if you have it - which can plot the outcome of detectors and/or maps?

Doing it with MCNP is straightforward, while in Serpent this feature is really missing a lot... Of course, pictures produced by the code but without a reliable legend and values scales is more or less useless in my opinion - and that's indeed a pity, because I am experiencing that Serpent, especially for some particular geometries, is much more efficient than other codes.

Vincenzo
Vincenzo Romanello
 
Posts: 8
Joined: Tue May 29, 2018 11:37 am

Re: New mesh plotter capabilities

Postby Ville Valtavirta » Thu Jun 14, 2018 12:28 pm

Ville Valtavirta
 
Posts: 281
Joined: Fri Sep 07, 2012 1:43 pm

Re: New mesh plotter capabilities

Postby mardussa » Mon Oct 08, 2018 5:40 am

Hi Ville,

I too have been trying to learn about post-processing serpent simulations, and have worked through the examples on the wiki. Something that I found was when I attempt to run the octave scripts I end up getting segfaults, and octave exits (with signal 11, which I have tried looking up a fix too but couldn't find a solution). When I make changes to the octave scripts so that they are in Matlab syntax I manage to get them to work (most of the time).

I suppose this isnt a huge problem as I am able to post-process and continue learning, but I was wondering if you or anyone else had seen this before. I would assume that octave would work seeing as all of the example scripts are written for octave.

Kind regards,
Robert
mardussa
 
Posts: 4
Joined: Tue Jul 25, 2017 3:32 am

Re: New mesh plotter capabilities

Postby Ville Valtavirta » Mon Oct 08, 2018 2:58 pm

Hi,

I have experienced some crashes with OCTAVE that seemed to be related to the display driver (crashes happened when plotting), but can't really offer much advice for OCTAVE.

-Ville
Ville Valtavirta
 
Posts: 281
Joined: Fri Sep 07, 2012 1:43 pm

Re: New mesh plotter capabilities

Postby mardussa » Wed Oct 10, 2018 1:38 am

Thank you Ville,
I'll continue on with Matlab for now, and also try to determine if the Octave crashes for me are also related to plotting.
Regards,
Robert

EDIT: Crashes were caused when attempting to print the plots to file. Using gnuplot for graphics overcame this issue:
Code: Select all
graphics_toolkit ("gnuplot")

Not sure if it will help anyone else but it worked for me.
mardussa
 
Posts: 4
Joined: Tue Jul 25, 2017 3:32 am

Previous

Return to Input

Who is online

Users browsing this forum: No registered users and 3 guests

cron