Science Score: 44.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
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: sgomezmelo
  • Language: Python
  • Default Branch: main
  • Size: 49.8 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Citation

README.md

Mechanical Metamaterial project

This repository contains the scripts to simulate and process the experimental image data of the mechanical compression of 3D microstructures.

FEM ##

The python script "FEMlinearelasticity.py" simulates the compression of a (micro)structure with the Finite Elements open software Fenics, assuming linear elasticity and specified displacement. The following packages are required:

  • Numpy
  • Fenics (dolfin) and ufl
  • Meshio

The program takes as input a meshed structure in .msh format. It first solves for the displacement field, which is specified at the minimum and maximum z values via Dirichlet boundary conditions, and then computes the resulting strain field. The script loops over several dirichlet boundary conditions in order to calculate several compression steps. The code may be readily edited to simulate different material properties and compression steps, as well as to appropiately tunning the conversion between real and model length units, which is currently set to 2/9.63um.

Image Registration

The reconstruction of the strain and displacement field from experimental data of the microstrucure is done with the open software elastix, which must be previously installed (see https://elastix.lumc.nl/). The software requires a set of images of the undeformed structure, or mask, and a set of images of the deformed sample for each compression step. Each set of images must be assembled into a .tif image stack.

Elastix is run with the bash script "runFFD1223withcp_mask.sh". The reconstruction from the two aforementioned stacks is performed according to the options specified in "ffdParameters.txt". Currently the bash script loops over several compression steps. The results of the reconstruction are then stored as nrrd files in the directories "outDir" and "dField".

The resulting .nrrd files then are postprocessed by the python script "plotsectionsp33.py", which requires the following scripts:

  • Numpy
  • nrrd
  • Scikit-image
  • Enum
  • Matplotlib
  • DataClasses
  • tomli

The python takes as input the toml file "evalconfig.toml" that contains the path to the nrrd files. It then proceeds to calculate and plot based on the options in this same toml file. Both the python file and the .toml file may be edited to produce different projections according to the user's needs.

Owner

  • Login: sgomezmelo
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Mechanical Metamaterial project
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Santiago
    family-names: Gomez Melo
    email: gomezmelo@thphys.uni-heidelberg.de
  - given-names: 'Johannes '
    family-names: Blumberg
    email: johannes.blumberg@bioquant.uni-heidelberg.de
repository-code: >-
  https://github.com/sgomezmelo/Mechanical-Metamaterial-project

GitHub Events

Total
Last Year