Write Each Branch to a Different *_res.m file?

Everything else here, including comments about the website and this forum

Write Each Branch to a Different *_res.m file?

Postby lkissin2 » Wed Aug 01, 2018 9:16 pm

Hello Forum,

I would like to send the output of each branch to a unique file. I am using the post-processing code GenPMAXS to make cross section files for the transient code PARCS. For some reason, GenPMAXS requires each branch calculation to come from a unique *_res.m file. Is it possible to write one deck for SERPENT2 version 2.1.30 to do this, or should I write one deck for each branch case that interests me (eg 6 files with fuel at 300, 600, 900, 1200, 1500, 1800 degrees)?

Thanks in advance for any help!
lkissin2
 
Posts: 3
Joined: Fri Jun 22, 2018 11:01 pm

Re: Write Each Branch to a Different *_res.m file?

Postby Ville Valtavirta » Fri Aug 03, 2018 3:13 pm

Serpent will output all branches of one calculation to the same _res.m file.

You'll either have to run the different branches separately or split the _res.m file into multiple files after the simulation.

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

Re: Write Each Branch to a Different *_res.m file?

Postby Jaakko Leppänen » Thu Aug 30, 2018 9:22 am

The _res.m is written by matlaboutput.c. You can modify the the routine in such way that the coefficient calculation index (DATA_COEF_CALC_RUN_IDX) is included in the file name.
- Jaakko
User avatar
Jaakko Leppänen
Site Admin
 
Posts: 1989
Joined: Thu Mar 18, 2010 10:43 pm
Location: Espoo, Finland


Return to Misc. topics

Who is online

Users browsing this forum: No registered users and 2 guests

cron