Coder Social home page Coder Social logo

plugin-mcnp's Introduction

.github/workflows/ant.yml

Funz plugin: MCNP

This plugin is dedicated to launch MCNP calculations from Funz. It supports the following syntax and features:

  • Input

    • file type supported: any MCNP standard input file
    • parameter syntax:
      • variable syntax: %(...)
      • formula syntax: @{...}
      • comment char: C (note that it holds two chars)
    • example input file:
      Godiva-type critical reactor and kcode example
      c skip 10 and run a total of 110 keff cycles with 1000 neutrons per cycle
       1    1  -18.74  -1  imp:n=1   $ enriched uranium sphere (godiva)
       2    0           1  imp:n=0   $ all space outside the sphere
      
       1    so %(r~8.741)                 $ radius of the godiva sphere
      
       kcode 1000 1.0 10 1010         $ kcode defines a criticality calculation
       ksrc  0 0 0                   $ initial keff spatial dist is point at origin
       m1    92235 -93.71  92238 -5.27  92234 -1.02  $ define u with weight fractions
      
      • will identify input:
        • r, expected to be around 8.71
  • Output

    • file type supported: '*o'
    • read criticality values printed
    • example output file:
      ...
      
       -----------------------------------------------------------------------------------------------------------------------------------
       |                                                                                                                                 |
       | the final estimated combined collision/absorption/track-length keff = 0.99946 with an estimated standard deviation of 0.00063   |
       |                                                                                                                                 |
      ...
      
      • will return output:
        • mean_keff=0.99946
        • sigma_keff=0.00063

Analytics

plugin-mcnp's People

Contributors

yannrichet avatar

Watchers

 avatar  avatar

Forkers

1qqd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.