fenicsx_codes

Example finite element codes for coupled theories in solid mechanics.

https://github.com/solidmechanicscoupledtheories/fenicsx_codes

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Example finite element codes for coupled theories in solid mechanics.

Basic Info
  • Host: GitHub
  • Owner: SolidMechanicsCoupledTheories
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 29.3 MB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 1
Created about 1 year ago · Last pushed 12 months ago
Metadata Files
Readme Citation

README.md

Coupled theories FEniCSx codes

A collection of FEniCSx finite element codes for a wide array of coupled-physics theories in solid mechanics.

Accompanies the book, - L. Anand, E.M. Stewart, S.A. Chester. Introduction to coupled theories in solid mechanics. 2025, in preparation.

A selection of example codes are provided for: 1. Finite elasticity 7. Finite deformation viscoelasticity with inertial effects 2. Finite thermo-elasticity 3. Gel mechanics 4. Gel thermo-mechanics 5. Chemo-mechanically coupled Cahn-Hilliard 6. Electro-elasticity of dielectric elastomers 8. Electro-viscoelasticity of dielectric elastomers with inertial effects 9. Electro-chemo-elasticity of ionic polymers 10. Magneto-viscoelasticity of hard-magnetic soft-elastomers 11. Magneto-viscoelasticity of soft-magnetic soft-elastomers

Running the codes

A detailed guide for installing FEniCSx in a Docker container and running the notebooks using VSCode is provided both for Mac and Windows. The installation process is essentially similar for the two operating systems, but the example screenshots in the instructions are from the relevant system.

These are our preferred methods for editing and running FEniCSx codes, although many other options exist. Note that all codes were written for FEniCSx v0.8.0, so our instructions documents will direct you to install this specific version of FEniCSx.

Citation

If you use these codes in your own research, please cite the software:

DOI

as well as the associated textbook:

  • L. Anand, E. M. Stewart, and S. A. Chester. Introduction to coupled theories in solid mechanics. 2025, in preparation.

BibTeX citations:

``` @software{stewart2025, author = {Stewart, E. M. and Chester, S. A. and Anand, L.}, title = {Example codes for coupled theories in solid mechanics}, month = jan, year = 2025, publisher = {Zenodo}, version = {v0.0}, doi = {10.5281/zenodo.14680876}, url = {https://doi.org/10.5281/zenodo.14680876} }

@book{anand2025, author={Anand, L. and Stewart, E. M. and Chester, S. A.}, title={Introduction to coupled theories in solid mechanics}, year={2025, in preparation.} } ```

Legacy codes

"Legacy" FEniCS versions of some of the example codes presented in this repository are available in the following repository: - https://github.com/SolidMechanicsCoupledTheories/example_codes

Owner

  • Login: SolidMechanicsCoupledTheories
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Stewart"
  given-names: "Eric M."
  orcid: "https://orcid.org/0000-0002-4572-004X"
- family-names: "Chester"
  given-names: "Shawn A."
- family-names: "Anand"
  given-names: "Lallit"
title: "Example codes for coupled theories in solid mechanics"
version: 0.0.0
doi: 10.5281/zenodo.1234
date-released: 2025-01-17
url: "https://github.com/SolidMechanicsCoupledTheories/FEniCSx_codes"

GitHub Events

Total
  • Release event: 1
  • Watch event: 10
  • Member event: 1
  • Push event: 12
  • Fork event: 1
  • Create event: 3
Last Year
  • Release event: 1
  • Watch event: 10
  • Member event: 1
  • Push event: 12
  • Fork event: 1
  • Create event: 3