ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Output Analysis of MCNP Code with Matlab
This is simple program that me and one of my best friend was wrote it and it's for surface flux and variation in parameters that i mentioned them bellow
First Download my program
ابتدا برنامه را دانلود کنید
نکته : من این برنامه را برای تحلیل رفتار فوتونها و الکترون ها نوشته ام
with the help of this program you can read more output as you can see in bellow picture and analysis them very easily at the lowest time - just it take some seconds 2 or less than it and then work with data in matlab or copy them where you prefer for analysis mathematica , origin lab , excel and so on
مزیت ها : با استفاده از این برنامه میتوانیم تعداد زیادی از خروجی های mcnpx را در یک پوشه قرار داد سپس انها را در مدت چند ثانیه تحلیل کرد
در این برنامه این تحولات بررسی میشود
bremsstrahlung و p-annihilation و photonuclear و electron x-rays و 1st fluorescence و 2nd fluorescence و (gamma,xgamma) و compton scatter و escape و capture و pair production و compton recoil و photo-electric و photon auger و electron auger و knock-on و (gamma,xelectron) و scattering
-------------------------------------------------
نمایی از دایرکتوری و پوشه فایل های من
This my directory view
matlab را اجرا کنید و مانند زیر یک فایل جدید ایجاد کنید
start matlab and set a new file
فایل دانلود شده را به پنجره زیر بکشید
drag and drop my file [my download] in this environment / look at bellow picture
بقیه در ادامه مطالب
click this message to see complete note
نکته توجه کنید که فایل ها را به شکل ذکر شده تبدیل کنید
remember that i manage outputs in this form
outp1 , outp2 , ... , outpk
سپس پنجره زیر را خواهید دید
then you will see this message after running
نکته حتما تعداد فایل هایتان را با مقدار k هماهنگ کنید
k is the maximum number of your output file
سپس به دایرکتوری بروید
then go to the directory and
سپس خواهیم داشت
سپس به matlab بر میگردیم و مراحل زیر را انجام میدهیم
return to matlab and follow pictures
سپس صفحه زیر باز میشود
then you will see the bellow window
سپس فایل 11 را انتخاب کنید
select the text file- here it is 11
یا بصورت دیگر داریم
or in another way
همچنین میتوانید جدول را کپی کرده و در origin lab ان را تغییر دهید
also you can copy the table and past it in another program like origin lab or excel