All Projects → gridap → Gridap.jl

gridap / Gridap.jl

Licence: mit
Grid-based approximation of partial differential equations in Julia

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to Gridap.jl

FinEtools.jl
Finite Element tools in Julia
Stars: ✭ 126 (-37.31%)
Mutual labels:  finite-elements, numerical-methods
AsFem
A Simple Finite Element Method program (AsFem)
Stars: ✭ 108 (-46.27%)
Mutual labels:  finite-elements, numerical-methods
raccoon
Massively parallel FEM code for phase-field for fracture by Dolbow Lab at Duke University
Stars: ✭ 21 (-89.55%)
Mutual labels:  finite-elements, numerical-methods
Python Bigdata
Data science and Big Data with Python
Stars: ✭ 112 (-44.28%)
Mutual labels:  numerical-methods
Probnum
Probabilistic Numerics in Python.
Stars: ✭ 115 (-42.79%)
Mutual labels:  numerical-methods
Polyfem
A polyvalent C++ FEM library
Stars: ✭ 147 (-26.87%)
Mutual labels:  finite-elements
Findiff
Python package for numerical derivatives and partial differential equations in any number of dimensions.
Stars: ✭ 191 (-4.98%)
Mutual labels:  numerical-methods
Brieffiniteelement.net
BriefFiniteElementDotNET (BFE.NET) is a library for linear-static Finite Element Method (FEM) analysis of solids and structures in .NET
Stars: ✭ 81 (-59.7%)
Mutual labels:  finite-elements
Ngsolve
Netgen/NGSolve is a high performance multiphysics finite element software. It is widely used to analyze models from solid mechanics, fluid dynamics and electromagnetics. Due to its flexible Python interface new physical equations and solution algorithms can be implemented easily.
Stars: ✭ 171 (-14.93%)
Mutual labels:  finite-elements
Solidspy
2D-Finite Element Analysis with Python
Stars: ✭ 142 (-29.35%)
Mutual labels:  finite-elements
Polymath
Scientific Computing with Pharo
Stars: ✭ 135 (-32.84%)
Mutual labels:  numerical-methods
Pynite
A 3D structural engineering finite element library for Python.
Stars: ✭ 123 (-38.81%)
Mutual labels:  finite-elements
Pytda
Topological Data Analysis in Python
Stars: ✭ 156 (-22.39%)
Mutual labels:  numerical-methods
Dmsh
Simple mesh generator inspired by distmesh.
Stars: ✭ 113 (-43.78%)
Mutual labels:  finite-elements
Quant Notes
Quantitative Interview Preparation Guide, updated version here ==>
Stars: ✭ 180 (-10.45%)
Mutual labels:  numerical-methods
Calculonumerico
Escrita colaborativa de recursos educacionais abertos sobre cálculo numérico.
Stars: ✭ 90 (-55.22%)
Mutual labels:  numerical-methods
Riemann book
An interactive book about the Riemann problem for hyperbolic PDEs, using Jupyter notebooks. Work in progress.
Stars: ✭ 160 (-20.4%)
Mutual labels:  numerical-methods
Gonum
开源Go语言数值算法库(An open numerical library purely based on Go programming language)
Stars: ✭ 128 (-36.32%)
Mutual labels:  numerical-methods
Core
parallel finite element unstructured meshes
Stars: ✭ 124 (-38.31%)
Mutual labels:  finite-elements
Sparselizard
C++ FEM library | user-friendly | multi-physics | hp-adaptive
Stars: ✭ 145 (-27.86%)
Mutual labels:  finite-elements

Documentation
Build Status
Build Status Codecov
Community
Join the chat at https://gitter.im/Gridap-jl/community
Citation
DOI

What

Gridap provides a set of tools for the grid-based approximation of partial differential equations (PDEs) written in the Julia programming language. The library currently supports linear and nonlinear PDE systems for scalar and vector fields, single and multi-field problems, conforming and nonconforming finite element (FE) discretizations, on structured and unstructured meshes of simplices and n-cubes. Gridap is extensible and modular. One can implement new FE spaces, new reference elements, use external mesh generators, linear solvers, post-processing tools, etc. See, e.g., the list of available Gridap plugins.

Gridap has a very expressive API allowing to solve complex PDEs with very few lines of code. The user can write the underlying weak form with a syntax almost 1:1 to the mathematical notation, and Gridap generates an efficient FE assembly loop automatically by leveraging the Julia JIT compiler. For instance, the weak form for an interior penalty DG method for the Poisson equation can be specified simply as:

a(u,v) =
  ( (v)⋅∇(u) )* +
  ( (γ/h)*v*u - v*(n_Γ⋅∇(u)) - (n_Γ⋅∇(v))*u )* +
  (
    (γ/h)*jump(v*n_Λ)⋅jump(u*n_Λ) -
    jump(v*n_Λ)⋅mean((u)) -
    mean((v))⋅jump(u*n_Λ)
    )*

l(v) =
  ( v*f )* +
  ( (γ/h)*v*u - (n_Γ⋅∇(v))*u )*

See the complete code here. As an example for multi-field PDEs, this is how the weak form for the Stokes equation with Neumann boundary conditions can be specified:

a((u,p),(v,q)) =
  ( (v)⊙∇(u) - (∇⋅v)*p + q*(∇⋅u) )*

l((v,q)) =
  ( v⋅f + q*g )* +
  ( v⋅(n_Γ⋅∇u) - (n_Γ⋅v)*p )*

See the complete code here.

Documentation

  • STABLEDocumentation for the most recently tagged version of Gridap.jl.
  • DEVELDocumentation for the in-development version of Gridap.

Tutorials

A hands-on user-guide to the library is available as a set of tutorials. They are available as Jupyter notebooks and html pages.

Installation

Gridap is a registered package in the official Julia package registry. Thus, the installation of Gridap is straight forward using the Julia's package manager. Open the Julia REPL, type ] to enter package mode, and install as follows

pkg> add Gridap

Plugins

Examples

These are some popular PDEs solved with the Gridap library. Examples taken from the Gridap Tutorials.

Poisson equation Linear elasticity Hyper-elasticity p-Laplacian
Poisson eq. with DG Darcy eq. with RT Incompressible Navier-Stokes Isotropic damage

Gridap community

Join to our gitter chat to ask questions and interact with the Gridap community.

Contributing to Gridap

Gridap is a collaborative project open to contributions. If you want to contribute, please take into account:

  • Before opening a PR with a significant contribution, contact the project administrators, e.g., by writing a message in our gitter chat or by opening an issue describing what you are willing to implement. Wait for feed-back.
  • Carefully read and follow the instructions in the CONTRIBUTING.md file.
  • Carefully read and follow the instructions in the CODE_OF_CONDUCT.md file.
  • Open a PR with your contribution.

Want to help? We have a number of issues waiting for help. You can start contributing to the Gridap project by solving some of those issues.

How to cite Gridap

In order to give credit to the Gridap contributors, we simply ask you to cite the refence below in any publication in which you have made use of Gridap packages:

@article{Badia2020,
  doi = {10.21105/joss.02520},
  url = {https://doi.org/10.21105/joss.02520},
  year = {2020},
  publisher = {The Open Journal},
  volume = {5},
  number = {52},
  pages = {2520},
  author = {Santiago Badia and Francesc Verdugo},
  title = {Gridap: An extensible Finite Element toolbox in Julia},
  journal = {Journal of Open Source Software}
}

Contact

Please, contact the project administrators, Santiago Badia and Francesc Verdugo, for further questions about licenses and terms of use.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].