(ngs)xfem is an Add-on library to Netgen/NGSolve for unfitted/cut FEM.
Project description
Documentation
A preliminary collection of documentation (demos, tutorials, mini API) can be found here.
A simple doxygen collection of NGSolve
, ngsxfem
and ngstrefftz
C++ API can be found here.
About ngsxfem
ngsxfem
is an add-on library to the finite element package Netgen/NGSolve which enables the use of unfitted finite element technologies known as XFEM, CutFEM, TraceFEM, Finite Cell, ... . ngsxfem
is an academic software. Its primary intention is to facilitate the development and validation of new numerical methods for partial differential equations.
The features of ngsxfem
The main features of ngsxfem
are:
- Tools to work on a subset of the triangulation, the "active mesh" only
- Numerical integration on geometries that are (implicitly) described through level set functions.
- Higher order representation of level set geometries
- Space-Time Finite Elements for the treatment of moving domain problems
- All these features combined with the usual flexibility and power of NGSolve.
ngsxfem
has been used in a variety of applications. In the document doc/feature-details.md (see also compiled pdf ) more details on the features is given and in doc/literature.md (see also literature ) an overview of the scientific literature where ngsxfem
is used is provided.
Not all features of ngsxfem
and NGSolve
can directly be combined. Here is an overview of ngsxfem
and NGSolve
features and if they can directly be combined:
Features ⇲ | CFE |
XFE |
DG |
Iso |
MLS |
ST |
Gh |
Ag |
Hex |
Tet |
MPI |
---|---|---|---|---|---|---|---|---|---|---|---|
CFE : CutFEM form. |
/ | / | y | y | y | y | y | y | y | y | y |
XFE : XFEM formulation |
/ | / | y | y | n | n | y | n | y | y | y |
DG : Discont. Galerkin |
y | y | / | y | n | y | y | y | y | y | n |
Iso : isoparametric map |
y | y | y | / | n | y | y | y | y | y | y |
MLS : multiple level set |
y | n | n | n | / | n | y | y | n | y | y |
ST : space-time FEM |
y | n | y | y | n | / | y | n | y | y | y |
Gh : Ghost penalty |
y | y | y | y | y | y | / | / | y | y | n |
Ag : Agg. FEM |
y | n | y | y | y | n | / | / | y | y | n |
Hex : quads / hexes |
y | y | y | y | n | y | y | y | / | / | y |
Tet : trigs./tets |
y | y | y | y | y | y | y | y | / | / | y |
MPI : MPI |
y | y | n | y | y | y | n | n | y | y | / |
Some of the nos are work in progress and some have not been considered so far. If you need a certain combination to work, please contact us and we will see what we can do.
Examples and Documentation
We provide two main sources with which to learn how to use ngsxfem
:
- At https://github.com/ngsxfem/ngsxfem-jupyter you can find tutorial-style jupyter notebooks for
ngsxfem
. These explain the core functionalities and usage of the tools provided byngsxfem
. You can run those tutorials interactively (without the need of a local installation) through binder. - In the demos-directory we provide several examples that demonstrate the usage of
ngsxfem
features. See demos/README.md for details.
Installation
We provide installation instructions for building/installing through pip
and building/installing from sources in INSTALLATION.md. Further, a docker image is available which can be used to run ngsxfem
through docker.
List of contributing authors
Major contributions:
- Christoph Lehrenfeld (main author)
- Fabian Heimann (cut integration, space-time, AggFEM)
- Henry von Wahl (multiple levelsets, mac support, AggFEM)
- Janosch Preuss (space-time)
- Thomas Ludescher (multigrid)
- Paul Stocker (CI, docu, builds, AggFEM)
Additional contributions:
- Pedro Costa Klein (CI, docu)
- Maximilian Zienecker (SIMD, CI)
Community guidelines
If you observe any problems with the software / examples / documentation / installation or want to contribute, you can get in touch with us through either:
- the github issue tracker
- the NGSolve user forum.
Citing
If you use ngsxfem
for academic work, please consider citing our publication:
C. Lehrenfeld, F. Heimann, J. Preuß and H. von Wahl
ngsxfem: Add-on to NGSolve for geometrically unfitted finite element discretizations
Journal of Open Source Software, 6(64), 3237,
https://doi.org/10.21105/joss.03237
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for xfem-2.1.2405.dev1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f5d2a8d571377471afe9808c8be95690a4c00b5bd7ca7a922e815a0a4314ee |
|
MD5 | 73c9cece6ccbb2c588ebe2c0d32568d2 |
|
BLAKE2b-256 | 9aa5ae1d95f2ab4c3f0c819c9ab671d9439a96c05f0425133578433de8fc320c |
Hashes for xfem-2.1.2405.dev1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc9e2d65bb8b079d70407ba3a99f512399fd501b25ccb0ac827b2abbc8c570d |
|
MD5 | 9bfea54a49c17402dc165f78ed0b903d |
|
BLAKE2b-256 | 08e7a42efb6d6a2c949ee315255c9606c95ab372b3b7af91bbec32d49d5776ac |
Hashes for xfem-2.1.2405.dev1-cp312-cp312-macosx_10_15_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a2cd79a510553a0d8fa32d7595749faa3684c6a56c5d483daec6c782c0ec07 |
|
MD5 | 252eb6b9a2263f94322157cfdba9657a |
|
BLAKE2b-256 | 5d1ca4dd128d091373c37f750cfe987bf64352f6b091e34fcb9a501d8f719e84 |
Hashes for xfem-2.1.2405.dev1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c17ecdd3bdce654d19a356e29ece8eed787b4b3e7d9d479f84335999333cebf7 |
|
MD5 | a25b2563c27ab18880444e8ea5f49e3e |
|
BLAKE2b-256 | 4385908d3d39dc05cd9e6f1a12b611cdbbb82e012490433d3ddea5a424d89e0e |
Hashes for xfem-2.1.2405.dev1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1074bb323522996fcaee18342a987b4203d4420126d9c4df499bbc30bf112f63 |
|
MD5 | c8022b2e6fe1d70f3cafb76d21bb337f |
|
BLAKE2b-256 | 1895bbf2cafe2648c554a561d108017474a7ddc8c7b3d70e0d53dbb906a2a86d |
Hashes for xfem-2.1.2405.dev1-cp311-cp311-macosx_10_15_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5cc28271d22d57852ab4aa4c88e88da1c341e26bd6aae9c48ab4a9c17e16369 |
|
MD5 | ed89aea2a766f0cb02bfa1b7c5344c82 |
|
BLAKE2b-256 | 16acb814eda0d327b9a0f078127cf889f0c51e02913d437d9b9daa1a134adc5b |
Hashes for xfem-2.1.2405.dev1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b664d5751b40dc41a68e1d5b9d43a9e3eccafd4e2152f8097cce396d5c07c9e3 |
|
MD5 | e98f82aacb411b7673bd5c4fcf616898 |
|
BLAKE2b-256 | 910ed2d7082f9094eab5caf1ae3109b98688458ec19ec42fa02d660353b6ff5a |
Hashes for xfem-2.1.2405.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc0f7146de4f117b9f5a5fb81e3f73cc9d7a6235dc33217d91e634240c97ffe |
|
MD5 | 7da10737a41fe007c56703b0629fc19b |
|
BLAKE2b-256 | b327efef52c1a0230c5376a60c196d982bfb4d370184f0b08298b25b372350e9 |
Hashes for xfem-2.1.2405.dev1-cp310-cp310-macosx_10_15_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c207b20ac7843ad62646e3cfb00bc6dc1d48aa49b75b0ff70e69fafb359d55c |
|
MD5 | 3c488d157f4a1c24f666b1f93101db18 |
|
BLAKE2b-256 | 91b9b676145c433f4149e30fca844f943dc2f12f254e847493ebb61f7290fc84 |
Hashes for xfem-2.1.2405.dev1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068c8268ea1c0ac20542dec2c7d1ea824fd8927b563dc59878a1f50c0289095e |
|
MD5 | 5d1c7ffffdf35b85e5aefebf400fc133 |
|
BLAKE2b-256 | a818270c298534521f82b6df501b8ecf3fa1411a92f4e934ac405144dc9d7d22 |
Hashes for xfem-2.1.2405.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9a24105b2109554225f84d151df464822eca7a740c27344e22baebe7d82de3 |
|
MD5 | e8945ebd48e1e64b0582ab88048d27c8 |
|
BLAKE2b-256 | 0604699a4a28c76c6f86f41d7d4e95970a29f1b785c2b59b0787afc5371dcb75 |
Hashes for xfem-2.1.2405.dev1-cp39-cp39-macosx_10_15_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f44d401860da95fc2e7b70df35e41bb53f138f462ac4f50346e8e89c291a6d |
|
MD5 | 204194291505a8219ead96077297abb3 |
|
BLAKE2b-256 | e058ade38e50d4b27a46df61cb9163ca2ecebbadf16555d94831940f8d9bc072 |
Hashes for xfem-2.1.2405.dev1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d1b26236d6ca72bca0b26bb04a7c6c686115d8adf730ca19531d51af75f1e20 |
|
MD5 | 21c43569d678342b9dc4b95274ca97d6 |
|
BLAKE2b-256 | d08c630a3eb17e9d9e7356a2f89fab71b9e4b168e61af0298da606e83215b01b |
Hashes for xfem-2.1.2405.dev1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afce0cacfded7687e9ddcff43b51b65381deacf7b97a0abf0c7a9da3cf2ce560 |
|
MD5 | 652db6b6247ace9f3e8f02a4993075c4 |
|
BLAKE2b-256 | 42631ade244e147225a092f05f39a86b80adf391e435d75b40eb03e9b661ff8a |
Hashes for xfem-2.1.2405.dev1-cp38-cp38-macosx_10_15_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ff2de7722a9a9e80f91774b27aca6110d41b39d4eca91fd1db4cf37afb5986 |
|
MD5 | e57a85658610e6d430e4bf80ed7daae2 |
|
BLAKE2b-256 | 5ccdb77b59e7e57612810bd0e5d0c1742ec064fe23d5d99092e6129dde6407dc |