Code Monkey home page Code Monkey logo

fermi's Introduction

README

Fermi is a code made for studying the physical behavour of nuclear reactors and to perform a design of them.

It solves an eigenvalue problem corresponding to the steady state multigroup diffusion equation, which is an aproximation of the Boltzman Transport Equation. This aproximation is only valid in materials were the relation between absortion and scattering collision of neutrons is small.

Macroscopic cross sections should be provided in order to solve the equations in the domain. They may become from a lattice cell homogenization, and possibly, a condensation to few groups in order to decrease the computational effort.

To perform calculations and solve the problem, Fermi take advantage of the finite element method to discretizise the equations. With this technique, the code is capable of solving the problem over unstructured 3d meshes.

The design of Fermi was aim to be a very simple and easy understanding code. The input is a 1d, 2d or 3d mesh that should be generated with gmsh code and an ASCII file with a particular format which contains information about the cross sections of each material that exist in the domain. The output is a VTK file which contains the solution of the problem (the scalar flux) and the a file containing the eigenvalue of multiplication factor "keff" of the problem.

Instalation

For reading this text in a pdf format do:

pandoc README.md -V geometry:margin=.5in --latex-engine=xelatex -o README.pdf

###PETSC library

Download it from www.mcs.anl.gov/petsc and do:

###SLEPc library:

Download it from http://slepc.upv.es and do:

###Compilation:

In fermi/ directory do:

   make

For coupling do:

   cd lib/PLEPP
   ./RUNNER.sh
   cd..
   make PLEPP=1

###Input Structure:

$Mesh 
    mesh_file   fuel_1.msh
$EndMesh 

$Mode
  timedep QSTATIC 
  p0 2.5e6  
  t0 0.0
  tf 0.15
  dt 0.05
$EndMode

$Xs
  egn 1
  #          F D   XA  nXF  eXF CHI
  "FUEL_Z1"  0 1.5 0.2   0.5  0.4 1.0
  "FLUID_Z1" 0 1.5 0.005 0.0  0.0 1.0
$EndXs

$Boundary
  "TOP_SURF"    1 0
  "BOT_SURF"    2 0
  "LAT_SURF"    3 1
$EndBoundary

$Output
  # Power in physical entities
  kind 2
  file pow_phys.dat
  nphy 2
  "FUEL_Z1" "FLUID_Z1"
$EndOutput

$Communication
  kind   1
  friend control
  nphy   2
  "FUEL_Z1" "FLUID_Z1"
$EndCommunication

The future

Paralelization and performance evaluation

  • Benchmarking

  • Documentation

Guido Giuntoli - [[email protected]]

fermi's People

Contributors

fedecaccia avatar gagiuntoli avatar

Watchers

 avatar  avatar

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.