dolfinx
pykokkos
dolfinx | pykokkos | |
---|---|---|
18 | 2 | |
777 | 104 | |
5.0% | 3.8% | |
9.7 | 8.7 | |
3 days ago | about 2 months ago | |
C++ | Python | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dolfinx
- What's your main programming language?
-
rodin alternatives - mfem and FreeFem-sources
7 projects | 8 Mar 2023
-
Learn PDE constrained optimization
One thing that is a pain when learning this stuff is that actually performing the optimization requires a good understanding of the numerical discretization of PDEs. Finite elements are a natural choice because it is very easy to characterize the adjoint with this formulation. There are some good free tools that you can use to actually learn and do some computations yourself. The first is hIPPYlib (paper, code), which is built on top of FEniCS (link), for which there are many good tutorials. Beware trying to install this on Windows though. You will need to work in Docker or in Ubuntu via Windows Linux Subsystem.
-
Open source FEA tools instead of ANSYS Workbench and APDL
If you're ok with coding, fenics is a solid place to start. Also if you're comfortable with coding, openfoam is FVM, rather than FEM, but it can handle solidmechanics.
-
Eighty Years of the Finite Element Method: Birth, Evolution, and Future
> FEniCs made FEM so easy
https://fenicsproject.org/
Indeed, was blown away when I saw it for the first time over a decade ago, compared to the convoluted C++ FEM libraries I had seen before that.
-
Best Python package(s) to solve PDEs numerically?
Have you looked at FEniCS? Pretty much everything else I'm aware of is probably overkill (e.g., MOOSE in C++, HYPRE's Python bindings, etc.)
-
Open-source FEA software
FEniCSx is quite good.
-
The Julia language has a number of correctness flaws
You mean Python? For many research tasks it's fine. High level libraries let you define your computation in a minimal amount of code. FEniCS is a great example of this - underneath it compiles the abstracted high level stuff to calls to low-level libraries that do the heavy lifting. For many applications you can just write vectorized code with Numpy that performs well, or use Numba to JIT what you can't vectorize. For some tasks, however, you need interfaces that don't exist in the high level libraries, and that was the case for me.
-
What's a good book to learn to numerically solve ODEs and PDEs in python?
I just came across FEniCSX. I’m not sure if it’s what you want but here’s the description:
-
Okay, let's end this Tabs vs Space debate once and for all
Fenics: Very popular finite element framework “UseTab: Never” https://github.com/FEniCS/dolfinx/blob/main/.clang-format
pykokkos
-
A new software
I see more and more Pythonic solvers due to JIT and similar techniques (Disclaimer: I don't use them to make solvers). This is an old diagram what you can use in your implementation. As I use Kokkos for two of my projects, I find attractive this new pykokkos thing. But there are specific libraries (dialects?) for numerics: like Taichi, Fenics and DOLFINx, etc.
-
pykokkos-base available in PyPi (numpy and cupy array interoperability)
Making these bindings available was a critical step in the progress toward writing Kokkos in native Python via pykokkos, which is currently available for Linux + Python 3.8 + GCC 7.5 + CUDA 10.2 toolchains.
What are some alternatives?
Gridap.jl - Grid-based approximation of partial differential equations in Julia
kokkos - Kokkos C++ Performance Portability Programming Ecosystem: The Programming Model - Parallel Execution and Memory Abstraction
mfem - Lightweight, general, scalable C++ library for finite element methods
kokkos-python - Python bindings for data interoperability with Kokkos (View, DynRankView)
taichi - Productive, portable, and performant GPU programming in Python.
ModelingToolkit.jl - An acausal modeling framework for automatically parallelized scientific machine learning (SciML) in Julia. A computer algebra system for integrated symbolics for physics-informed machine learning and automated transformations of differential equations
libmesh - libMesh github repository
FreeFem-sources - FreeFEM source code
rodin - Modern C++20 finite element method and shape optimization framework.
seed7 - Source code of Seed7
moose - Multiphysics Object Oriented Simulation Environment