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,26 @@
|
|
|
1
|
+
# Nanolayered film (Bironeau et al. 2016): layers of two polymers of lognormal
|
|
2
|
+
# thicknesses stacked along z, the thinner layers (phase 1) broken up by holes covering
|
|
3
|
+
# 20 % of their area. Two scales of heterogeneity: the layers along z, the holes in the
|
|
4
|
+
# plane. Without holes, the variance of the volume fraction of a cube of edge L
|
|
5
|
+
# decreases as 1/L only (theory: integral_range_1d).
|
|
6
|
+
model:
|
|
7
|
+
type: random_laminate
|
|
8
|
+
thickness: {type: lognormal, mean: 0.1, std: 0.05} # layers of phase 1 (um)
|
|
9
|
+
spacing: {type: lognormal, mean: 0.3, std: 0.1} # layers of phase 0
|
|
10
|
+
axis: 2
|
|
11
|
+
hole_fraction: 0.2
|
|
12
|
+
hole_radius: {type: uniform, low: 0.1, high: 0.3}
|
|
13
|
+
domain:
|
|
14
|
+
size: 5.0
|
|
15
|
+
periodic: true
|
|
16
|
+
unit: um
|
|
17
|
+
seed: 2016
|
|
18
|
+
realizations: 2
|
|
19
|
+
voxels:
|
|
20
|
+
shape: 128
|
|
21
|
+
outputs:
|
|
22
|
+
directory: out/random_laminate
|
|
23
|
+
name: film
|
|
24
|
+
geometry: [json]
|
|
25
|
+
image: [vti]
|
|
26
|
+
analysis: [volume_fraction, specific_surface, chords, thickness]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Strut lattice with defects: octet-truss struts removed at random down to a mean
|
|
2
|
+
# coordination of 7 struts per node (at least 3 at every node), and nodes displaced by up
|
|
3
|
+
# to 10 % of the cell size. The rigidity of the pin-jointed framework is analysed
|
|
4
|
+
# (results.csv: mechanisms, self-stresses, floppy macroscopic strains): below a mean
|
|
5
|
+
# coordination of about 6 (Maxwell), macroscopic strains become floppy and the lattice
|
|
6
|
+
# turns bending-dominated. Use mesh and homogenization sections (see
|
|
7
|
+
# homogenization_gyroid) for its apparent moduli.
|
|
8
|
+
model:
|
|
9
|
+
type: random_lattice
|
|
10
|
+
cell: octet # cubic, bcc, fcc or octet
|
|
11
|
+
cell_size: 1.0
|
|
12
|
+
strut_radius: 0.07
|
|
13
|
+
coordination: 7.0
|
|
14
|
+
perturbation: 0.1
|
|
15
|
+
domain:
|
|
16
|
+
size: 4.0 # periodic: a whole number of cells
|
|
17
|
+
periodic: true
|
|
18
|
+
seed: 2001
|
|
19
|
+
realizations: 3
|
|
20
|
+
voxels:
|
|
21
|
+
shape: 96
|
|
22
|
+
outputs:
|
|
23
|
+
directory: out/random_lattice
|
|
24
|
+
name: lattice
|
|
25
|
+
geometry: [json] # struts, and the framework (nodes, struts, shifts)
|
|
26
|
+
image: [vti]
|
|
27
|
+
analysis: [volume_fraction, connectivity]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Bending fibres without overlap at a high volume fraction (Altendorf & Jeulin 2011): random
|
|
2
|
+
# walks whose steps follow a von Mises-Fisher law between the main direction of their fibre
|
|
3
|
+
# (reliability kappa1) and the previous step (kappa2, the smoothness of the bending), packed
|
|
4
|
+
# by forces, repulsions of the overlapping segments against springs that keep their
|
|
5
|
+
# lengths and the angles of the joints, until no two fibres overlap. Up to about 0.5 for
|
|
6
|
+
# isotropic fibres of aspect ratio 11, more when aligned (beta -> 0).
|
|
7
|
+
model:
|
|
8
|
+
type: random_walk_fibers
|
|
9
|
+
radius: 0.5
|
|
10
|
+
length: 10.0 # contour length: aspect ratio (L + 2r) / 2r = 11
|
|
11
|
+
orientation: {type: beta, beta: 0.5} # Schladitz's beta law about z (1: isotropic)
|
|
12
|
+
kappa1: 10.0
|
|
13
|
+
kappa2: 100.0
|
|
14
|
+
volume_fraction: 0.35
|
|
15
|
+
domain:
|
|
16
|
+
size: 20.0
|
|
17
|
+
periodic: true
|
|
18
|
+
seed: 1
|
|
19
|
+
voxels:
|
|
20
|
+
voxel_size: 0.1
|
|
21
|
+
outputs:
|
|
22
|
+
directory: out/random_walk_fibers
|
|
23
|
+
name: fibres
|
|
24
|
+
geometry: [json]
|
|
25
|
+
image: [vti]
|
|
26
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Turing patterns of the Gray-Scott reaction-diffusion system (Pearson 1993): spots,
|
|
2
|
+
# worms, labyrinth or holes, or any feed and kill rates. The activator concentration is
|
|
3
|
+
# thresholded at the requested volume fraction; its smooth field gives smooth interfaces
|
|
4
|
+
# at any resolution and for conforming meshes. Patterns have a period of about 12 cells.
|
|
5
|
+
model:
|
|
6
|
+
type: reaction_diffusion
|
|
7
|
+
pattern: labyrinth
|
|
8
|
+
steps: 4000
|
|
9
|
+
volume_fraction: 0.4
|
|
10
|
+
cell_size: 0.0625 # a lattice of 64^3 cells, a period of about 0.75
|
|
11
|
+
domain:
|
|
12
|
+
size: 4.0
|
|
13
|
+
periodic: true
|
|
14
|
+
seed: 1993
|
|
15
|
+
voxels:
|
|
16
|
+
shape: 128 # twice the lattice resolution (interpolated field)
|
|
17
|
+
outputs:
|
|
18
|
+
directory: out/reaction_diffusion
|
|
19
|
+
name: labyrinth
|
|
20
|
+
image: [vti]
|
|
21
|
+
surface: [stl] # needs scikit-image
|
|
22
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Stochastic reconstruction (Yeong & Torquato 1998): a two-phase lattice annealed to the
|
|
2
|
+
# two-point probability S2 and the lineal-path function L of a realization of a Boolean
|
|
3
|
+
# model of spheres. S2 alone keeps the fraction and the correlations but not the
|
|
4
|
+
# connectedness along lines that L carries; compare the chords and the connectivity of
|
|
5
|
+
# the reconstruction with those of the reference (or set lineal_path: 0).
|
|
6
|
+
model:
|
|
7
|
+
type: reconstruction
|
|
8
|
+
reference: {type: boolean_spheres, radius: 0.08, volume_fraction: 0.3}
|
|
9
|
+
lineal_path: 1.0 # weight of L in the energy, 0: S2 alone
|
|
10
|
+
cell_size: 0.025
|
|
11
|
+
sweeps: 60
|
|
12
|
+
domain:
|
|
13
|
+
size: 1.0
|
|
14
|
+
periodic: true
|
|
15
|
+
seed: 1998
|
|
16
|
+
voxels:
|
|
17
|
+
shape: 40
|
|
18
|
+
outputs:
|
|
19
|
+
directory: out/reconstruction
|
|
20
|
+
name: reconstruction
|
|
21
|
+
image: [vti]
|
|
22
|
+
analysis: [volume_fraction, specific_surface, chords, connectivity]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# RVE study by the window method of a structure grown by a cellular automaton: the
|
|
2
|
+
# variance of the volume fraction over sub-volumes of one large realization gives its
|
|
3
|
+
# integral range and the RVE sizes for given precisions (Kanit et al. 2003). Automata
|
|
4
|
+
# generate any size in a few seconds: the lattice of the cube of edge 64 has 256^3 cells.
|
|
5
|
+
model:
|
|
6
|
+
type: cellular_automaton
|
|
7
|
+
rule: conserved # coarsening at constant volume fraction
|
|
8
|
+
volume_fraction: 0.3
|
|
9
|
+
steps: 30
|
|
10
|
+
cell_size: 0.25
|
|
11
|
+
domain:
|
|
12
|
+
periodic: true
|
|
13
|
+
seed: 2003
|
|
14
|
+
voxels:
|
|
15
|
+
voxel_size: 0.25 # one voxel per cell
|
|
16
|
+
rve:
|
|
17
|
+
method: windows
|
|
18
|
+
size: 64.0
|
|
19
|
+
window_sizes: [4, 8, 16]
|
|
20
|
+
relative_errors: [0.01, 0.05]
|
|
21
|
+
outputs:
|
|
22
|
+
directory: out/rve_cellular_automaton
|
|
23
|
+
name: automaton
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# RVE study of the elastic and viscoplastic responses of a polycrystal, after Yang,
|
|
2
|
+
# Dirrenberger, Monteiro & Ranc (2019): Poisson-Voronoi grains (one per unit volume,
|
|
3
|
+
# random orientations) of a nickel alloy with crystal plasticity (Meric and Cailletaud),
|
|
4
|
+
# pulled to 1 % at 1e-3 /s with free lateral faces, on voxels (the nonlinear FFT solver,
|
|
5
|
+
# periodic conditions). The apparent bulk and shear moduli and the stress of the tension
|
|
6
|
+
# at 0.1, 0.3 and 1 % (the end of the elastic regime, the elastic-plastic transition and
|
|
7
|
+
# the plastic flow) are analysed at three volumes: variance scaling, RVE sizes and their
|
|
8
|
+
# numbers of grains (rve_report.md). A laptop-sized study (about 90 s; wide confidence
|
|
9
|
+
# intervals): increase the sizes and the realizations, and split the study across
|
|
10
|
+
# cluster jobs (--task-id, --n-tasks), for real studies.
|
|
11
|
+
model:
|
|
12
|
+
type: voronoi
|
|
13
|
+
intensity: 1.0 # grains per unit volume
|
|
14
|
+
crystal_orientations: true
|
|
15
|
+
domain:
|
|
16
|
+
periodic: true
|
|
17
|
+
seed: 2019
|
|
18
|
+
voxels:
|
|
19
|
+
voxel_size: 0.2 # about 125 voxels per grain
|
|
20
|
+
homogenization:
|
|
21
|
+
method: fft
|
|
22
|
+
materials:
|
|
23
|
+
1:
|
|
24
|
+
cubic: [250000, 160000, 120000] # MPa
|
|
25
|
+
crystal_plasticity:
|
|
26
|
+
families: [octahedral]
|
|
27
|
+
tau0: 80 # MPa
|
|
28
|
+
Q: 20
|
|
29
|
+
b: 10
|
|
30
|
+
C: 20000
|
|
31
|
+
D: 300
|
|
32
|
+
K: 25
|
|
33
|
+
n: 10
|
|
34
|
+
interaction: [1.0, 1.0, 0.6, 12.3, 1.6, 1.3]
|
|
35
|
+
properties: [bulk_modulus, shear_modulus]
|
|
36
|
+
paths:
|
|
37
|
+
tension: # strain rate 1e-3 /s, lateral stresses free
|
|
38
|
+
times: [0, 1, 3, 10]
|
|
39
|
+
increments: [2, 4, 7]
|
|
40
|
+
strain: {"11": [0, 0.001, 0.003, 0.01]}
|
|
41
|
+
rve:
|
|
42
|
+
method: ensemble
|
|
43
|
+
sizes: [2, 3, 4] # 8, 27 and 64 grains on average
|
|
44
|
+
realizations: [16, 8, 4]
|
|
45
|
+
# quantities of the curves: S11 of the path tension at the times 1 and 3, and at its end
|
|
46
|
+
properties: [bulk_modulus, shear_modulus, tension.S11@1, tension.S11@3, tension.S11]
|
|
47
|
+
relative_errors: [0.01, 0.05]
|
|
48
|
+
n_realizations: [1, 10]
|
|
49
|
+
outputs:
|
|
50
|
+
directory: out/rve_crystal_plasticity_fft
|
|
51
|
+
name: polycrystal
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# The size of the representative volume element for several physics at once: the bulk
|
|
2
|
+
# modulus, the thermal conductivity, the swelling by moisture and the loss modulus at
|
|
3
|
+
# 10 rad/s of glass beads in a viscoelastic resin, and the stress of a loading path, on
|
|
4
|
+
# the same realizations (ensemble method, FFT solver). Every result can be named in
|
|
5
|
+
# rve.properties: scalars, <property>.<result> of tensors, couplings and harmonic
|
|
6
|
+
# properties, <path>.<quantity> of loading paths (a column, the strength, the work).
|
|
7
|
+
model:
|
|
8
|
+
type: boolean_spheres
|
|
9
|
+
radius: 1.0
|
|
10
|
+
volume_fraction: 0.2
|
|
11
|
+
domain:
|
|
12
|
+
periodic: true
|
|
13
|
+
seed: 1
|
|
14
|
+
voxels:
|
|
15
|
+
voxel_size: 0.5
|
|
16
|
+
homogenization:
|
|
17
|
+
method: fft
|
|
18
|
+
materials:
|
|
19
|
+
0:
|
|
20
|
+
young: 3.0e+9
|
|
21
|
+
poisson: 0.35
|
|
22
|
+
conductivity: 0.2
|
|
23
|
+
swelling: 0.4 # strain per unit moisture content
|
|
24
|
+
viscoelasticity: {shear: [[0.5, 0.01], [0.3, 1.0]]}
|
|
25
|
+
1: {young: 70.0e+9, poisson: 0.22, conductivity: 1.0}
|
|
26
|
+
properties: [bulk_modulus, conductivity, swelling, dynamic_stiffness]
|
|
27
|
+
frequencies: [10.0]
|
|
28
|
+
paths:
|
|
29
|
+
pull: {times: [0, 1], increments: 4, strain: {"11": [0, 0.01]}}
|
|
30
|
+
rve:
|
|
31
|
+
sizes: [4.0, 6.0, 8.0]
|
|
32
|
+
realizations: [16, 8, 4]
|
|
33
|
+
properties:
|
|
34
|
+
- volume_fraction
|
|
35
|
+
- bulk_modulus
|
|
36
|
+
- conductivity
|
|
37
|
+
- swelling.mean
|
|
38
|
+
- dynamic_stiffness.shear_loss_1
|
|
39
|
+
- pull.S11
|
|
40
|
+
- pull.work
|
|
41
|
+
outputs:
|
|
42
|
+
directory: out/rve_multiphysics
|
|
43
|
+
name: spheres
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RVE study by the ensemble method (Kanit et al. 2003; Dirrenberger et al. 2014):
|
|
2
|
+
# realizations at several sizes, variance of the volume fraction and specific surface,
|
|
3
|
+
# fit D^2(V) = K V^-gamma (gamma = 2/3 in theory for Poisson fibres), RVE sizes.
|
|
4
|
+
model:
|
|
5
|
+
type: poisson_fibers
|
|
6
|
+
radius: 1.0
|
|
7
|
+
volume_fraction: 0.16
|
|
8
|
+
domain:
|
|
9
|
+
periodic: false
|
|
10
|
+
seed: 2014
|
|
11
|
+
voxels:
|
|
12
|
+
voxel_size: 0.5
|
|
13
|
+
rve:
|
|
14
|
+
method: ensemble
|
|
15
|
+
sizes: [10, 15, 20, 30, 40] # cube edges
|
|
16
|
+
realizations: [64, 48, 32, 16, 8] # per size (or a single number)
|
|
17
|
+
properties: [volume_fraction, specific_surface]
|
|
18
|
+
relative_errors: [0.01, 0.05]
|
|
19
|
+
n_realizations: [1, 10]
|
|
20
|
+
outputs:
|
|
21
|
+
directory: out/rve_poisson_fibers
|
|
22
|
+
name: fibres
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# RVE study of the apparent elastic and thermal properties of Poisson fibres, after
|
|
2
|
+
# Dirrenberger, Forest & Jeulin (2014): steel fibres (16 %) in a porous matrix, kinematic
|
|
3
|
+
# (KUBC) and mixed (MBC) boundary conditions, gamma = 2/3 imposed for the RVE sizes.
|
|
4
|
+
# Each realization is meshed conformingly (only the fibres: the pores carry no stress
|
|
5
|
+
# nor flux) and solved by finite elements (10-node elements whose nodes lie on the
|
|
6
|
+
# fibres). This is a laptop-sized version (about four
|
|
7
|
+
# minutes): increase the sizes and realizations, and split the study across cluster
|
|
8
|
+
# jobs (--task-id, --n-tasks), for real studies.
|
|
9
|
+
model:
|
|
10
|
+
type: poisson_fibers
|
|
11
|
+
radius: 1.0
|
|
12
|
+
volume_fraction: 0.16
|
|
13
|
+
domain:
|
|
14
|
+
periodic: false
|
|
15
|
+
seed: 2014
|
|
16
|
+
mesh:
|
|
17
|
+
size: 1.0 # the fibre radius; the interface is refined
|
|
18
|
+
homogenization:
|
|
19
|
+
materials:
|
|
20
|
+
0: void # pores
|
|
21
|
+
1: {young: 210000.0, poisson: 0.3, conductivity: 100.0} # steel, MPa and W/(m K)
|
|
22
|
+
boundary_conditions: [kubc, mixed]
|
|
23
|
+
properties: [bulk_modulus, shear_modulus, conductivity]
|
|
24
|
+
rve:
|
|
25
|
+
method: ensemble
|
|
26
|
+
sizes: [5, 7, 9]
|
|
27
|
+
realizations: [12, 8, 5]
|
|
28
|
+
gamma: 0.6666667 # theoretical exponent of Poisson fibres (Jeulin 2011)
|
|
29
|
+
relative_errors: [0.01, 0.05]
|
|
30
|
+
n_realizations: [1, 10]
|
|
31
|
+
outputs:
|
|
32
|
+
directory: out/rve_poisson_fibers_fe
|
|
33
|
+
name: fibres
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RVE study by the window method: variance of the volume fraction over non-overlapping
|
|
2
|
+
# sub-volumes of one large two-phase Voronoi mosaic (integral range 1.179 / theta).
|
|
3
|
+
model:
|
|
4
|
+
type: voronoi
|
|
5
|
+
intensity: 1.0
|
|
6
|
+
phase_fractions: [0.5, 0.5]
|
|
7
|
+
domain:
|
|
8
|
+
periodic: true
|
|
9
|
+
seed: 2003
|
|
10
|
+
voxels:
|
|
11
|
+
voxel_size: 0.2
|
|
12
|
+
rve:
|
|
13
|
+
method: windows
|
|
14
|
+
size: 40.0
|
|
15
|
+
window_sizes: [4, 5, 8, 10] # window edges; keep at least ~30 windows per size
|
|
16
|
+
gamma: 1.0 # impose gamma = 1 (finite integral range)
|
|
17
|
+
min_volume: 100 # fit only windows much larger than the integral range
|
|
18
|
+
outputs:
|
|
19
|
+
directory: out/rve_voronoi_windows
|
|
20
|
+
name: mosaic
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Scale-rich network (Both, Chen, ..., Portela & Barabási, Nature 659, 345, 2026):
|
|
2
|
+
# ligaments lambda_0 t^-alpha thick grown one after another from points of the voids until
|
|
3
|
+
# they meet, so that their thicknesses, lengths and connectivities span orders of
|
|
4
|
+
# magnitude in one sample (power-law tails of exponents 1 + 1/alpha, 3 and 3). The network
|
|
5
|
+
# lies in the x-y plane and is extruded along z: a planar image one voxel thick, as the
|
|
6
|
+
# prismatic specimens of the paper (plane strain).
|
|
7
|
+
model:
|
|
8
|
+
type: scale_rich_network
|
|
9
|
+
n_ligaments: 500 # T, as the printed specimens of the paper
|
|
10
|
+
decay: 0.5 # alpha: 0 uniform thicknesses, 0.9 a few thick ligaments
|
|
11
|
+
volume_fraction: 0.4 # solved on each realization (or initial_thickness: 0.06)
|
|
12
|
+
# angles: [0, 90] # aligned ligaments (default: uniform orientations)
|
|
13
|
+
# pole: [0.5, 0.5] # polarized: along the direction of the pole...
|
|
14
|
+
# pole_angle: 90 # ...turned by 90 degrees: tangential, for...
|
|
15
|
+
# polarized_fraction: 0.2 # ...the first 20 % of the ligaments
|
|
16
|
+
# nucleation_gradient: [1, 4] # nucleation four times denser at the upper face along x
|
|
17
|
+
# frame: 0.005 # a frame of material: the sample as a periodic cell
|
|
18
|
+
domain:
|
|
19
|
+
size: [1.0, 1.0, 0.001]
|
|
20
|
+
periodic: false # the ligaments end on the boundary of the box
|
|
21
|
+
seed: 1
|
|
22
|
+
voxels:
|
|
23
|
+
voxel_size: 0.001 # the thinnest ligament, 0.06 / sqrt(500) = 0.0027 here
|
|
24
|
+
outputs:
|
|
25
|
+
directory: out/scale_rich_network
|
|
26
|
+
name: network
|
|
27
|
+
geometry: [json]
|
|
28
|
+
image: [vti]
|
|
29
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Scale-rich network of plates in three dimensions (Both, Chen, ..., Portela & Barabási,
|
|
2
|
+
# Nature 659, 345, 2026, Fig. 6a): plates lambda_0 t^-alpha thick grown one after another
|
|
3
|
+
# from points of the voids until they meet, each splitting a convex void into two closed
|
|
4
|
+
# cells, so that the areas and degrees of the plates have power-law tails of exponent 5/2.
|
|
5
|
+
# element: beams grows struts until they touch instead (open cells).
|
|
6
|
+
model:
|
|
7
|
+
type: scale_rich_network
|
|
8
|
+
dimension: 3
|
|
9
|
+
element: plates # or beams: struts, open cells
|
|
10
|
+
n_ligaments: 400 # T plates
|
|
11
|
+
decay: 0.3 # alpha: 0 uniform thicknesses, 0.9 a few thick plates
|
|
12
|
+
volume_fraction: 0.3 # solved on each realization (or initial_thickness: 0.04)
|
|
13
|
+
# orientation: {type: aligned, direction: [0, 0, 1]} # layers (default: isotropic)
|
|
14
|
+
# pole: [0.5, 0.5, 0.5] # polarized normals: at pole_angle to the direction...
|
|
15
|
+
# pole_angle: 90 # ...of the pole, here shells about it
|
|
16
|
+
# nucleation_gradient: [1, 4] # nucleation four times denser at the top...
|
|
17
|
+
# gradient_axis: 2 # ...along z
|
|
18
|
+
# frame: 0.02 # a closed box: the sample as the cell of a periodic medium
|
|
19
|
+
domain:
|
|
20
|
+
size: [1.0, 1.0, 1.0]
|
|
21
|
+
periodic: false # the plates end on the boundary of the box
|
|
22
|
+
seed: 1
|
|
23
|
+
voxels:
|
|
24
|
+
voxel_size: 0.00625 # 160^3: the thinnest plate, 0.039 / 400^0.3 = 0.0065 here
|
|
25
|
+
outputs:
|
|
26
|
+
directory: out/scale_rich_plates
|
|
27
|
+
name: plates
|
|
28
|
+
geometry: [json]
|
|
29
|
+
image: [vti]
|
|
30
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Sequential dead leaves (Jeulin 1997): two families of spheroidal leaves, small and
|
|
2
|
+
# prolate (phase 1) or large and flat (phase 2), fall on a background (phase 0) until
|
|
3
|
+
# each point is covered 1.5 times on average: exp(-1.5) = 22 % of it stays uncovered.
|
|
4
|
+
# phase_fractions are the fractions of space of the leaves of each phase; the theory
|
|
5
|
+
# gives the fractions with the background, the covariances and the integral range.
|
|
6
|
+
model:
|
|
7
|
+
type: dead_leaves
|
|
8
|
+
shape: spheroid
|
|
9
|
+
aspect_ratio: 2.0
|
|
10
|
+
phase_fractions: [0.0, 0.6, 0.4]
|
|
11
|
+
phase_radius: [0.05, 0.04, 0.09]
|
|
12
|
+
coverage: 1.5
|
|
13
|
+
background: 0
|
|
14
|
+
domain:
|
|
15
|
+
size: 1.0
|
|
16
|
+
periodic: true
|
|
17
|
+
seed: 1968
|
|
18
|
+
voxels:
|
|
19
|
+
shape: 96
|
|
20
|
+
outputs:
|
|
21
|
+
directory: out/sequential_dead_leaves
|
|
22
|
+
name: leaves
|
|
23
|
+
image: [vti]
|
|
24
|
+
labels: [vti] # visible leaves; the background is the last label
|
|
25
|
+
analysis: [phase_fractions, specific_surface, cells]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Octet-truss strut lattice at 15 % relative density.
|
|
2
|
+
model:
|
|
3
|
+
type: strut_lattice
|
|
4
|
+
cell: octet # cubic | bcc | fcc | octet
|
|
5
|
+
cell_size: 5.0
|
|
6
|
+
volume_fraction: 0.15 # or strut_radius
|
|
7
|
+
domain:
|
|
8
|
+
size: 15.0
|
|
9
|
+
periodic: true
|
|
10
|
+
unit: mm
|
|
11
|
+
voxels:
|
|
12
|
+
voxel_size: 0.1
|
|
13
|
+
outputs:
|
|
14
|
+
directory: out/strut_lattice
|
|
15
|
+
name: octet
|
|
16
|
+
geometry: [csv] # struts: end points and radius
|
|
17
|
+
surface: [stl]
|
|
18
|
+
mesh:
|
|
19
|
+
formats: [vtu]
|
|
20
|
+
phases: [1]
|
|
21
|
+
analysis: [volume_fraction]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Combinatorial design: a random compatible assembly of building blocks. Pipe tiles join
|
|
2
|
+
# a node to some of their faces; an open face must meet an open face, so the network has
|
|
3
|
+
# no dead end at the tile boundaries, and 'degrees' sets the allowed node degrees (here:
|
|
4
|
+
# no dead ends at all). The assembly is drawn by wave function collapse (constraint
|
|
5
|
+
# propagation with backtracking). With tiles: polarized (blocks of combinatorial
|
|
6
|
+
# metamaterials, after Coulais et al. 2016), periodic boxes need an even number of tiles
|
|
7
|
+
# along each axis; method: uniform draws uniformly among all compatible assemblies of
|
|
8
|
+
# narrow boxes (exact transfer matrices), method: random ignores compatibility.
|
|
9
|
+
model:
|
|
10
|
+
type: tile_assembly
|
|
11
|
+
tiles: pipes
|
|
12
|
+
degrees: [0, 2, 3, 4]
|
|
13
|
+
open_probability: 0.6
|
|
14
|
+
pipe_radius: 0.18
|
|
15
|
+
tile_length: 1.0
|
|
16
|
+
tile_cells: 12 # lattice cells per tile edge
|
|
17
|
+
domain:
|
|
18
|
+
size: 8.0
|
|
19
|
+
periodic: true
|
|
20
|
+
seed: 2016
|
|
21
|
+
voxels:
|
|
22
|
+
shape: 96 # one voxel per lattice cell
|
|
23
|
+
outputs:
|
|
24
|
+
directory: out/tile_assembly
|
|
25
|
+
name: pipes
|
|
26
|
+
geometry: [json] # lattice and tile indices of the assembly
|
|
27
|
+
image: [vti]
|
|
28
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Sheet gyroid at 20 % relative density (architected material for additive manufacturing).
|
|
2
|
+
model:
|
|
3
|
+
type: tpms
|
|
4
|
+
surface: gyroid # gyroid | schwarz_p | schwarz_d | neovius
|
|
5
|
+
variant: sheet # sheet | network
|
|
6
|
+
cell_size: 5.0
|
|
7
|
+
volume_fraction: 0.2
|
|
8
|
+
domain:
|
|
9
|
+
size: 10.0 # a whole number of cells when periodic
|
|
10
|
+
periodic: true
|
|
11
|
+
unit: mm
|
|
12
|
+
voxels:
|
|
13
|
+
voxel_size: 0.1
|
|
14
|
+
outputs:
|
|
15
|
+
directory: out/tpms
|
|
16
|
+
name: gyroid
|
|
17
|
+
image: [vti]
|
|
18
|
+
surface: [stl] # watertight STL, closed on the box faces
|
|
19
|
+
analysis: [volume_fraction, specific_surface]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Trabecular bone, or an open-cell foam: struts along the edges of the periodic Voronoi
|
|
2
|
+
# tessellation of relaxed germs (Lloyd iterations: even cells), elongated by 1.6 along
|
|
3
|
+
# z (the main load), with thicker nodes, at 15 % relative density (reached on each
|
|
4
|
+
# realization). Its stiffness scales as the square of the density (Gibson and Ashby),
|
|
5
|
+
# larger along the elongation.
|
|
6
|
+
model:
|
|
7
|
+
type: open_foam
|
|
8
|
+
n_cells: 64
|
|
9
|
+
volume_fraction: 0.15 # or strut_radius
|
|
10
|
+
relaxation: 10
|
|
11
|
+
anisotropy: 1.6
|
|
12
|
+
axis: 2
|
|
13
|
+
node_ratio: 1.3
|
|
14
|
+
domain:
|
|
15
|
+
size: 1.0
|
|
16
|
+
periodic: true
|
|
17
|
+
seed: 3
|
|
18
|
+
voxels:
|
|
19
|
+
shape: 96
|
|
20
|
+
homogenization:
|
|
21
|
+
method: fft
|
|
22
|
+
materials:
|
|
23
|
+
0: void
|
|
24
|
+
1: {young: 18.0, poisson: 0.3} # bone tissue (GPa)
|
|
25
|
+
properties: [stiffness]
|
|
26
|
+
outputs:
|
|
27
|
+
directory: out/trabecular_bone
|
|
28
|
+
name: trabecular
|
|
29
|
+
analysis: [volume_fraction, connectivity]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Transparent dead leaves (Jeulin 1997): spherical leaves of random grey levels fall on
|
|
2
|
+
# each other, each letting 1 - alpha = 60 % of what it covers show through; the random
|
|
3
|
+
# function they make is thresholded to a volume fraction of 0.35 (the threshold from the
|
|
4
|
+
# law of its series). Its mean, variance and covariance are exact; alpha = 1 gives the
|
|
5
|
+
# dead leaves.
|
|
6
|
+
model:
|
|
7
|
+
type: transparent_dead_leaves
|
|
8
|
+
radius: {type: lognormal, mean: 0.06, std: 0.02}
|
|
9
|
+
transparency: 0.4
|
|
10
|
+
values: uniform
|
|
11
|
+
volume_fraction: 0.35
|
|
12
|
+
domain:
|
|
13
|
+
size: 1.0
|
|
14
|
+
periodic: true
|
|
15
|
+
seed: 1997
|
|
16
|
+
realizations: 2
|
|
17
|
+
voxels:
|
|
18
|
+
shape: 96
|
|
19
|
+
outputs:
|
|
20
|
+
directory: out/transparent_dead_leaves
|
|
21
|
+
name: transparent
|
|
22
|
+
image: [vti]
|
|
23
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Vascular tree grown by space colonization toward 3000 random points of the tissue,
|
|
2
|
+
# from a root on the lower face; the radii follow Murray's law (r^3 of a vessel = sum of
|
|
3
|
+
# r^3 of its branches), from capillaries of radius 0.004.
|
|
4
|
+
model:
|
|
5
|
+
type: branching
|
|
6
|
+
n_attractors: 3000
|
|
7
|
+
step: 0.02
|
|
8
|
+
roots: 1
|
|
9
|
+
root_position: face
|
|
10
|
+
tip_radius: 0.004
|
|
11
|
+
murray_exponent: 3.0 # 2: the pipe model of plants (da Vinci's rule)
|
|
12
|
+
domain:
|
|
13
|
+
size: 1.0
|
|
14
|
+
periodic: false
|
|
15
|
+
seed: 2
|
|
16
|
+
voxels:
|
|
17
|
+
shape: 160
|
|
18
|
+
outputs:
|
|
19
|
+
directory: out/vascular_tree
|
|
20
|
+
name: tree
|
|
21
|
+
geometry: [csv] # the segments: end points and radii
|
|
22
|
+
surface: [stl]
|
|
23
|
+
analysis: [volume_fraction, connectivity]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Poisson-Voronoi polycrystal with random crystal orientations (Yang et al. 2019).
|
|
2
|
+
model:
|
|
3
|
+
type: voronoi
|
|
4
|
+
n_cells: 343
|
|
5
|
+
crystal_orientations: true
|
|
6
|
+
domain:
|
|
7
|
+
size: 1.0
|
|
8
|
+
periodic: true
|
|
9
|
+
unit: mm
|
|
10
|
+
seed: 7
|
|
11
|
+
voxels:
|
|
12
|
+
shape: 64
|
|
13
|
+
outputs:
|
|
14
|
+
directory: out/voronoi
|
|
15
|
+
name: grains
|
|
16
|
+
geometry: [json, csv] # csv: germs, phases and Euler angles per cell
|
|
17
|
+
labels: [vti] # cell labels (grain ids)
|
|
18
|
+
mesh:
|
|
19
|
+
formats: [inp]
|
|
20
|
+
analysis: [cells]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Softwood: radial files of tracheids through a growth ring, large thin-walled earlywood
|
|
2
|
+
# cells then small thick-walled latewood ones, prismatic along the grain (z), and rays:
|
|
3
|
+
# ribbons of parenchyma cells that run radially (x) between two files, whose tracheids
|
|
4
|
+
# pass beside them. Along the grain the stiffness is close to the wall fraction times that
|
|
5
|
+
# of the walls. Across it the walls bend: the straight radial walls and the rays make the
|
|
6
|
+
# earlywood about three times stiffer radially than tangentially (y), while the dense
|
|
7
|
+
# latewood band, continuous along y, stiffens the tangential direction; here the two
|
|
8
|
+
# moduli are close (E_R about 2.2 GPa, E_T 2.4 to 2.5 GPa, E_L 3.9 GPa).
|
|
9
|
+
model:
|
|
10
|
+
type: honeycomb
|
|
11
|
+
arrangement: wood # also: hexagonal, square, voronoi
|
|
12
|
+
cell_size: 0.4 # width of the radial files
|
|
13
|
+
wall_thickness: 0.05 # earlywood walls
|
|
14
|
+
ring_width: 4.0
|
|
15
|
+
latewood_fraction: 0.3
|
|
16
|
+
latewood_size: 0.4 # radial size of the latewood cells / earlywood
|
|
17
|
+
latewood_wall: 2.0 # wall thickness of the latewood cells / earlywood
|
|
18
|
+
ray_fraction: 0.1 # rays, uniseriate (ray_width: 1 cell across)
|
|
19
|
+
ray_height: 0.72 # three ray cells high (ray_cell_height: 0.6 cell size)
|
|
20
|
+
domain:
|
|
21
|
+
size: [4.0, 2.4, 1.2] # one ring, six files; two whole rays
|
|
22
|
+
periodic: true
|
|
23
|
+
voxels:
|
|
24
|
+
voxel_size: 0.025
|
|
25
|
+
homogenization:
|
|
26
|
+
method: fft
|
|
27
|
+
materials:
|
|
28
|
+
0: void # lumens
|
|
29
|
+
1: {young: 10.0, poisson: 0.3} # cell walls (GPa)
|
|
30
|
+
properties: [stiffness]
|
|
31
|
+
outputs:
|
|
32
|
+
directory: out/wood
|
|
33
|
+
name: wood
|
|
34
|
+
analysis: [volume_fraction]
|