-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beginners quide, FAQ, examples? #159
Comments
Hello,
You can find several examples of working input files in the tests directory, and you are invoking NJOY correctly. The particular error you are getting is because input lines with strings must be terminated with a “/”, which you are missing from the first such line under reconr.
This website is an old resource, but all the information should still be pertinent despite references to older versions of NJOY. I find it’s often easier than the manual for new users to understand:
https://t2.lanl.gov/nis/njoy/
…--Nathan
From: erosenst ***@***.***>
Reply-To: njoy/NJOY21 ***@***.***>
Date: Tuesday, March 15, 2022 at 12:43 AM
To: njoy/NJOY21 ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [EXTERNAL] [njoy/NJOY21] Beginners quide, FAQ, examples? (Issue #159)
Hello is it possible to add some runable examples in sources directory? (simple .sh with input file?)
I'm currently stuck point where tests gone 100% ok. But how inport/define my endf library to njoy21? Simple commandline example?
I just try simple njoy21 -i input.txt but got:
[error] Encountered unexpected argument
[info] Error while parsing line 8
’PENDF tape for ENDFB-6.8 92235(0)’
input.txt
moder
1 -21
*PENDF tape for ENDFB-6.8 92235(0)*/
20 9228
0/
reconr
-21 -22
’PENDF tape for ENDFB-6.8 92235(0)’
9228 1 0 /
.001/
’92235(0) from ENDFB-6.8’/
0/
broadr
-21 -22 -23
9228 1/
.001/
600/
0/
stop
So I just try dithering resolution.. Is there any hidden commandline switches or enviroment variables to define where to look input file?
Or simple explanation how to use that program..
This is possibly explained somewhere in manual but not yet find it..
Thank you.
—
Reply to this email directly, view it on GitHub<#159>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAK6KQ5OQJKM7DDS47WT5ZTVAAWSTANCNFSM5QXWPGLA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thank you for reply. I found by strace that it looks input file in same directory and ln -s library file to working dir.'tape20' Then try some more complicated and stuck to thermr: [info] Mat Number: 9228 [error] Encountered invalid value for mtref 0 9228 8 1 1 0 1 221 2
|
That was just case. njoy21 have ten variables in thermr card 2: |
Hi. NJOY2012 actually modified the NJOY input for card 2 in THERMR - which is causing your issue. It added the iform argument between icoh and natom:
This is what is currently in the NJOY2016 manual and in the NJOY2016 source code. Best regards, |
Hello is it possible to add some runable examples in sources directory? (simple .sh with input file?)
I'm currently stuck point where tests gone 100% ok. But how inport/define my endf library to njoy21? Simple commandline example?
I just try simple njoy21 -i input.txt but got:
[error] Encountered unexpected argument
[info] Error while parsing line 8
’PENDF tape for ENDFB-6.8 92235(0)’
The text was updated successfully, but these errors were encountered: