Skip to content
/ AsFem Public
forked from MatMechLab/AsFem

A Simple Finite Element Method program (AsFem)

License

Notifications You must be signed in to change notification settings

Liudeke/AsFem

 
 

Repository files navigation

DOI

AsFem

A simple finite element method program, which is short for AsFem. AsFem is written in C++ and designed for phase-field modeling and multiphysics coupling. The PETSc library is involved in AsFem for the efficient computing.

For 'simple', we try to make the finite element programming and modeling, as simple as possible.

Download

git clone https://github.com/M3Group/AsFem.git

For the detailed usage, one is referred to AsFem Page .

If one has access issues, the alternative link could be AsFem-Gitee, the git clone can be done via:

git clone https://gitee.com/m3group/AsFem.git

Installation

The installation details of AsFem can be found here AsFem-Installation .

After you've installed your PETSc (PETSC_DIR) and MPI (MPI_DIR), all you have to do is:

cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=Release
make -j4

Demos

AsFem has several demos, you can visit them either on Bilibili or on Youtube.

spinodal-decomposition double-notch failure

Tutorial & examples

The tutorial is avialable here https://m3group.github.io/AsFem/Tutorial/step-0/

For Chinese users, the video lecture is available on bilibili, please see AsFem-Lecture.

Currently, one can find the tested input files in both the AsFem/examples folder as well as AsFem/test_input folder. For a better understanding of how to use AsFem, please take a look at these input files first.

Document

The code is documented by the Doxygen package, one can generate the pdf file or html files via:

doxygen

More documents and details can be found in AsFem's homepage.

Author

Yang Bai

Citation

@misc{yang_bai_2021_4603558,
  author       = {Yang Bai},
  title        = {{AsFem: a simple finite element method program for
                   phase-field modeling and multiphysics coupling}},
  month        = feb,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {master},
  doi          = {10.5281/zenodo.4603558},
  url          = {https://doi.org/10.5281/zenodo.4603558}
}

Contribute

If you discover bugs in the AsFem package, please create an issue at the project repository on GitHub at https://github.com/M3Group/AsFem.

If you find the AsFem package useful, we welcome your code and documentation contributions. To contribute, fork the repository on GitHub, and submit a pull request at https://github.com/M3Group/AsFem.

Contact

Submit bug reports and feature requests on the repository issue tracker.

Discussion

If you are interested in AsFem or have any questions, just feel free to send me an email Mail2Me or join the QQ group for more discussion .

QQ group: 879908352

About

A Simple Finite Element Method program (AsFem)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.4%
  • CMake 2.5%
  • Assembly 2.2%
  • C 0.7%
  • Python 0.6%
  • GLSL 0.4%
  • TeX 0.2%