morphogen 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- morphogen/__init__.py +60 -0
- morphogen/__main__.py +7 -0
- morphogen/_platform.py +55 -0
- morphogen/_public.py +153 -0
- morphogen/_utils.py +80 -0
- morphogen/_version.py +1 -0
- morphogen/analysis/__init__.py +174 -0
- morphogen/analysis/anisotropy.py +135 -0
- morphogen/analysis/basic.py +38 -0
- morphogen/analysis/cells.py +54 -0
- morphogen/analysis/connectivity.py +156 -0
- morphogen/analysis/correlation.py +195 -0
- morphogen/analysis/covariance.py +80 -0
- morphogen/analysis/fractal.py +54 -0
- morphogen/analysis/measures.py +188 -0
- morphogen/analysis/morphology.py +265 -0
- morphogen/analysis/particles.py +160 -0
- morphogen/analysis/percolation.py +2034 -0
- morphogen/analysis/power_laws.py +143 -0
- morphogen/analysis/random_sets.py +351 -0
- morphogen/analysis/stereology.py +289 -0
- morphogen/analysis/surface.py +107 -0
- morphogen/analysis/topology.py +92 -0
- morphogen/automata/__init__.py +74 -0
- morphogen/automata/engine.py +211 -0
- morphogen/automata/growth.py +686 -0
- morphogen/automata/lattice.py +143 -0
- morphogen/automata/reaction.py +255 -0
- morphogen/automata/rules.py +353 -0
- morphogen/automata/tilings.py +1715 -0
- morphogen/cli.py +3526 -0
- morphogen/config.py +2167 -0
- morphogen/contact/__init__.py +113 -0
- morphogen/contact/experiments.py +368 -0
- morphogen/contact/hertz.py +104 -0
- morphogen/contact/kernels.py +827 -0
- morphogen/contact/periodic.py +278 -0
- morphogen/contact/problem.py +578 -0
- morphogen/contact/surfaces.py +310 -0
- morphogen/coupling/__init__.py +43 -0
- morphogen/coupling/ageing.py +143 -0
- morphogen/coupling/diffusion.py +226 -0
- morphogen/coupling/fenicsx.py +484 -0
- morphogen/coupling/oxidation.py +447 -0
- morphogen/coupling/plates.py +247 -0
- morphogen/design/__init__.py +51 -0
- morphogen/design/csp.py +616 -0
- morphogen/design/frames.py +277 -0
- morphogen/design/search.py +287 -0
- morphogen/design/tiles.py +336 -0
- morphogen/distributions.py +312 -0
- morphogen/domain.py +203 -0
- morphogen/dynamics/__init__.py +179 -0
- morphogen/dynamics/model.py +638 -0
- morphogen/dynamics/openradioss.py +643 -0
- morphogen/dynamics/results.py +515 -0
- morphogen/fracture/__init__.py +170 -0
- morphogen/fracture/bulk.py +349 -0
- morphogen/fracture/cohesive.py +1614 -0
- morphogen/fracture/ductile.py +557 -0
- morphogen/fracture/lefm.py +1168 -0
- morphogen/fracture/mixed.py +1178 -0
- morphogen/fracture/periodic.py +733 -0
- morphogen/fracture/phasefield.py +714 -0
- morphogen/fracture/phasefield_finite.py +368 -0
- morphogen/fracture/surface.py +572 -0
- morphogen/fracture/toughness.py +566 -0
- morphogen/gpu.py +108 -0
- morphogen/gui/__init__.py +8 -0
- morphogen/gui/api.py +1927 -0
- morphogen/gui/desktop.py +387 -0
- morphogen/gui/icon.png +0 -0
- morphogen/gui/index.html +1909 -0
- morphogen/gui/server.py +229 -0
- morphogen/gui/tools/__init__.py +629 -0
- morphogen/gui/tools/compare.py +149 -0
- morphogen/gui/tools/contact.py +391 -0
- morphogen/gui/tools/couplings.py +1085 -0
- morphogen/gui/tools/crackfront.py +245 -0
- morphogen/gui/tools/design.py +224 -0
- morphogen/gui/tools/dynamics.py +824 -0
- morphogen/gui/tools/fracture.py +2586 -0
- morphogen/gui/tools/interop.py +1654 -0
- morphogen/gui/tools/learning.py +595 -0
- morphogen/gui/tools/mechanics.py +3881 -0
- morphogen/gui/tools/nonlocal_damage.py +1321 -0
- morphogen/gui/tools/phasefield.py +215 -0
- morphogen/gui/tools/physics.py +597 -0
- morphogen/gui/tools/stability.py +1756 -0
- morphogen/gui/tools/statistics.py +1408 -0
- morphogen/gui/viewer.js +1100 -0
- morphogen/homogenization/__init__.py +210 -0
- morphogen/homogenization/acoustics.py +566 -0
- morphogen/homogenization/amg.py +1005 -0
- morphogen/homogenization/apparent.py +1046 -0
- morphogen/homogenization/behaviours.cu +2285 -0
- morphogen/homogenization/behaviours.py +944 -0
- morphogen/homogenization/beremin.py +263 -0
- morphogen/homogenization/bifurcation.py +1085 -0
- morphogen/homogenization/bloch.py +507 -0
- morphogen/homogenization/bounds.py +226 -0
- morphogen/homogenization/core.py +458 -0
- morphogen/homogenization/coupled.py +1135 -0
- morphogen/homogenization/crystal.py +2967 -0
- morphogen/homogenization/dilatation.py +454 -0
- morphogen/homogenization/elements.py +157 -0
- morphogen/homogenization/fatigue.py +768 -0
- morphogen/homogenization/fe.py +1739 -0
- morphogen/homogenization/fenicsx.py +307 -0
- morphogen/homogenization/fft.py +499 -0
- morphogen/homogenization/fft_nonlinear.py +391 -0
- morphogen/homogenization/finite.py +613 -0
- morphogen/homogenization/flow.py +361 -0
- morphogen/homogenization/frames.py +1125 -0
- morphogen/homogenization/gpu.py +1241 -0
- morphogen/homogenization/harmonic.py +427 -0
- morphogen/homogenization/identification.py +579 -0
- morphogen/homogenization/kernels.py +760 -0
- morphogen/homogenization/laws.py +2061 -0
- morphogen/homogenization/materials.py +1080 -0
- morphogen/homogenization/mfront.py +589 -0
- morphogen/homogenization/networks.py +880 -0
- morphogen/homogenization/nonlinear.py +2612 -0
- morphogen/homogenization/ntfa.py +577 -0
- morphogen/homogenization/paths.py +476 -0
- morphogen/homogenization/photonic.py +467 -0
- morphogen/homogenization/poroelastic.py +212 -0
- morphogen/homogenization/porous.py +1120 -0
- morphogen/homogenization/postprocess.py +290 -0
- morphogen/homogenization/solvers.py +1140 -0
- morphogen/homogenization/tensors.py +240 -0
- morphogen/homogenization/voxel_fe.py +457 -0
- morphogen/homogenization/xfem.py +1016 -0
- morphogen/homogenization/zmat.py +1258 -0
- morphogen/iga/__init__.py +48 -0
- morphogen/iga/analysis.py +508 -0
- morphogen/iga/basis.py +214 -0
- morphogen/iga/geometry.py +501 -0
- morphogen/iga/homogenization.py +219 -0
- morphogen/iga/optimization.py +700 -0
- morphogen/iga/shapes.py +331 -0
- morphogen/image.py +128 -0
- morphogen/io/__init__.py +246 -0
- morphogen/io/amitex.py +741 -0
- morphogen/io/ebsd.py +881 -0
- morphogen/io/export.py +196 -0
- morphogen/io/geometry.py +158 -0
- morphogen/io/medit.py +147 -0
- morphogen/io/meshes.py +844 -0
- morphogen/io/metaimage.py +97 -0
- morphogen/io/mfront.py +1104 -0
- morphogen/io/native.py +57 -0
- morphogen/io/radioss.py +764 -0
- morphogen/io/solvers.py +371 -0
- morphogen/io/tables.py +278 -0
- morphogen/io/tiff.py +66 -0
- morphogen/io/vtk.py +701 -0
- morphogen/io/xdmf.py +200 -0
- morphogen/kernels/__init__.py +5 -0
- morphogen/kernels/annealing.py +192 -0
- morphogen/kernels/cells.py +69 -0
- morphogen/kernels/collective.py +87 -0
- morphogen/kernels/force_biased.py +595 -0
- morphogen/kernels/implicit.py +145 -0
- morphogen/kernels/leaves.py +132 -0
- morphogen/kernels/packing.py +304 -0
- morphogen/kernels/raster.py +279 -0
- morphogen/kernels/rsa.py +371 -0
- morphogen/kernels/union.py +135 -0
- morphogen/kernels/watershed.py +190 -0
- morphogen/laser/__init__.py +234 -0
- morphogen/laser/architectures.py +375 -0
- morphogen/laser/bending.py +216 -0
- morphogen/laser/cells.py +1694 -0
- morphogen/laser/design.py +940 -0
- morphogen/laser/figures.py +227 -0
- morphogen/laser/heat.py +804 -0
- morphogen/laser/materials.py +691 -0
- morphogen/laser/mechanics.py +1670 -0
- morphogen/laser/metallurgy.py +615 -0
- morphogen/laser/patterns.py +828 -0
- morphogen/laser/periodic.py +392 -0
- morphogen/laser/process.py +362 -0
- morphogen/laser/run.py +534 -0
- morphogen/laser/solid.py +216 -0
- morphogen/laser/specimen.py +200 -0
- morphogen/laser/structures.py +708 -0
- morphogen/learning/__init__.py +81 -0
- morphogen/learning/behaviour.py +398 -0
- morphogen/learning/data.py +328 -0
- morphogen/learning/learned.cpp +668 -0
- morphogen/learning/logarithmic.py +202 -0
- morphogen/learning/mfront.py +409 -0
- morphogen/learning/networks.py +767 -0
- morphogen/learning/run.py +212 -0
- morphogen/learning/standard.py +814 -0
- morphogen/learning/training.py +235 -0
- morphogen/mesh/__init__.py +29 -0
- morphogen/mesh/conforming.py +1423 -0
- morphogen/mesh/curved.py +600 -0
- morphogen/mesh/exact.py +1717 -0
- morphogen/mesh/octree.py +350 -0
- morphogen/mesh/polycrystal.py +1041 -0
- morphogen/mesh/polyhedra.py +677 -0
- morphogen/mesh/regularize.py +570 -0
- morphogen/mesh/surface.py +97 -0
- morphogen/mesh/tetra.py +512 -0
- morphogen/mesh/voxel.py +124 -0
- morphogen/micromorphic/__init__.py +31 -0
- morphogen/micromorphic/damage.py +359 -0
- morphogen/micromorphic/ductile.py +534 -0
- morphogen/micromorphic/finite.py +220 -0
- morphogen/micromorphic/microfoam.py +787 -0
- morphogen/micromorphic/space.py +341 -0
- morphogen/models/__init__.py +195 -0
- morphogen/models/affine.py +384 -0
- morphogen/models/automata.py +592 -0
- morphogen/models/base.py +500 -0
- morphogen/models/boolean.py +310 -0
- morphogen/models/bouligand.py +331 -0
- morphogen/models/branching.py +241 -0
- morphogen/models/combination.py +430 -0
- morphogen/models/deadleaves.py +766 -0
- morphogen/models/design.py +289 -0
- morphogen/models/ebsd.py +206 -0
- morphogen/models/fibers.py +1476 -0
- morphogen/models/foam.py +594 -0
- morphogen/models/gaussian.py +314 -0
- morphogen/models/growth.py +459 -0
- morphogen/models/hardcore.py +317 -0
- morphogen/models/hierarchical.py +269 -0
- morphogen/models/honeycomb.py +749 -0
- morphogen/models/implicit.py +177 -0
- morphogen/models/laminate.py +470 -0
- morphogen/models/lattice.py +351 -0
- morphogen/models/lattice_field.py +345 -0
- morphogen/models/levelset_foam.py +563 -0
- morphogen/models/nacre.py +411 -0
- morphogen/models/nested.py +924 -0
- morphogen/models/osteons.py +374 -0
- morphogen/models/pieces.py +167 -0
- morphogen/models/planar.py +126 -0
- morphogen/models/reconstruction.py +203 -0
- morphogen/models/scale_rich.py +1409 -0
- morphogen/models/scale_rich_3d.py +1616 -0
- morphogen/models/tessellation.py +735 -0
- morphogen/models/tiling_field.py +302 -0
- morphogen/models/tpms.py +197 -0
- morphogen/models/transparent.py +406 -0
- morphogen/models/union.py +141 -0
- morphogen/optimization/__init__.py +43 -0
- morphogen/optimization/cell.py +295 -0
- morphogen/optimization/filters.py +115 -0
- morphogen/optimization/mma.py +226 -0
- morphogen/optimization/run.py +219 -0
- morphogen/optimization/topology.py +632 -0
- morphogen/orientations.py +568 -0
- morphogen/parallel.py +599 -0
- morphogen/pipeline.py +978 -0
- morphogen/primitives.py +188 -0
- morphogen/results.py +564 -0
- morphogen/rve/__init__.py +73 -0
- morphogen/rve/report.py +627 -0
- morphogen/rve/scaling.py +363 -0
- morphogen/rve/study.py +1054 -0
- morphogen/rve/windows.py +345 -0
- morphogen/seeding.py +51 -0
- morphogen/settings.py +118 -0
- morphogen/stopping.py +48 -0
- morphogen/symmetry.py +384 -0
- morphogen/templates/activator_inhibitor.yaml +22 -0
- morphogen/templates/aggregation.yaml +23 -0
- morphogen/templates/boolean_cylinders.yaml +20 -0
- morphogen/templates/boolean_spheres.yaml +22 -0
- morphogen/templates/bouligand.yaml +28 -0
- morphogen/templates/cellular_automaton.yaml +25 -0
- morphogen/templates/coated_spheres.yaml +26 -0
- morphogen/templates/contact_fibers.yaml +27 -0
- morphogen/templates/cox_nanocomposite.yaml +22 -0
- morphogen/templates/cross_linked_fibers.yaml +26 -0
- morphogen/templates/curved_arcs.yaml +28 -0
- morphogen/templates/curved_fibers.yaml +24 -0
- morphogen/templates/dead_leaves.yaml +22 -0
- morphogen/templates/delaunay_network.yaml +22 -0
- morphogen/templates/dense_packing.yaml +22 -0
- morphogen/templates/diffusion.yaml +33 -0
- morphogen/templates/ebsd.yaml +34 -0
- morphogen/templates/ebsd_map.ctf +3087 -0
- morphogen/templates/fracture_composite.yaml +42 -0
- morphogen/templates/fracture_rubber.yaml +47 -0
- morphogen/templates/gaussian_excursion.yaml +17 -0
- morphogen/templates/graded_lattice.yaml +24 -0
- morphogen/templates/hardcore_fibers.yaml +22 -0
- morphogen/templates/hardcore_spheres.yaml +22 -0
- morphogen/templates/hierarchical_lattice.yaml +22 -0
- morphogen/templates/homogenization_acoustic_foam.yaml +36 -0
- morphogen/templates/homogenization_beremin.yaml +50 -0
- morphogen/templates/homogenization_cleavage.yaml +51 -0
- morphogen/templates/homogenization_cleavage_band.yaml +55 -0
- morphogen/templates/homogenization_contact.yaml +43 -0
- morphogen/templates/homogenization_crack_closure.yaml +49 -0
- morphogen/templates/homogenization_crystal_plasticity.yaml +50 -0
- morphogen/templates/homogenization_crystal_plasticity_fft.yaml +52 -0
- morphogen/templates/homogenization_crystallization.yaml +30 -0
- morphogen/templates/homogenization_debonding.yaml +43 -0
- morphogen/templates/homogenization_detwinning.yaml +58 -0
- morphogen/templates/homogenization_ductile_damage.yaml +47 -0
- morphogen/templates/homogenization_fatigue.yaml +40 -0
- morphogen/templates/homogenization_grain_fracture.yaml +56 -0
- morphogen/templates/homogenization_gyroid.yaml +30 -0
- morphogen/templates/homogenization_intergranular.yaml +43 -0
- morphogen/templates/homogenization_interphase.yaml +42 -0
- morphogen/templates/homogenization_mixed_loading.yaml +33 -0
- morphogen/templates/homogenization_ntfa.yaml +56 -0
- morphogen/templates/homogenization_piezoelectric.yaml +27 -0
- morphogen/templates/homogenization_polycrystal.yaml +30 -0
- morphogen/templates/homogenization_polycrystal_inclusions.yaml +30 -0
- morphogen/templates/homogenization_poroelastic.yaml +26 -0
- morphogen/templates/homogenization_rubber.yaml +40 -0
- morphogen/templates/homogenization_slip_cleavage.yaml +50 -0
- morphogen/templates/homogenization_spheres.yaml +31 -0
- morphogen/templates/homogenization_transport.yaml +29 -0
- morphogen/templates/homogenization_twinning.yaml +54 -0
- morphogen/templates/homogenization_viscoelastic.yaml +34 -0
- morphogen/templates/homogenization_viscoplastic.yaml +42 -0
- morphogen/templates/homogenization_voronoi.yaml +26 -0
- morphogen/templates/homogenization_xfem.yaml +23 -0
- morphogen/templates/hyperuniform_cells.yaml +24 -0
- morphogen/templates/laguerre.yaml +18 -0
- morphogen/templates/laser_bending.yaml +35 -0
- morphogen/templates/laser_cells.yaml +38 -0
- morphogen/templates/laser_corrugated.yaml +36 -0
- morphogen/templates/level_set_foam.yaml +29 -0
- morphogen/templates/menger_sponge.yaml +17 -0
- morphogen/templates/nacre.yaml +25 -0
- morphogen/templates/nucleation_growth.yaml +25 -0
- morphogen/templates/optimize_auxetic.yaml +29 -0
- morphogen/templates/optimize_auxetic_3d.yaml +27 -0
- morphogen/templates/optimize_bulk.yaml +23 -0
- morphogen/templates/optimize_conductivity.yaml +20 -0
- morphogen/templates/osteons.yaml +28 -0
- morphogen/templates/penetrable_spheres.yaml +21 -0
- morphogen/templates/poisson_fibers.yaml +21 -0
- morphogen/templates/random_laminate.yaml +26 -0
- morphogen/templates/random_lattice.yaml +27 -0
- morphogen/templates/random_walk_fibers.yaml +26 -0
- morphogen/templates/reaction_diffusion.yaml +22 -0
- morphogen/templates/reconstruction.yaml +22 -0
- morphogen/templates/rve_cellular_automaton.yaml +23 -0
- morphogen/templates/rve_crystal_plasticity_fft.yaml +51 -0
- morphogen/templates/rve_multiphysics.yaml +43 -0
- morphogen/templates/rve_poisson_fibers.yaml +22 -0
- morphogen/templates/rve_poisson_fibers_fe.yaml +33 -0
- morphogen/templates/rve_voronoi_windows.yaml +20 -0
- morphogen/templates/scale_rich_network.yaml +29 -0
- morphogen/templates/scale_rich_plates.yaml +30 -0
- morphogen/templates/sequential_dead_leaves.yaml +25 -0
- morphogen/templates/strut_lattice.yaml +21 -0
- morphogen/templates/tile_assembly.yaml +28 -0
- morphogen/templates/tpms.yaml +19 -0
- morphogen/templates/trabecular_bone.yaml +29 -0
- morphogen/templates/transparent_dead_leaves.yaml +23 -0
- morphogen/templates/vascular_tree.yaml +23 -0
- morphogen/templates/voronoi.yaml +20 -0
- morphogen/templates/wood.yaml +34 -0
- morphogen/templates/workflow.yaml +56 -0
- morphogen/texture.py +665 -0
- morphogen/theory.py +162 -0
- morphogen/viz/__init__.py +12 -0
- morphogen/viz/export.py +244 -0
- morphogen/viz/figures.py +707 -0
- morphogen/viz/png.py +148 -0
- morphogen/viz/sections.py +696 -0
- morphogen/viz/surfaces.py +1352 -0
- morphogen/viz/video.py +904 -0
- morphogen/viz/workflow.py +488 -0
- morphogen-1.0.0.dist-info/METADATA +2316 -0
- morphogen-1.0.0.dist-info/RECORD +381 -0
- morphogen-1.0.0.dist-info/WHEEL +4 -0
- morphogen-1.0.0.dist-info/entry_points.txt +5 -0
- morphogen-1.0.0.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# A composite that breaks, by the phase-field method: glass beads in a brittle epoxy,
|
|
2
|
+
# pulled until a crack crosses the cell. The damage field regularizes the cracks over
|
|
3
|
+
# the length (two voxels at least); the toughness G_c is the energy of their unit area
|
|
4
|
+
# (lengths in micrometres, stresses in MPa: G_c in J/m2); the beads have none and do not
|
|
5
|
+
# break. Cracks start at the poles of the beads, where the matrix is stretched most,
|
|
6
|
+
# and join across the cell: the strength, near 120 MPa at a strain of 2 %, hardly depends
|
|
7
|
+
# on the voxels (122 to 124 MPa on 32, 40 and 48 voxels per edge). voxels.section
|
|
8
|
+
# studies one layer of voxels through the middle of the volume (a plane strain): 40 x 40
|
|
9
|
+
# voxels instead of 40^3; about a minute.
|
|
10
|
+
# Curve: section_0000_pull_periodic.csv (stress, damage, crack surface); fields: .vti.
|
|
11
|
+
model:
|
|
12
|
+
type: hardcore_spheres
|
|
13
|
+
radius: 10.0
|
|
14
|
+
volume_fraction: 0.25
|
|
15
|
+
domain:
|
|
16
|
+
size: 80.0
|
|
17
|
+
periodic: true
|
|
18
|
+
unit: um
|
|
19
|
+
seed: 4
|
|
20
|
+
voxels:
|
|
21
|
+
shape: 40
|
|
22
|
+
section: z # the layer normal to z through the middle of the volume
|
|
23
|
+
homogenization:
|
|
24
|
+
method: fft
|
|
25
|
+
materials:
|
|
26
|
+
0: {young: 3000.0, poisson: 0.38} # epoxy
|
|
27
|
+
1: {young: 70000.0, poisson: 0.22} # glass
|
|
28
|
+
properties: []
|
|
29
|
+
paths:
|
|
30
|
+
pull:
|
|
31
|
+
times: [0, 1]
|
|
32
|
+
increments: 20
|
|
33
|
+
strain: {"11": [0, 0.05]} # the other stresses are free
|
|
34
|
+
fracture:
|
|
35
|
+
toughness: {0: 100.0} # of the phases that break (phase: G_c)
|
|
36
|
+
length: 4.0 # of the regularization: the strength goes as sqrt(E G_c / length)
|
|
37
|
+
model: AT1 # elastic up to a strength; AT2: damage from the first load
|
|
38
|
+
split: spectral # the tensile energy breaks; also volumetric, none
|
|
39
|
+
fields: true
|
|
40
|
+
outputs:
|
|
41
|
+
directory: out/fracture_composite
|
|
42
|
+
name: section
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# A perforated rubber sheet that tears, by the phase-field method in finite strains: a
|
|
2
|
+
# neo-Hookean rubber with holes (20 %), stretched across with its width held and its
|
|
3
|
+
# thickness free (the pure shear test of rubbers). The energy of the cell is that of the
|
|
4
|
+
# deformation gradient over the reference configuration; the isochoric energy and the
|
|
5
|
+
# expansion drive the damage (split: volumetric). The ligaments between the holes
|
|
6
|
+
# stretch to 1.4, then a crack runs through them across the sheet. Lengths in mm,
|
|
7
|
+
# stresses in MPa (G_c in kJ/m2). voxels.section: one layer of voxels through the middle
|
|
8
|
+
# of the volume. About four minutes, most of them in the step where the crack runs.
|
|
9
|
+
# Curve: sheet_0000_stretch_periodic.csv (nominal and true measures, damage).
|
|
10
|
+
model:
|
|
11
|
+
type: hardcore_spheres # the holes
|
|
12
|
+
radius: 1.0
|
|
13
|
+
volume_fraction: 0.2
|
|
14
|
+
domain:
|
|
15
|
+
size: 8.0
|
|
16
|
+
periodic: true
|
|
17
|
+
unit: mm
|
|
18
|
+
seed: 6
|
|
19
|
+
voxels:
|
|
20
|
+
shape: 32
|
|
21
|
+
section: z
|
|
22
|
+
homogenization:
|
|
23
|
+
method: fft
|
|
24
|
+
materials:
|
|
25
|
+
0: # the rubber
|
|
26
|
+
young: 3.0
|
|
27
|
+
poisson: 0.45
|
|
28
|
+
hyperelasticity: {model: neo_hookean}
|
|
29
|
+
1: void # the holes
|
|
30
|
+
properties: []
|
|
31
|
+
paths:
|
|
32
|
+
stretch:
|
|
33
|
+
times: [0, 1]
|
|
34
|
+
increments: 10
|
|
35
|
+
strain: {"11": [0, 0.5], "22": [0, 0]} # nominal; the thickness (33) is free
|
|
36
|
+
nonlinear:
|
|
37
|
+
kinematics: finite # the phase field in finite strains
|
|
38
|
+
fracture:
|
|
39
|
+
toughness: {0: 1.0}
|
|
40
|
+
length: 0.5
|
|
41
|
+
model: AT1
|
|
42
|
+
split: volumetric # a rubber: volumetric or none
|
|
43
|
+
residual: 1.0e-3 # stiffness left in the broken voxels
|
|
44
|
+
fields: true
|
|
45
|
+
outputs:
|
|
46
|
+
directory: out/fracture_rubber
|
|
47
|
+
name: sheet
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Excursion set of a Gaussian random field (bicontinuous porous medium).
|
|
2
|
+
model:
|
|
3
|
+
type: gaussian_excursion
|
|
4
|
+
correlation_length: 1.0
|
|
5
|
+
volume_fraction: 0.4
|
|
6
|
+
domain:
|
|
7
|
+
size: 16.0
|
|
8
|
+
periodic: true
|
|
9
|
+
seed: 5
|
|
10
|
+
voxels:
|
|
11
|
+
shape: 128
|
|
12
|
+
outputs:
|
|
13
|
+
directory: out/gaussian_excursion
|
|
14
|
+
name: field
|
|
15
|
+
image: [vti]
|
|
16
|
+
surface: [stl] # needs scikit-image
|
|
17
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# A functionally graded octet lattice for additive manufacturing: the strut radius grows
|
|
2
|
+
# linearly from 0.05 to 0.15 cell along x (relative density from about 0.11 to 0.68), the
|
|
3
|
+
# lattice turned by 45 degrees about z. A non-periodic sample (rotated and graded
|
|
4
|
+
# lattices are not periodic), its watertight surface written as STL.
|
|
5
|
+
model:
|
|
6
|
+
type: strut_lattice
|
|
7
|
+
cell: octet # cubic | bcc | fcc | octet | kelvin
|
|
8
|
+
cell_size: 1.0
|
|
9
|
+
radius_gradient: [0.05, 0.15] # at the lower and upper faces along gradient_axis
|
|
10
|
+
gradient_axis: 0
|
|
11
|
+
rotation: [45.0, 0.0, 0.0] # Bunge angles (degrees) of the lattice
|
|
12
|
+
domain:
|
|
13
|
+
size: [8.0, 4.0, 4.0]
|
|
14
|
+
periodic: false
|
|
15
|
+
seed: 1
|
|
16
|
+
voxels:
|
|
17
|
+
voxel_size: 0.04
|
|
18
|
+
outputs:
|
|
19
|
+
directory: out/graded_lattice
|
|
20
|
+
name: lattice
|
|
21
|
+
geometry: [json]
|
|
22
|
+
image: [vti]
|
|
23
|
+
surface: [stl]
|
|
24
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Non-overlapping straight fibres (spherocylinders) by random sequential addition: no two
|
|
2
|
+
# fibres closer than min_gap, a fibre-reinforced composite. The process jams at a
|
|
3
|
+
# fraction that falls as the fibres lengthen; aligned fibres pack further.
|
|
4
|
+
model:
|
|
5
|
+
type: hardcore_fibers
|
|
6
|
+
radius: 0.5
|
|
7
|
+
length: 6.0 # of the cylindrical part (aspect ratio 7 with the caps)
|
|
8
|
+
orientation: isotropic # or {type: aligned, direction: [0, 0, 1]} / {type: planar, normal: [0, 0, 1]}
|
|
9
|
+
volume_fraction: 0.15
|
|
10
|
+
min_gap: 0.1
|
|
11
|
+
domain:
|
|
12
|
+
size: 20.0
|
|
13
|
+
periodic: true
|
|
14
|
+
seed: 1
|
|
15
|
+
voxels:
|
|
16
|
+
voxel_size: 0.1
|
|
17
|
+
outputs:
|
|
18
|
+
directory: out/hardcore_fibers
|
|
19
|
+
name: fibres
|
|
20
|
+
geometry: [json]
|
|
21
|
+
image: [vti]
|
|
22
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Non-overlapping spheres by random sequential addition (jamming near 0.38).
|
|
2
|
+
model:
|
|
3
|
+
type: hardcore_spheres
|
|
4
|
+
radius: {type: uniform, low: 0.8, high: 1.2}
|
|
5
|
+
volume_fraction: 0.3
|
|
6
|
+
min_gap: 0.05
|
|
7
|
+
domain:
|
|
8
|
+
size: 20.0
|
|
9
|
+
periodic: true
|
|
10
|
+
seed: 3
|
|
11
|
+
voxels:
|
|
12
|
+
voxel_size: 0.2
|
|
13
|
+
supersampling: 2 # exported image holds partial volume fractions
|
|
14
|
+
outputs:
|
|
15
|
+
directory: out/hardcore_spheres
|
|
16
|
+
name: particles
|
|
17
|
+
geometry: [csv]
|
|
18
|
+
image: [vti]
|
|
19
|
+
mesh:
|
|
20
|
+
formats: [inp]
|
|
21
|
+
periodic_pairs: true # facing nodes on opposite faces, for periodic BCs
|
|
22
|
+
analysis: [volume_fraction, specific_surface]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Hierarchical lattice of hollow tubes (Rayneau-Kirkhope, Mao and Farr, PRL 109, 2012):
|
|
2
|
+
# the nodes of an fcc lattice joined by frames of generation 1, columns of regular
|
|
3
|
+
# octahedra whose compressed edges are tubes. Each generation lowers the exponent of
|
|
4
|
+
# the material needed to carry a load without buckling.
|
|
5
|
+
model:
|
|
6
|
+
type: hierarchical_lattice
|
|
7
|
+
cell_size: 1.0
|
|
8
|
+
generations: 1
|
|
9
|
+
cells: 3 # octahedra per frame
|
|
10
|
+
tube_radius: [0.012, 0.012] # tubes of the frames of generation 1 and 0
|
|
11
|
+
wall_thickness: 0.004 # hollow tubes (omit for solid ones)
|
|
12
|
+
connections: nn+nnn # octet truss (nn) and cube edges (nnn)
|
|
13
|
+
domain:
|
|
14
|
+
size: 1.0
|
|
15
|
+
periodic: true
|
|
16
|
+
voxels:
|
|
17
|
+
shape: 256
|
|
18
|
+
outputs:
|
|
19
|
+
directory: out/hierarchical_lattice
|
|
20
|
+
name: frames
|
|
21
|
+
geometry: [json] # the tubes and their bores, regenerated exactly
|
|
22
|
+
analysis: [volume_fraction]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# The flow and the sound in an open-cell foam: the permeability of Darcy's law (a Stokes
|
|
2
|
+
# flow through the pores, by the lattice Boltzmann method) and the parameters of the
|
|
3
|
+
# equivalent fluid of the rigid frame (Johnson-Champoux-Allard-Lafarge): porosity,
|
|
4
|
+
# tortuosity, viscous and thermal characteristic lengths, thermal permeability. Lengths
|
|
5
|
+
# in mm here: the permeabilities come out in mm^2 (1e-6 m^2). In Python,
|
|
6
|
+
# morphogen.homogenization.absorption gives the absorption of a layer from them.
|
|
7
|
+
# The foam is a level set of distance fields (as the template level_set_foam): cells of
|
|
8
|
+
# about 0.3 mm, 8 % of solid in struts that thicken towards their nodes. Raise
|
|
9
|
+
# domain.size for the statistics (an rve section) and lower voxels.voxel_size until the
|
|
10
|
+
# parameters settle (the struts are two voxels thick here).
|
|
11
|
+
model:
|
|
12
|
+
type: level_set_foam
|
|
13
|
+
seed_radius: {type: uniform, low: 0.12, high: 0.18}
|
|
14
|
+
packing: dense
|
|
15
|
+
packing_fraction: 0.6
|
|
16
|
+
volume_fraction: 0.08
|
|
17
|
+
curvature: -0.7
|
|
18
|
+
c1: 50.0
|
|
19
|
+
c2: 1.0
|
|
20
|
+
domain:
|
|
21
|
+
size: 1.5
|
|
22
|
+
periodic: true
|
|
23
|
+
seed: 3
|
|
24
|
+
voxels:
|
|
25
|
+
voxel_size: 0.025
|
|
26
|
+
homogenization:
|
|
27
|
+
method: fft
|
|
28
|
+
materials:
|
|
29
|
+
0: void # the pores: the fluid flows through them
|
|
30
|
+
1: {young: 2500.0, poisson: 0.35} # polymer (MPa); the frame is rigid for the flow
|
|
31
|
+
properties: [hydraulic_permeability, acoustic]
|
|
32
|
+
tolerance: 1.0e-4
|
|
33
|
+
outputs:
|
|
34
|
+
directory: out/homogenization_acoustic_foam
|
|
35
|
+
name: foam
|
|
36
|
+
image: [vti]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# The probability of cleavage of a ferritic steel, by the local approach of Beremin. A
|
|
2
|
+
# polycrystal of 20 grains on voxels, each a cubic crystal that slips on its {110}<111>
|
|
3
|
+
# and {112}<111> systems, pulled to 3 % at a low temperature. Cleavage starts at
|
|
4
|
+
# microcracks that the plastic strain nucleates: every voxel that has yielded is a link
|
|
5
|
+
# of a chain, driven by the largest normal stress of the {100} planes of its grain, and
|
|
6
|
+
# the Weibull stress of the cell, (sum of sigma^m V / V0)^(1/m), gives the probability
|
|
7
|
+
# that the weakest link has failed, 1 - exp(-(sigma_w / sigma_u)^m). The cell stands
|
|
8
|
+
# for a point of the gauge of a tensile bar of 10^6 such cells, 1 cm^3: the reference
|
|
9
|
+
# volume V0 = (50 micrometres)^3 is divided by their number. The probability rises
|
|
10
|
+
# with the hardening, from nothing at the yield stress to a half near 2 %: the scatter
|
|
11
|
+
# of the strain to failure of a brittle steel. The curve
|
|
12
|
+
# (steel_0000_tension_periodic.csv) has the Weibull stress and the probability at each
|
|
13
|
+
# step; the field (..._beremin.vti) the stress that drives each voxel. Half a minute.
|
|
14
|
+
model:
|
|
15
|
+
type: voronoi
|
|
16
|
+
n_cells: 20
|
|
17
|
+
crystal_orientations: true
|
|
18
|
+
domain:
|
|
19
|
+
size: 0.1 # mm: grains of some 40 micrometres
|
|
20
|
+
periodic: true
|
|
21
|
+
seed: 7
|
|
22
|
+
voxels:
|
|
23
|
+
shape: 12
|
|
24
|
+
homogenization:
|
|
25
|
+
method: fft
|
|
26
|
+
materials:
|
|
27
|
+
1:
|
|
28
|
+
cubic: [230000.0, 135000.0, 117000.0] # c11, c12, c44 (MPa)
|
|
29
|
+
crystal_plasticity:
|
|
30
|
+
families: [bcc110, bcc112]
|
|
31
|
+
tau0: 250.0 # a low temperature
|
|
32
|
+
Q: 80.0
|
|
33
|
+
b: 15.0
|
|
34
|
+
K: 10.0
|
|
35
|
+
n: 10.0
|
|
36
|
+
properties: []
|
|
37
|
+
paths:
|
|
38
|
+
tension: # the other components: zero stress
|
|
39
|
+
times: [0, 1]
|
|
40
|
+
increments: 20
|
|
41
|
+
strain: {"33": [0, 0.03]}
|
|
42
|
+
beremin:
|
|
43
|
+
modulus: 22.0 # m of Weibull
|
|
44
|
+
scale: 1550.0 # sigma_u (MPa)
|
|
45
|
+
volume: 1.25e-10 # V0 = (0.05 mm)^3 over the 10^6 cells of the gauge (mm^3)
|
|
46
|
+
planes: cube # the normal stress of {100}; left out: the principal stress
|
|
47
|
+
plastic: 1.0e-4 # the plastic zone: the points beyond this plastic strain
|
|
48
|
+
outputs:
|
|
49
|
+
directory: out/homogenization_beremin
|
|
50
|
+
name: steel
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# The cleavage of a polycrystal. A polycrystal of iron at a low temperature on voxels:
|
|
2
|
+
# each grain a cubic crystal that slips on its {110}<111> systems, hard, and whose {100}
|
|
3
|
+
# planes cleave: a plane opens when its normal stress is its strength, and its strength
|
|
4
|
+
# then falls with its opening, the fracture energy of the planes being dissipated in a
|
|
5
|
+
# band of one voxel (the crack band: energy and length). Pulled, the polycrystal is
|
|
6
|
+
# elastic up to the strength of its best oriented planes, then a crack crosses its
|
|
7
|
+
# grains from plane to plane: the stress falls, and the work that broke the cell is a
|
|
8
|
+
# few times the fracture energy times its section (the planes of the grains are
|
|
9
|
+
# inclined: steps, bridges). With a softer slip (tau0: 150), the grains flow before
|
|
10
|
+
# their planes open: slip shields cleavage, the ductile-to-brittle transition. The
|
|
11
|
+
# curve (iron_0000_tension_periodic.csv) has the opening and the damage of the planes;
|
|
12
|
+
# the fields (.vti) those of each voxel. Half a minute.
|
|
13
|
+
model:
|
|
14
|
+
type: voronoi
|
|
15
|
+
n_cells: 8
|
|
16
|
+
crystal_orientations: true
|
|
17
|
+
domain:
|
|
18
|
+
size: 0.1 # mm: grains of some 50 micrometres
|
|
19
|
+
periodic: true
|
|
20
|
+
seed: 2
|
|
21
|
+
voxels:
|
|
22
|
+
shape: 12
|
|
23
|
+
homogenization:
|
|
24
|
+
method: fft
|
|
25
|
+
materials:
|
|
26
|
+
1:
|
|
27
|
+
cubic: [230000.0, 135000.0, 117000.0] # c11, c12, c44 (MPa)
|
|
28
|
+
crystal_plasticity:
|
|
29
|
+
K: 10.0
|
|
30
|
+
n: 10.0
|
|
31
|
+
families:
|
|
32
|
+
bcc110: {tau0: 300.0, Q: 100.0, b: 20.0} # hard: a low temperature
|
|
33
|
+
cleavage:
|
|
34
|
+
planes: cube # {100}; also dodecahedral {110}, octahedral {111}
|
|
35
|
+
strength: 500.0 # the normal stress that opens a plane (MPa)
|
|
36
|
+
energy: 0.05 # the fracture energy of the planes (N/mm)
|
|
37
|
+
length: 0.00833 # the size of the voxels that dissipate it (size / shape)
|
|
38
|
+
K: 50.0 # a viscosity of the opening: the crack crosses the cell at
|
|
39
|
+
n: 1.0 # once (a snap-back), the steps pass with it
|
|
40
|
+
# coupling: 5.0 # the strength falls as exp(-coupling x cumulated slip): the
|
|
41
|
+
# slip nucleates the cleavage (a softer slip, stronger planes)
|
|
42
|
+
properties: []
|
|
43
|
+
fields: true
|
|
44
|
+
paths:
|
|
45
|
+
tension: # the other components: zero stress
|
|
46
|
+
times: [0, 1]
|
|
47
|
+
increments: 40
|
|
48
|
+
strain: {"33": [0, 0.01]}
|
|
49
|
+
outputs:
|
|
50
|
+
directory: out/homogenization_cleavage
|
|
51
|
+
name: iron
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Cleavage across a band of a given width. The polycrystal of iron of
|
|
2
|
+
# homogenization_cleavage, here columnar on a finer grid, whose {100} planes are
|
|
3
|
+
# regularized by their microdamage (Aslan & Forest 2009): the strength of a plane falls
|
|
4
|
+
# with the damage of its point and with a field that follows it over a length, the
|
|
5
|
+
# microdamage, so that a plane breaks across a band of a width of its own - five voxels
|
|
6
|
+
# here, whatever the grid - and not across one voxel. The fracture energy of the planes
|
|
7
|
+
# is dissipated in this band: no length of elements to give, and the same crack on a
|
|
8
|
+
# finer grid. Pulled, the polycrystal is elastic up to the strength of its best oriented
|
|
9
|
+
# planes (510 MPa at 0.30 %), then a crack crosses its grains within a step, in a band
|
|
10
|
+
# that winds a little from grain to grain: the planes of its middle are broken through,
|
|
11
|
+
# and the work that broke the cell is 1.7 times the fracture energy times its section
|
|
12
|
+
# (the planes of the grains are inclined to the band: they open and slide). The curve
|
|
13
|
+
# (iron_0000_tension_periodic.csv) has the opening, the damage and the microdamage of
|
|
14
|
+
# the planes; the fields (.vti) those of each voxel: the damage is the share of its
|
|
15
|
+
# strength that a plane has lost, 1 where it is broken through. Half a minute.
|
|
16
|
+
model:
|
|
17
|
+
type: voronoi
|
|
18
|
+
n_cells: 5
|
|
19
|
+
crystal_orientations: true
|
|
20
|
+
domain:
|
|
21
|
+
size: [0.1, 0.1, 0.003125] # mm: a slice one voxel thick, columnar grains
|
|
22
|
+
periodic: true
|
|
23
|
+
seed: 3
|
|
24
|
+
voxels:
|
|
25
|
+
shape: [32, 32, 1]
|
|
26
|
+
homogenization:
|
|
27
|
+
method: fft
|
|
28
|
+
materials:
|
|
29
|
+
1:
|
|
30
|
+
cubic: [230000.0, 135000.0, 117000.0] # c11, c12, c44 (MPa)
|
|
31
|
+
crystal_plasticity:
|
|
32
|
+
K: 10.0
|
|
33
|
+
n: 10.0
|
|
34
|
+
families:
|
|
35
|
+
bcc110: {tau0: 300.0, Q: 100.0, b: 20.0} # hard: a low temperature
|
|
36
|
+
cleavage:
|
|
37
|
+
planes: cube # {100}
|
|
38
|
+
strength: 500.0 # the normal stress that opens a plane (MPa)
|
|
39
|
+
energy: 0.05 # the fracture energy of the planes (N/mm)
|
|
40
|
+
regularization:
|
|
41
|
+
width: 0.015625 # the width of the damage band (mm): five voxels, some
|
|
42
|
+
# seven lengths of the microdamage; or {modulus, length}
|
|
43
|
+
# with the linear softening of the planes
|
|
44
|
+
K: 50.0 # a viscosity of the opening
|
|
45
|
+
n: 1.0
|
|
46
|
+
properties: []
|
|
47
|
+
fields: true
|
|
48
|
+
paths:
|
|
49
|
+
tension: # the other components: zero stress
|
|
50
|
+
times: [0, 1]
|
|
51
|
+
increments: 40
|
|
52
|
+
strain: {"11": [0, 0.006]}
|
|
53
|
+
outputs:
|
|
54
|
+
directory: out/homogenization_cleavage_band
|
|
55
|
+
name: iron
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Plates parted by thin gaps and held apart by pillars (a laminate whose void layers have
|
|
2
|
+
# holes: the pillars), compressed across the plates in finite strains. The plates first
|
|
3
|
+
# bend between the pillars and the cell is soft; then the gaps close one after another:
|
|
4
|
+
# the plates come to rest on each other (the self-contact of the walls of the pores, with
|
|
5
|
+
# Coulomb's friction, also through the faces of the periodic cell) and the cell becomes
|
|
6
|
+
# five times stiffer. Unloaded, it comes back along nearly the same curve: the walls
|
|
7
|
+
# press more than they rub. The curve (gaps_0000_compression_periodic.csv) has at each
|
|
8
|
+
# step the area in contact, the largest pressure and the energy that friction dissipated;
|
|
9
|
+
# about two minutes.
|
|
10
|
+
model:
|
|
11
|
+
type: random_laminate
|
|
12
|
+
thickness: {type: uniform, low: 0.05, high: 0.11} # the gaps (phase 1)
|
|
13
|
+
spacing: 0.3 # the plates (phase 0)
|
|
14
|
+
axis: 2
|
|
15
|
+
hole_fraction: 0.5 # the pillars: holes through the layers of phase 1
|
|
16
|
+
hole_radius: 0.2
|
|
17
|
+
domain:
|
|
18
|
+
size: [2.4, 0.08, 1.2] # a slice: the pillars are walls across it
|
|
19
|
+
periodic: true
|
|
20
|
+
seed: 8 # a pillar or two across each of the three gaps
|
|
21
|
+
mesh:
|
|
22
|
+
size: 0.08
|
|
23
|
+
background: 0.04 # the sampling of the level set: the gaps
|
|
24
|
+
min_size: 0.04
|
|
25
|
+
hausdorff: 0.008
|
|
26
|
+
order: 1 # 4-node tetrahedra, eight across a plate
|
|
27
|
+
homogenization:
|
|
28
|
+
method: fe
|
|
29
|
+
materials:
|
|
30
|
+
0: {young: 1000.0, poisson: 0.3} # the plates and the pillars
|
|
31
|
+
1: void # the gaps: the mesh is that of the solid
|
|
32
|
+
properties: []
|
|
33
|
+
paths:
|
|
34
|
+
compression: # free components: zero stress
|
|
35
|
+
times: [0, 1, 2]
|
|
36
|
+
increments: [15, 15]
|
|
37
|
+
strain: {"33": [0, -0.15, 0], "23": 0.0, "13": 0.0, "12": 0.0}
|
|
38
|
+
nonlinear:
|
|
39
|
+
contact: {friction: 0.3} # the walls of the pores touch; finite strains by default
|
|
40
|
+
outputs:
|
|
41
|
+
directory: out/homogenization_contact
|
|
42
|
+
name: gaps
|
|
43
|
+
conforming_mesh: [vtu]
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# A cleavage crack that closes. A polycrystal of iron at a low temperature on voxels (the
|
|
2
|
+
# crystals of the template homogenization_cleavage: hard slip, {100} planes that cleave),
|
|
3
|
+
# pulled until a crack has crossed its grains, then pushed. The opening of a cleavage
|
|
4
|
+
# plane goes back under pressure (closure: true, the default): the crack closes at a low
|
|
5
|
+
# stress, and once closed the polycrystal carries the pressure nearly as the sound one,
|
|
6
|
+
# its lips rubbing on each other (friction). Without the closure (closure: false) the
|
|
7
|
+
# planes keep their opening: the lattice alone is pressed as soon as the strain goes
|
|
8
|
+
# down, yields, and the planes break further in shear. The curve
|
|
9
|
+
# (iron_0000_cycle_periodic.csv) has the opening and the damage of the planes at each
|
|
10
|
+
# step; the fields (.vti) those of each voxel. A minute.
|
|
11
|
+
model:
|
|
12
|
+
type: voronoi
|
|
13
|
+
n_cells: 6
|
|
14
|
+
crystal_orientations: true
|
|
15
|
+
domain:
|
|
16
|
+
size: 0.1 # mm
|
|
17
|
+
periodic: true
|
|
18
|
+
seed: 2
|
|
19
|
+
voxels:
|
|
20
|
+
shape: 8
|
|
21
|
+
homogenization:
|
|
22
|
+
method: fft
|
|
23
|
+
materials:
|
|
24
|
+
1:
|
|
25
|
+
cubic: [230000.0, 135000.0, 117000.0] # c11, c12, c44 (MPa)
|
|
26
|
+
crystal_plasticity:
|
|
27
|
+
K: 10.0
|
|
28
|
+
n: 10.0
|
|
29
|
+
families:
|
|
30
|
+
bcc110: {tau0: 300.0, Q: 100.0, b: 20.0}
|
|
31
|
+
cleavage:
|
|
32
|
+
planes: cube # {100}
|
|
33
|
+
strength: 500.0 # the normal stress that opens a plane (MPa)
|
|
34
|
+
energy: 0.05 # the fracture energy of the planes (N/mm)
|
|
35
|
+
length: 0.0125 # the size of the voxels that dissipate it (size / shape)
|
|
36
|
+
K: 50.0
|
|
37
|
+
n: 1.0
|
|
38
|
+
closure: true # the planes close under pressure (the default)
|
|
39
|
+
friction: 0.3 # Coulomb's, of the lips of a plane under pressure (default 0)
|
|
40
|
+
properties: []
|
|
41
|
+
fields: true
|
|
42
|
+
paths:
|
|
43
|
+
cycle: # the other components: zero stress
|
|
44
|
+
times: [0, 1, 2]
|
|
45
|
+
increments: [40, 24]
|
|
46
|
+
strain: {"33": [0, 0.01, -0.002]}
|
|
47
|
+
outputs:
|
|
48
|
+
directory: out/homogenization_crack_closure
|
|
49
|
+
name: iron
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Tension of a polycrystal of a nickel alloy to 10 % in finite strains: a periodic Voronoi
|
|
2
|
+
# tessellation of 12 grains with random orientations, meshed grain by grain with
|
|
3
|
+
# quadratic tetrahedra (linear ones lock under plastic flow), each grain a cubic crystal
|
|
4
|
+
# slipping on its 12 octahedral systems (crystal plasticity of Meric and Cailletaud). The
|
|
5
|
+
# lateral faces are free of tractions: a uniaxial Cauchy stress. Curves
|
|
6
|
+
# (polycrystal_0000_tension_periodic.csv): nominal strains and stresses E, S (components of
|
|
7
|
+
# the macroscopic gradient F - I and of the first Piola-Kirchhoff stress), true
|
|
8
|
+
# (logarithmic) strains LE and true (Cauchy) stresses TS, mean cumulated plastic strain p.
|
|
9
|
+
# Fields (.vtu, at 0.1, 0.5, 2 and 10 %): Cauchy stress, logarithmic strain, plastic
|
|
10
|
+
# strain, current orientations of the lattices and displacement of the nodes (warp the
|
|
11
|
+
# mesh by it in ParaView).
|
|
12
|
+
model:
|
|
13
|
+
type: voronoi
|
|
14
|
+
n_cells: 12
|
|
15
|
+
crystal_orientations: true
|
|
16
|
+
domain:
|
|
17
|
+
size: 1.0
|
|
18
|
+
periodic: true
|
|
19
|
+
seed: 11
|
|
20
|
+
mesh:
|
|
21
|
+
size: 0.2
|
|
22
|
+
min_feature: 0.05
|
|
23
|
+
order: 2 # quadratic tetrahedra
|
|
24
|
+
homogenization:
|
|
25
|
+
materials:
|
|
26
|
+
1:
|
|
27
|
+
cubic: [250000, 160000, 120000] # MPa
|
|
28
|
+
crystal_plasticity:
|
|
29
|
+
families: [octahedral] # also cube, bcc110, bcc112
|
|
30
|
+
tau0: 80 # critical resolved shear stress (MPa)
|
|
31
|
+
Q: 20 # r = tau0 + Q sum_r h_sr (1 - exp(-b v_r))
|
|
32
|
+
b: 10
|
|
33
|
+
C: 20000 # x = C alpha, dalpha = dgamma - D alpha |dgamma|
|
|
34
|
+
D: 300
|
|
35
|
+
K: 25 # dgamma/dt = <(|tau - x| - r) / K>^n
|
|
36
|
+
n: 10
|
|
37
|
+
# self, coplanar, Hirth, collinear, glissile and Lomer interactions
|
|
38
|
+
interaction: [1.0, 1.0, 0.6, 12.3, 1.6, 1.3]
|
|
39
|
+
boundary_conditions: [periodic]
|
|
40
|
+
paths:
|
|
41
|
+
tension: # strain rate 1e-3 /s
|
|
42
|
+
times: [0, 1, 5, 20, 100]
|
|
43
|
+
increments: [4, 16, 15, 32] # steps of 0.025 % through the elastic-plastic
|
|
44
|
+
strain: {"11": [0, 0.001, 0.005, 0.02, 0.1]} # transition, then 0.1 and 0.25 %
|
|
45
|
+
nonlinear:
|
|
46
|
+
kinematics: finite # or small
|
|
47
|
+
fields: true
|
|
48
|
+
outputs:
|
|
49
|
+
directory: out/homogenization_crystal_plasticity
|
|
50
|
+
name: polycrystal
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Tension of a polycrystal of a nickel alloy to 5 % in finite strains, on voxels: a
|
|
2
|
+
# periodic Voronoi tessellation of 20 grains with random orientations, 24^3 voxels, solved
|
|
3
|
+
# by the nonlinear FFT solver (the periodic element on trilinear voxels with F-bar, Newton
|
|
4
|
+
# iterations whose corrections are solved by conjugate gradients preconditioned in Fourier
|
|
5
|
+
# space). Each grain is a cubic crystal slipping on its 12 octahedral systems (crystal
|
|
6
|
+
# plasticity of Meric and Cailletaud), as in homogenization_crystal_plasticity (meshed
|
|
7
|
+
# grains). The lateral faces are free of tractions: a uniaxial Cauchy stress. Curves
|
|
8
|
+
# (polycrystal_0000_tension_periodic.csv): nominal strains and stresses E, S (components of
|
|
9
|
+
# the macroscopic gradient F - I and of the first Piola-Kirchhoff stress), true
|
|
10
|
+
# (logarithmic) strains LE and true (Cauchy) stresses TS, mean cumulated plastic strain p.
|
|
11
|
+
# Fields (.vti, at 0.1, 0.5, 2 and 5 %): Cauchy stress, logarithmic strain, plastic
|
|
12
|
+
# strain, current orientations of the lattices and displacement at the centres of the
|
|
13
|
+
# voxels, one array per component (stress_11 ...).
|
|
14
|
+
model:
|
|
15
|
+
type: voronoi
|
|
16
|
+
n_cells: 20
|
|
17
|
+
crystal_orientations: true
|
|
18
|
+
domain:
|
|
19
|
+
size: 1.0
|
|
20
|
+
periodic: true
|
|
21
|
+
seed: 11
|
|
22
|
+
voxels:
|
|
23
|
+
shape: 24 # about 700 voxels per grain
|
|
24
|
+
homogenization:
|
|
25
|
+
method: fft # voxel image, periodic conditions
|
|
26
|
+
materials:
|
|
27
|
+
1:
|
|
28
|
+
cubic: [250000, 160000, 120000] # MPa
|
|
29
|
+
crystal_plasticity:
|
|
30
|
+
families: [octahedral] # also cube, bcc110, bcc112
|
|
31
|
+
tau0: 80 # critical resolved shear stress (MPa)
|
|
32
|
+
Q: 20 # r = tau0 + Q sum_r h_sr (1 - exp(-b v_r))
|
|
33
|
+
b: 10
|
|
34
|
+
C: 20000 # x = C alpha, dalpha = dgamma - D alpha |dgamma|
|
|
35
|
+
D: 300
|
|
36
|
+
K: 25 # dgamma/dt = <(|tau - x| - r) / K>^n
|
|
37
|
+
n: 10
|
|
38
|
+
# self, coplanar, Hirth, collinear, glissile and Lomer interactions
|
|
39
|
+
interaction: [1.0, 1.0, 0.6, 12.3, 1.6, 1.3]
|
|
40
|
+
boundary_conditions: [periodic]
|
|
41
|
+
paths:
|
|
42
|
+
tension: # strain rate 1e-3 /s
|
|
43
|
+
times: [0, 1, 5, 20, 50]
|
|
44
|
+
increments: [4, 16, 15, 15] # steps of 0.025 % through the elastic-plastic
|
|
45
|
+
strain: {"11": [0, 0.001, 0.005, 0.02, 0.05]} # transition, then 0.1 and 0.2 %
|
|
46
|
+
nonlinear:
|
|
47
|
+
kinematics: finite # or small
|
|
48
|
+
integration: bbar # F-bar (B-bar in small strains); full: locking
|
|
49
|
+
fields: true
|
|
50
|
+
outputs:
|
|
51
|
+
directory: out/homogenization_crystal_plasticity_fft
|
|
52
|
+
name: polycrystal
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Partially crystallized material: spherical grains nucleated at a constant rate grow in
|
|
2
|
+
# an amorphous matrix until the transformation is stopped (36 % crystallized according
|
|
3
|
+
# to the Avrami law, see run.json; about 40 grains per sample). The arrival time of the
|
|
4
|
+
# growth front gives an exact level set, so that the grains are meshed conformingly
|
|
5
|
+
# (MMG) and homogenized by finite elements, like the other implicit morphologies, with
|
|
6
|
+
# 10-node elements whose nodes lie on the grains (about a minute per sample).
|
|
7
|
+
model:
|
|
8
|
+
type: nucleation_growth
|
|
9
|
+
nucleation: continuous
|
|
10
|
+
nucleation_rate: 0.006
|
|
11
|
+
growth_rate: 0.65
|
|
12
|
+
time: 4.0
|
|
13
|
+
cell_size: 0.25
|
|
14
|
+
domain:
|
|
15
|
+
size: 12.0
|
|
16
|
+
periodic: true
|
|
17
|
+
seed: 1940
|
|
18
|
+
realizations: 2
|
|
19
|
+
mesh:
|
|
20
|
+
size: 1.0
|
|
21
|
+
homogenization:
|
|
22
|
+
materials:
|
|
23
|
+
0: {young: 2.5, poisson: 0.38, conductivity: 0.2} # amorphous polymer, GPa
|
|
24
|
+
1: {young: 6.0, poisson: 0.33, conductivity: 0.4} # crystallites
|
|
25
|
+
boundary_conditions: [periodic]
|
|
26
|
+
properties: [bulk_modulus, shear_modulus, conductivity]
|
|
27
|
+
outputs:
|
|
28
|
+
directory: out/homogenization_crystallization
|
|
29
|
+
name: crystallized
|
|
30
|
+
conforming_mesh: [vtu]
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Glass beads that debond from their matrix. The interfaces of the two phases are
|
|
2
|
+
# cohesive: a bilinear traction-separation law (a strength and a fracture energy) whose
|
|
3
|
+
# broken points touch again in compression and rub (Coulomb's friction). Pulled, the
|
|
4
|
+
# composite is first as stiff as with bonded beads; between one and two percent of strain
|
|
5
|
+
# the beads debond, from their poles, and its tangent modulus falls to that of a matrix
|
|
6
|
+
# with holes. Unloaded, it comes back to the origin along the softer modulus; pushed, the
|
|
7
|
+
# poles of the beads close and carry the load again: nearly the modulus of the bonded
|
|
8
|
+
# composite, in compression only. The curve (beads_0000_tension_periodic.csv) has at
|
|
9
|
+
# each step the debonded area, the mean damage and the largest opening of the interfaces
|
|
10
|
+
# and the energy that friction dissipated; about a minute.
|
|
11
|
+
model:
|
|
12
|
+
type: hardcore_spheres
|
|
13
|
+
radius: 0.45
|
|
14
|
+
number: 2
|
|
15
|
+
domain:
|
|
16
|
+
size: 2.0
|
|
17
|
+
periodic: true
|
|
18
|
+
seed: 3
|
|
19
|
+
mesh:
|
|
20
|
+
size: 0.45
|
|
21
|
+
hausdorff: 0.04 # the distance of the faces to the spheres
|
|
22
|
+
order: 1 # 4-node tetrahedra, interface elements of three nodes a side
|
|
23
|
+
homogenization:
|
|
24
|
+
method: fe
|
|
25
|
+
materials:
|
|
26
|
+
0: {young: 3000.0, poisson: 0.35} # the matrix (an epoxy, MPa)
|
|
27
|
+
1: {young: 70000.0, poisson: 0.22} # the beads (glass)
|
|
28
|
+
properties: []
|
|
29
|
+
paths:
|
|
30
|
+
tension: # free components: zero stress
|
|
31
|
+
times: [0, 1, 2, 3]
|
|
32
|
+
increments: [24, 8, 8]
|
|
33
|
+
strain: {"11": [0, 0.03, 0, -0.01]}
|
|
34
|
+
nonlinear:
|
|
35
|
+
interfaces:
|
|
36
|
+
normal_strength: 30.0 # MPa: the shear strength is the same unless given
|
|
37
|
+
mode_I: 0.05 # the fracture energy (N/mm)
|
|
38
|
+
friction: 0.3 # of the broken interfaces
|
|
39
|
+
viscosity: 0.02 # a bead debonds at once: the damage is slowed (time of the path)
|
|
40
|
+
outputs:
|
|
41
|
+
directory: out/homogenization_debonding
|
|
42
|
+
name: beads
|
|
43
|
+
conforming_mesh: [vtu]
|