Giter Club home page Giter Club logo

feltor-dev / feltor Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 18.0 22.74 MB

Numerical methods for edge and scrape-off layer blob and turbulence simulations. Homepage:

Home Page: http://feltor-dev.github.io

License: MIT License

Shell 0.04% Makefile 0.58% Cuda 23.88% C++ 67.79% C 0.09% Python 0.04% TeX 7.58%
discontinuous-galerkin gpu openmp computational-physics computational-fluid-dynamics numerical-simulations plasma-turbulence cuda c-plus-plus numerical-methods

feltor's People

Contributors

albertbsc avatar aslakp avatar e3reiter avatar henrikjantti avatar leinkemmer avatar mrheld avatar mwiesenberger avatar raulgerru avatar rkube avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

feltor's Issues

multigrid

Multigrid should cancel when the solution is already the input vector

Boundary condition mishap in feltorSesol

I'm running the feltorSesol code with the following input.json:
{
"n" : 3, //# x-y-polynomials
"Nx" : 224, //# grid points in x
"Ny" : 224, //# grid points in y
"dt" : 0.0125, //time step in units of c_s/rho_s
"n_out" : 3, //# x-y polynomials in output
"Nx_out" : 224, //# grid points in x in output fields
"Ny_out" : 224, //# grid points in y in output fields
"itstp" : 1000, //steps between outputs
"maxout" : 1000, //# outputs excluding first
"eps_pol" : 1e-5, //accuracy of polarisation solver
"eps_gamma" : 1e-6, //accuracy of Gamma
"eps_time" : 1e-12, //accuracy of implicit time-stepper
"mu_e" : -0.000272121, // -m_e/m_i zb (-0.000544617,-0.000272121,-0.000181372 )
"curvature" : 1.5e-4, //magnetic curvature
"tau" : 1.0, //Ti/Te
"nu_perp" : 2.5e-3, //pependicular viscosity
"D" : 5.0e-11, //coupling (D ~ curvature^2)
"C" : 2.5e-6, //Parallel Resistivity (D lx/d)
"l_para" : 1e6 , //parallel Length (
2 pi q / mcv)
"amplitude" : 2.5e-2, //amplitude of the blob
"sigma" : 2.5, //blob variance in units of rho_s
"posX" : 0.3333, //blob x-position in units of lx
"posY" : 0.5, //blob y-position in units of ly
"prof_amp": 4.0, //Profile amplitude
"bg_prof_amp" : 1.0, //Background Prof amplitude
"lx" : 200, //lx in units of rho_s
"ly" : 200, //ly in units of rho_s
"bc_x" : "DIR_NEU", //boundary condition in x
"bc_y" : "PER", //boundary condition in y
"bc_x_pot": "DIR_NEU", //boundary condition in x for phi
"hwmode": 1, // ordinary/modified HW (0/1)
"ln": 100, //gradient length (in rho_s)
"SOL_b" : 0.3, //SOL boundary in units of lx (>1 no SOL)
"prof_source_rate" : 0.1 , //profile source rate in units c_s/rho_s
"source_b" : 0.1666666, //source dampingb in u of lx (<1 no Source)
"source_damping_width" : 0.5, //sink, sol and edge damping width
"prof_sink_rate" : 0.1 , //profile source rate in units c_s/rho_s
"sink_b" : 0.8, //sink dampingb in u of lx (<1 no Source)
"damping_width" : 0.5 //source, sink, sol and edge damping width
"fluxmode" : 0 // "gradient" driven (0), flux driven (1)
}

It throws an error:
-bash-4.1$ ./feltor_mpi input.json out.nc
terminate called after throwing an instance of 'dg::Ooops'
what(): No matching boundary condition!

Any ideas?

doxygen navigation bar

there seems to be an error in the display of the header navigation bar of the doxygen documentation

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.