FEniCS complete code for magneto-visco-mechanical homogenization: full-field approach
Authors/Creators
- 1. Imperial College London
- 2. Universidad Carlos III de Madrid
- 3. Ecole Polytechnique
Description
FEniCS complete code for magneto-visco-mechanical homogenization: 3D full-field magneto-mechanical
homogenization that accounts for: finite strains, viscoelasticity, incompressibility and mixed
stress/magnetic flux control.
Copyright (C) 2021: Sergio Lucarini, Miguel Angel Moreno-Mateos, Kostas Danas, Daniel Garcia-Gonzalez
If using this code for research or industrial purposes, please cite:
S. Lucarini, M.A. Moreno-Mateos, K. Danas, D. Garcia-Gonzalez. Insights into the viscohyperelastic response of soft magnetorheological elastomers: competition of macrostructural versus microstructural players. International Journal of Solids and Structures, 2022.
- Fenics_magneto_visco_homogenization.py
This python script contains the solver for the magneto-viscoelastic homogenization.
Input variables are the tests conditions, such as mechanical and magnetic loads and material properties.
Outputs of the solves are some macroscopic results and the .xdmf and .h5 with the full field results.
- aux_homog_nl.py
This is a python code that contains some functions used by the solver: periodic boundary conditions,
input and output preparation.
- s30.xdmf and s30.h5
These files are an input geometry example that contains a sphere in the middle of un unitary cube.
- Usage instructions
Installation of Fenics module is needed.
The python modules numpy and matplotlib packages are required.
Run Fenics_magneto_visco_homogenization.py to start the simulation.
Notes
Files
READ_ME.txt
Files
(52.6 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:57bc93aecadc9608df50ac56b3ce2a34
|
6.3 kB | Download |
|
md5:5c8a636c406b3590a2a5789dd01cf633
|
19.5 kB | Download |
|
md5:2a0e6aa09bd09b7dc096a48744332af7
|
1.4 kB | Preview Download |
|
md5:74f517a47dcc01b8b02fa4b7d15ec6a5
|
24.8 kB | Download |
|
md5:76a96f1bc657ef71c0c542476344fda7
|
561 Bytes | Download |
Additional details
Funding
References
- Insights into the viscohyperelastic response of soft magnetorheological elastomers: competition of macrostructural versus microstructural players International Journal of Solids and Structures, 2022.