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,29 @@
|
|
|
1
|
+
# Four transport phenomena of a scalar potential on the same voxels (FFT solver): the
|
|
2
|
+
# thermal and electrical conductivities, the permittivity and the diffusivity of
|
|
3
|
+
# conducting, impermeable spheres in a polymer, each with its bounds (Wiener,
|
|
4
|
+
# Hashin-Shtrikman). Below their percolation threshold the spheres leave the composite an
|
|
5
|
+
# electrical insulator; its diffusivity is that of the matrix divided by its tortuosity.
|
|
6
|
+
model:
|
|
7
|
+
type: boolean_spheres
|
|
8
|
+
radius: 1.0
|
|
9
|
+
volume_fraction: 0.2
|
|
10
|
+
domain:
|
|
11
|
+
size: 8.0
|
|
12
|
+
periodic: true
|
|
13
|
+
seed: 7
|
|
14
|
+
realizations: 2
|
|
15
|
+
voxels:
|
|
16
|
+
shape: 32
|
|
17
|
+
homogenization:
|
|
18
|
+
method: fft
|
|
19
|
+
materials: # SI units; a zero coefficient: a phase inert for that physics
|
|
20
|
+
0: {conductivity: 0.2, electrical_conductivity: 1.0e-12, permittivity: 3.0,
|
|
21
|
+
diffusivity: 1.0e-12}
|
|
22
|
+
1: {conductivity: 30.0, electrical_conductivity: 1.0e+4, permittivity: 10.0,
|
|
23
|
+
diffusivity: 0.0}
|
|
24
|
+
properties: [conductivity, electrical_conductivity, permittivity, diffusivity,
|
|
25
|
+
conductivity_tensor]
|
|
26
|
+
outputs:
|
|
27
|
+
directory: out/homogenization_transport
|
|
28
|
+
name: composite
|
|
29
|
+
image: [vti]
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# The twins of a textured magnesium. A polycrystal of 20 grains on voxels whose axes c
|
|
2
|
+
# are near the axis 3 (a fibre texture: the law of von Mises-Fisher), each grain a
|
|
3
|
+
# hexagonal crystal that slips on its basal, prismatic and pyramidal <c + a> systems and
|
|
4
|
+
# twins on {10-12}. A twin shears in one sense only, the one that lengthens the axis c
|
|
5
|
+
# (c / a < sqrt 3): pulled along 3, the grains twin and the polycrystal flows at a low
|
|
6
|
+
# stress, the twinned fraction growing with the strain (the twins give 6.4 % at most);
|
|
7
|
+
# compressed along 3, it does not twin and must slip on its hard pyramidal systems: it
|
|
8
|
+
# is twice as hard, the asymmetry of textured magnesium. The curves
|
|
9
|
+
# (magnesium_0000_tension_periodic.csv, ..._compression_periodic.csv) have the twinned
|
|
10
|
+
# fraction at each step; the fields (.vti) that of each voxel. A minute.
|
|
11
|
+
model:
|
|
12
|
+
type: voronoi
|
|
13
|
+
n_cells: 20
|
|
14
|
+
crystal_orientations: true
|
|
15
|
+
texture: # of the axes c of the grains; the grains turned about them
|
|
16
|
+
type: von_mises_fisher
|
|
17
|
+
kappa: 30.0 # the mean of 1 - cos of their angle to the axis: 1 / kappa
|
|
18
|
+
axis: [0, 0, 1]
|
|
19
|
+
domain:
|
|
20
|
+
size: 1.0
|
|
21
|
+
periodic: true
|
|
22
|
+
seed: 5
|
|
23
|
+
voxels:
|
|
24
|
+
shape: 16
|
|
25
|
+
homogenization:
|
|
26
|
+
method: fft
|
|
27
|
+
materials:
|
|
28
|
+
1:
|
|
29
|
+
hexagonal: [59400.0, 25600.0, 21400.0, 61600.0, 16400.0] # c11, c12, c13, c33, c44 (MPa)
|
|
30
|
+
crystal_plasticity:
|
|
31
|
+
c_over_a: 1.624
|
|
32
|
+
K: 5.0 # dgamma/dt = <(tau - r) / K>^n
|
|
33
|
+
n: 10.0
|
|
34
|
+
families: # critical resolved shear stresses (MPa)
|
|
35
|
+
basal: {tau0: 10.0}
|
|
36
|
+
prismatic: {tau0: 60.0}
|
|
37
|
+
pyramidal2_ca: {tau0: 100.0}
|
|
38
|
+
twins: # {10-12}<10-1-1>: a shear of 0.129, in one sense
|
|
39
|
+
twin1012: {tau0: 25.0, Q: 15.0, b: 20.0}
|
|
40
|
+
twin_saturation: 1.0 # the fraction of a grain that may twin
|
|
41
|
+
properties: []
|
|
42
|
+
fields: true
|
|
43
|
+
paths:
|
|
44
|
+
tension: # the other components: zero stress
|
|
45
|
+
times: [0, 1]
|
|
46
|
+
increments: 15
|
|
47
|
+
strain: {"33": [0, 0.03]}
|
|
48
|
+
compression:
|
|
49
|
+
times: [0, 1]
|
|
50
|
+
increments: 15
|
|
51
|
+
strain: {"33": [0, -0.03]}
|
|
52
|
+
outputs:
|
|
53
|
+
directory: out/homogenization_twinning
|
|
54
|
+
name: magnesium
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Glass beads in a viscoelastic resin (a Prony series of its shear and bulk moduli): the
|
|
2
|
+
# storage and loss moduli of the composite over five decades of frequency (the
|
|
3
|
+
# correspondence principle, complex laws on the voxels) and, in time, its relaxation
|
|
4
|
+
# after a fast stretch (the same law integrated exactly along a loading path).
|
|
5
|
+
model:
|
|
6
|
+
type: boolean_spheres
|
|
7
|
+
radius: 1.0
|
|
8
|
+
volume_fraction: 0.25
|
|
9
|
+
domain:
|
|
10
|
+
size: 6.0
|
|
11
|
+
periodic: true
|
|
12
|
+
seed: 5
|
|
13
|
+
voxels:
|
|
14
|
+
shape: 20
|
|
15
|
+
homogenization:
|
|
16
|
+
method: fft
|
|
17
|
+
materials:
|
|
18
|
+
0: # resin: instantaneous moduli, then (relative modulus, time)
|
|
19
|
+
young: 3.0e+9
|
|
20
|
+
poisson: 0.35
|
|
21
|
+
viscoelasticity:
|
|
22
|
+
shear: [[0.4, 0.01], [0.3, 1.0], [0.15, 100.0]]
|
|
23
|
+
bulk: [[0.2, 1.0]]
|
|
24
|
+
1: {young: 70.0e+9, poisson: 0.22} # glass
|
|
25
|
+
properties: [dynamic_stiffness]
|
|
26
|
+
frequencies: [0.001, 0.01, 0.1, 1.0, 10.0, 100.0] # rad/s
|
|
27
|
+
paths:
|
|
28
|
+
relaxation: # stretch in 0.01 s, then hold; the other stresses are free
|
|
29
|
+
times: [0, 0.01, 1, 100]
|
|
30
|
+
increments: [4, 6, 6]
|
|
31
|
+
strain: {"11": [0, 0.01, 0.01, 0.01]}
|
|
32
|
+
outputs:
|
|
33
|
+
directory: out/homogenization_viscoelastic
|
|
34
|
+
name: composite
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Elastic SiC particles (20 %) in an elasto-viscoplastic aluminium alloy: tension at the
|
|
2
|
+
# strain rate 1e-3 /s to 2 %, relaxation for 100 s, then unloading, the lateral stresses
|
|
3
|
+
# free (periodic element: E22, E33 and the shears are degrees of freedom). The matrix
|
|
4
|
+
# yields first; the particles carry a growing share of the load, and the residual
|
|
5
|
+
# stresses make the matrix yield again in reverse during the unloading (Bauschinger
|
|
6
|
+
# effect). Curves: spheres_0000_tension_periodic.csv; plastic strain fields: .vtu.
|
|
7
|
+
# The mesh is analysed with 10-node elements (the default; the 4-node ones lock when the
|
|
8
|
+
# matrix flows, and overestimate the stress): about three and a half minutes.
|
|
9
|
+
model:
|
|
10
|
+
type: hardcore_spheres
|
|
11
|
+
radius: 1.0
|
|
12
|
+
volume_fraction: 0.2
|
|
13
|
+
domain:
|
|
14
|
+
size: 5.0
|
|
15
|
+
periodic: true
|
|
16
|
+
seed: 7
|
|
17
|
+
mesh:
|
|
18
|
+
size: 0.9
|
|
19
|
+
homogenization:
|
|
20
|
+
materials:
|
|
21
|
+
0: # aluminium alloy (MPa, s)
|
|
22
|
+
young: 70000
|
|
23
|
+
poisson: 0.33
|
|
24
|
+
plasticity:
|
|
25
|
+
yield: 100 # R0
|
|
26
|
+
isotropic: [{Q: 80, b: 20}] # R(p) = Q (1 - exp(-b p))
|
|
27
|
+
kinematic: [{C: 10000, D: 100}] # Armstrong-Frederick backstress
|
|
28
|
+
norton: {K: 50, n: 5} # dp/dt = <f / K>^n (omit: rate-independent)
|
|
29
|
+
1: {young: 400000, poisson: 0.2} # SiC particles, elastic
|
|
30
|
+
boundary_conditions: [periodic] # also kubc
|
|
31
|
+
properties: [stiffness] # the elastic stiffness, for comparison
|
|
32
|
+
paths:
|
|
33
|
+
tension: # values at the times; free components: zero stress
|
|
34
|
+
times: [0, 20, 120, 130]
|
|
35
|
+
increments: [10, 10, 5]
|
|
36
|
+
strain: {"11": [0, 0.02, 0.02, 0.017]}
|
|
37
|
+
nonlinear:
|
|
38
|
+
tolerance: 1.0e-6 # relative residual of the Newton iterations
|
|
39
|
+
fields: true # stress and plastic strain at the end of each segment
|
|
40
|
+
outputs:
|
|
41
|
+
directory: out/homogenization_viscoplastic
|
|
42
|
+
name: spheres
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Apparent elastic moduli and stiffness tensor of a two-phase Voronoi mosaic (Kanit et
|
|
2
|
+
# al. 2003) by the FFT solver on voxel images (periodic conditions). Tessellations can
|
|
3
|
+
# also be meshed grain by grain and solved by finite elements under any boundary
|
|
4
|
+
# condition: add a 'mesh' section and method: fe (see homogenization_polycrystal).
|
|
5
|
+
model:
|
|
6
|
+
type: voronoi
|
|
7
|
+
n_cells: 60
|
|
8
|
+
phase_fractions: [0.3, 0.7]
|
|
9
|
+
domain:
|
|
10
|
+
size: 10.0
|
|
11
|
+
periodic: true
|
|
12
|
+
seed: 2003
|
|
13
|
+
realizations: 2
|
|
14
|
+
voxels:
|
|
15
|
+
shape: 48
|
|
16
|
+
homogenization:
|
|
17
|
+
method: fft
|
|
18
|
+
materials:
|
|
19
|
+
0: {young: 1.0, poisson: 0.3} # soft phase
|
|
20
|
+
1: {young: 100.0, poisson: 0.3} # hard phase
|
|
21
|
+
boundary_conditions: [periodic]
|
|
22
|
+
properties: [bulk_modulus, shear_modulus, stiffness]
|
|
23
|
+
outputs:
|
|
24
|
+
directory: out/homogenization_voronoi
|
|
25
|
+
name: mosaic
|
|
26
|
+
image: [vti]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Extended finite elements: the level set of the spheres cuts a regular grid of 16^3
|
|
2
|
+
# cells (six tetrahedra each), whose cut elements are enriched (Moes et al. 2003) instead
|
|
3
|
+
# of drawing the interfaces as stairs of voxels or meshing them. Elastic and thermal
|
|
4
|
+
# properties under periodic conditions; compare with method: fft at the same shape.
|
|
5
|
+
model:
|
|
6
|
+
type: boolean_spheres
|
|
7
|
+
radius: 1.0
|
|
8
|
+
volume_fraction: 0.25
|
|
9
|
+
domain:
|
|
10
|
+
size: 6.0
|
|
11
|
+
periodic: true
|
|
12
|
+
seed: 2
|
|
13
|
+
voxels:
|
|
14
|
+
shape: 16 # the grid cut by the interfaces
|
|
15
|
+
homogenization:
|
|
16
|
+
method: xfem
|
|
17
|
+
materials:
|
|
18
|
+
0: {young: 1.0, poisson: 0.3, conductivity: 1.0}
|
|
19
|
+
1: {young: 10.0, poisson: 0.3, conductivity: 10.0}
|
|
20
|
+
properties: [bulk_modulus, shear_modulus, conductivity, stiffness]
|
|
21
|
+
outputs:
|
|
22
|
+
directory: out/homogenization_xfem
|
|
23
|
+
name: spheres
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# A disordered hyperuniform closed-cell structure: the walls (a grain-boundary phase) of
|
|
2
|
+
# the Voronoi cells of stealthy hyperuniform germs (the collective coordinates of
|
|
3
|
+
# Torquato and coworkers: S(k) = 0 for the wave vectors of the box up to the radius that
|
|
4
|
+
# constrains 30 % of the degrees of freedom). Its cells are about ten times more regular
|
|
5
|
+
# than those of Poisson germs (the coefficient of variation of their volumes 0.04 against
|
|
6
|
+
# 0.42), while the structure has no long-range order.
|
|
7
|
+
model:
|
|
8
|
+
type: voronoi
|
|
9
|
+
n_cells: 200
|
|
10
|
+
germs: stealthy
|
|
11
|
+
stealthiness: 0.3
|
|
12
|
+
boundary_thickness: 0.02
|
|
13
|
+
domain:
|
|
14
|
+
size: 1.0
|
|
15
|
+
periodic: true
|
|
16
|
+
seed: 2004
|
|
17
|
+
voxels:
|
|
18
|
+
shape: 96
|
|
19
|
+
outputs:
|
|
20
|
+
directory: out/hyperuniform_cells
|
|
21
|
+
name: cells
|
|
22
|
+
image: [vti]
|
|
23
|
+
labels: [vti]
|
|
24
|
+
analysis: [volume_fraction, specific_surface, cells]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Laguerre (power) tessellation; two-phase mosaic (Kanit et al. 2003 style).
|
|
2
|
+
model:
|
|
3
|
+
type: laguerre
|
|
4
|
+
intensity: 300.0
|
|
5
|
+
radius: {type: uniform, low: 0.02, high: 0.08}
|
|
6
|
+
phase_fractions: [0.7, 0.3] # probabilities of phases 0 and 1 for each cell
|
|
7
|
+
domain:
|
|
8
|
+
size: 1.0
|
|
9
|
+
periodic: true
|
|
10
|
+
seed: 11
|
|
11
|
+
voxels:
|
|
12
|
+
shape: 64
|
|
13
|
+
outputs:
|
|
14
|
+
directory: out/laguerre
|
|
15
|
+
name: mosaic
|
|
16
|
+
image: [vti]
|
|
17
|
+
labels: [vti]
|
|
18
|
+
analysis: [volume_fraction, cells]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Three-point bending of a strip of annealed 0.23 C steel hardened by longitudinal laser
|
|
2
|
+
# tracks on its upper face only (morphogen laser): the number of tracks and the power of
|
|
3
|
+
# the beam optimized for the load at a deflection of 1 mm, within a budget of laser
|
|
4
|
+
# energy; the stiffness does not change (the hardened steel keeps its Young's modulus),
|
|
5
|
+
# the strength in bending does.
|
|
6
|
+
laser_sheet:
|
|
7
|
+
material: annealed_ms1500
|
|
8
|
+
treatment: hardening
|
|
9
|
+
configuration: single # the face that the load puts in compression
|
|
10
|
+
layers: 6 # the hardened depth matters in bending
|
|
11
|
+
laser:
|
|
12
|
+
beam: {power: 200, speed: 10, radius: 0.5, absorptivity: 0.55}
|
|
13
|
+
pause: 30
|
|
14
|
+
specimen: {kind: strip, length: 40, width: 10, thickness: 1.0}
|
|
15
|
+
element: 0.5
|
|
16
|
+
loading: {kind: bending, span: 30, deflection: 1.0}
|
|
17
|
+
pattern: {kind: straight, count: 4}
|
|
18
|
+
compare:
|
|
19
|
+
base: {kind: none}
|
|
20
|
+
optimization:
|
|
21
|
+
method: bayesian
|
|
22
|
+
evaluations: 20
|
|
23
|
+
objective: bending_load_at_deflection
|
|
24
|
+
parameters:
|
|
25
|
+
pattern.count: [1, 8, true]
|
|
26
|
+
beam.power: [100.0, 300.0] # W
|
|
27
|
+
constraints:
|
|
28
|
+
laser_energy: [null, 6000] # J (the tracks are 50 mm long at 10 mm/s)
|
|
29
|
+
melted_fraction: [null, 0.05]
|
|
30
|
+
seed: 1
|
|
31
|
+
outputs:
|
|
32
|
+
directory: laser_bending
|
|
33
|
+
figures: true
|
|
34
|
+
fields: [vti]
|
|
35
|
+
gcode: true
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Cellular design of a laser-architectured sheet (morphogen laser; docs/laser.md, §6): the
|
|
2
|
+
# corrugated track of martensite of Wang et al. (2023, steel res. int. 94, 2200695) drawn
|
|
3
|
+
# by a 1 mm spot on cells of 0.5 mm, then changed by a cellular automaton (neighbour
|
|
4
|
+
# exchanges tested by finite elements, periodic and symmetric, treatable by the spot) for
|
|
5
|
+
# the failure strain at a tensile strength of at least 700 MPa; the phases of the paper
|
|
6
|
+
# with the fracture of the martensite; the tracks of the result treated by the laser.
|
|
7
|
+
laser_sheet:
|
|
8
|
+
material: annealed_ms1500 # the process model of the tracks of the result
|
|
9
|
+
configuration: symmetric # a fibre beam above, a diode below
|
|
10
|
+
layers: 4
|
|
11
|
+
laser:
|
|
12
|
+
beam: {power: 150, speed: 10, radius: 0.5, absorptivity: 0.55}
|
|
13
|
+
bottom: {power: 100, speed: 10, radius: 0.6, absorptivity: 0.55, profile: tophat}
|
|
14
|
+
specimen: {kind: dogbone, length: 30, width: 5, thickness: 1.0}
|
|
15
|
+
element: 0.5 # mm
|
|
16
|
+
pattern: {kind: corrugated, count: 1, amplitude: 1.5, period: 10}
|
|
17
|
+
compare:
|
|
18
|
+
straight: {kind: straight, count: 1}
|
|
19
|
+
cellular:
|
|
20
|
+
phases: wang # ferrite and martensite (Hollomon laws), brittle martensite
|
|
21
|
+
size: 0.5 # mm, the cells
|
|
22
|
+
objective: ductility # the failure strain (fracture of the martensite or necking)
|
|
23
|
+
constraints:
|
|
24
|
+
tensile_strength: [700, null] # MPa
|
|
25
|
+
start: {amplitude: 1.5, period: 10} # the track of the pattern above, drawn by the spot
|
|
26
|
+
method: exchange # swap (BESO rule), hca, topology
|
|
27
|
+
symmetry: [point]
|
|
28
|
+
period: 10 # mm: the cells change by periods of the pattern
|
|
29
|
+
min_width: 2 # cells: the 1 mm spot
|
|
30
|
+
candidates: 6 # moves tested by finite elements per iteration
|
|
31
|
+
iterations: 30
|
|
32
|
+
realize: true # the tracks of the result treated by the laser
|
|
33
|
+
seed: 1
|
|
34
|
+
outputs:
|
|
35
|
+
directory: laser_cells
|
|
36
|
+
figures: true
|
|
37
|
+
fields: [vti]
|
|
38
|
+
gcode: true
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Architectured sheet by localized laser treatment (morphogen laser): corrugated tracks of
|
|
2
|
+
# martensite in an annealed 0.23 C steel (Wang 2022, thesis ch. 5; Wang et al. 2023,
|
|
3
|
+
# steel res. int. 94, 2200695), their tensile test, and the optimization of their
|
|
4
|
+
# amplitude and period for the strength-ductility balance at a minimum yield strength.
|
|
5
|
+
laser_sheet:
|
|
6
|
+
material: annealed_ms1500 # aisi430, dp1180, or {preset: ..., strength: [...]}
|
|
7
|
+
treatment: hardening # carburizing, nitriding, alloying (melt pool)
|
|
8
|
+
configuration: symmetric # a beam on each face (single: the upper face only)
|
|
9
|
+
layers: 4 # through the thickness
|
|
10
|
+
laser:
|
|
11
|
+
beam: {power: 150, speed: 10, radius: 0.5, absorptivity: 0.55} # fibre, Gaussian
|
|
12
|
+
bottom: {power: 100, speed: 10, radius: 0.6, absorptivity: 0.55, profile: tophat} # diode
|
|
13
|
+
pause: 30 # s between tracks
|
|
14
|
+
specimen: {kind: dogbone, length: 30, width: 5, thickness: 1.0}
|
|
15
|
+
element: 0.5 # mm (0.25 for a converged check)
|
|
16
|
+
pattern: {kind: corrugated, count: 1, amplitude: 1.0, period: 15}
|
|
17
|
+
compare:
|
|
18
|
+
base: {kind: none}
|
|
19
|
+
straight: {kind: straight, count: 1}
|
|
20
|
+
optimization:
|
|
21
|
+
method: bayesian # grid, nelder_mead, differential_evolution, genetic
|
|
22
|
+
evaluations: 24
|
|
23
|
+
objective: strength_ductility # energy, uniform_elongation, tensile_strength, yield_strength
|
|
24
|
+
parameters:
|
|
25
|
+
pattern.amplitude: [0.0, 2.5] # mm
|
|
26
|
+
pattern.period: [6.0, 30.0] # mm
|
|
27
|
+
constraints:
|
|
28
|
+
yield_strength: [400, null] # MPa
|
|
29
|
+
min_radius: [1.5, null] # mm: tracks curved gently (quasi-steady cycles)
|
|
30
|
+
check_element: 0.25
|
|
31
|
+
seed: 1
|
|
32
|
+
outputs:
|
|
33
|
+
directory: laser_corrugated
|
|
34
|
+
figures: true
|
|
35
|
+
fields: [vti]
|
|
36
|
+
gcode: true
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# The open-cell copper foam of Degdeg & Dirrenberger (2026), a level set of distance
|
|
2
|
+
# fields (Sonon et al. 2012; Kilingar et al. 2019): seeds are aligned ellipsoids of short
|
|
3
|
+
# semi-axes 87 to 145 um (b = 1.22 a, c = 3.22 a), densely packed; the struts follow the
|
|
4
|
+
# edges of their tessellation with convex cross-sections (curvature -0.7) thickening
|
|
5
|
+
# towards the nodes (c1 = 50, c2 = 1: 2.1 times wider there), their thickness solved
|
|
6
|
+
# for the solid fraction 0.261 of the tomography. Lengths in mm. The mean ligament
|
|
7
|
+
# thickness comes out at about 74 um (72.8 um in their model, 71.1 um measured).
|
|
8
|
+
# cells: closed adds walls (wall_thickness); thickness: t instead of volume_fraction.
|
|
9
|
+
model:
|
|
10
|
+
type: level_set_foam
|
|
11
|
+
seed_radius: {type: uniform, low: 0.0871, high: 0.1452}
|
|
12
|
+
aspect: [1.22, 3.22]
|
|
13
|
+
packing: dense
|
|
14
|
+
packing_fraction: 0.6
|
|
15
|
+
volume_fraction: 0.261
|
|
16
|
+
curvature: -0.7
|
|
17
|
+
c1: 50.0
|
|
18
|
+
c2: 1.0
|
|
19
|
+
domain:
|
|
20
|
+
size: 3.0
|
|
21
|
+
periodic: true
|
|
22
|
+
seed: 3
|
|
23
|
+
voxels:
|
|
24
|
+
voxel_size: 0.025
|
|
25
|
+
outputs:
|
|
26
|
+
directory: out/level_set_foam
|
|
27
|
+
name: foam
|
|
28
|
+
image: [vti]
|
|
29
|
+
analysis: [volume_fraction, specific_surface, thickness, minkowski]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Menger sponge of level 3: 20 of the 27 sub-cubes kept at each level, fractal
|
|
2
|
+
# dimension ln 20 / ln 3 = 2.727 (box counting on the voxels gives it back). Other
|
|
3
|
+
# patterns: vicsek, cantor_dust, or any list of kept sub-cubes.
|
|
4
|
+
model:
|
|
5
|
+
type: fractal_sponge
|
|
6
|
+
pattern: menger
|
|
7
|
+
level: 3
|
|
8
|
+
cell_size: 1.0
|
|
9
|
+
domain:
|
|
10
|
+
size: 1.0
|
|
11
|
+
periodic: true
|
|
12
|
+
voxels:
|
|
13
|
+
shape: 81 # 3^4: the smallest holes three voxels wide
|
|
14
|
+
outputs:
|
|
15
|
+
directory: out/menger_sponge
|
|
16
|
+
name: menger
|
|
17
|
+
analysis: [volume_fraction, fractal_dimension]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Nacre: staggered layers of aragonite tablets (brick-and-mortar) bonded by a soft
|
|
2
|
+
# organic mortar, about 90 % of mineral. The effective stiffness (FFT) is far above that
|
|
3
|
+
# of the mortar: the tablets carry the load, the mortar transfers it by shear.
|
|
4
|
+
model:
|
|
5
|
+
type: nacre
|
|
6
|
+
arrangement: brick # brick (staggered) or voronoi (polygonal tablets)
|
|
7
|
+
tablet_size: 1.0 # square tablets of side 1
|
|
8
|
+
tablet_thickness: 0.2
|
|
9
|
+
mortar_thickness: 0.05 # between the layers, and between tablets (gap)
|
|
10
|
+
overlap: 0.5 # shift of a layer from the previous one, in tablets
|
|
11
|
+
domain:
|
|
12
|
+
size: [2.0, 2.0, 1.0] # 4 layers of 0.25
|
|
13
|
+
periodic: true
|
|
14
|
+
voxels:
|
|
15
|
+
voxel_size: 0.0125 # 4 voxels across the mortar
|
|
16
|
+
homogenization:
|
|
17
|
+
method: fft
|
|
18
|
+
materials:
|
|
19
|
+
0: {young: 4.0, poisson: 0.4} # biopolymer mortar (GPa)
|
|
20
|
+
1: {young: 100.0, poisson: 0.3} # aragonite tablets (GPa)
|
|
21
|
+
properties: [stiffness]
|
|
22
|
+
outputs:
|
|
23
|
+
directory: out/nacre
|
|
24
|
+
name: nacre
|
|
25
|
+
analysis: [volume_fraction]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Johnson-Mehl polycrystal: grains nucleate at a constant rate in the untransformed volume
|
|
2
|
+
# and grow at constant velocity until impingement (Johnson-Mehl-Avrami-Kolmogorov). The
|
|
3
|
+
# run manifest (run.json) gives the theory: Avrami exponent 4, grain density and mean
|
|
4
|
+
# grain volume. Set 'time' for a partial transformation (grains in a matrix),
|
|
5
|
+
# growth_shape: cube for faceted grains, coarsening_steps for normal grain growth.
|
|
6
|
+
model:
|
|
7
|
+
type: nucleation_growth
|
|
8
|
+
nucleation: continuous # or site_saturation (nucleus_density: Voronoi grains)
|
|
9
|
+
nucleation_rate: 0.0001 # nuclei per unit volume and unit time
|
|
10
|
+
growth_rate: 1.0
|
|
11
|
+
crystal_orientations: true
|
|
12
|
+
domain:
|
|
13
|
+
size: 64.0
|
|
14
|
+
periodic: true
|
|
15
|
+
unit: um
|
|
16
|
+
seed: 1939
|
|
17
|
+
voxels:
|
|
18
|
+
shape: 64 # cell_size 1: one voxel per cell
|
|
19
|
+
outputs:
|
|
20
|
+
directory: out/nucleation_growth
|
|
21
|
+
name: grains
|
|
22
|
+
geometry: [json] # lattice, labels, orientations, nucleation times, kinetics
|
|
23
|
+
labels: [vti] # grain ids
|
|
24
|
+
image: [vti]
|
|
25
|
+
analysis: [cells]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Topology optimization of a periodic cell with a negative Poisson's ratio (auxetic),
|
|
2
|
+
# by inverse homogenization (Sigmund 1994) with the FFT solver: minimize C_12 / C_11 at
|
|
3
|
+
# a volume fraction of 35 %, the mean normal stiffness staying above 5 % of the
|
|
4
|
+
# Young's modulus of the solid, with the method of moving asymptotes. The cell is planar
|
|
5
|
+
# (one voxel through the thickness: a prismatic microstructure, in-plane properties in
|
|
6
|
+
# plane strain), with square symmetry. Expect a re-entrant cell with a Poisson's ratio
|
|
7
|
+
# near -0.87, the same on a grid twice as fine, after about a minute (optimization.json).
|
|
8
|
+
# Smaller filter radii or sharper projections give mechanisms whose members touch at
|
|
9
|
+
# corners (hinges, reported): check them on the finer grid. The json geometry can be
|
|
10
|
+
# meshed and homogenized like any microstructure (morphogen homogenize auxetic.json
|
|
11
|
+
# --size ...), and morphogen view auxetic.json --tile 3 shows the periodic pattern.
|
|
12
|
+
optimization:
|
|
13
|
+
objective: poisson_ratio
|
|
14
|
+
volume_fraction: 0.35
|
|
15
|
+
grid: [64, 64, 1]
|
|
16
|
+
cell_size: 1.0
|
|
17
|
+
material: {young: 1.0, poisson: 0.3}
|
|
18
|
+
method: mma
|
|
19
|
+
filter_radius: 3.0 # voxels: minimal length scale (members of a few voxels)
|
|
20
|
+
projection: 8.0 # Heaviside projection, doubled from 1 up to 8
|
|
21
|
+
symmetry: cubic # square symmetry in 2D
|
|
22
|
+
iterations: 300
|
|
23
|
+
seed: 1994
|
|
24
|
+
outputs:
|
|
25
|
+
directory: out/optimize_auxetic
|
|
26
|
+
name: auxetic
|
|
27
|
+
image: [vti]
|
|
28
|
+
density: [vti]
|
|
29
|
+
geometry: [json]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Topology optimization of a periodic cell with a negative Poisson's ratio in three
|
|
2
|
+
# dimensions (auxetic along its three axes), by inverse homogenization with the FFT
|
|
3
|
+
# solver: minimize C_12 / C_11 at a volume fraction of 30 %, with cubic symmetry and the
|
|
4
|
+
# method of moving asymptotes, on 24^3 voxels. Expect a Poisson's ratio near -0.14 (-0.2
|
|
5
|
+
# on a grid twice as fine: optimization.json, properties and check) after 250 iterations,
|
|
6
|
+
# three to eight minutes. The planar cell of optimize_auxetic reaches -0.87 in a minute:
|
|
7
|
+
# in space the members that fold inwards are bars, not walls, and a finer grid and more
|
|
8
|
+
# iterations go further. The json geometry can be meshed and homogenized like any
|
|
9
|
+
# microstructure, and morphogen view auxetic3d.json --tile 2 shows its three sections.
|
|
10
|
+
optimization:
|
|
11
|
+
objective: poisson_ratio
|
|
12
|
+
volume_fraction: 0.3
|
|
13
|
+
grid: 24
|
|
14
|
+
cell_size: 1.0
|
|
15
|
+
material: {young: 1.0, poisson: 0.3}
|
|
16
|
+
method: mma
|
|
17
|
+
filter_radius: 2.0 # voxels: minimal length scale
|
|
18
|
+
projection: 8.0 # Heaviside projection, doubled from 1 up to 8
|
|
19
|
+
symmetry: cubic
|
|
20
|
+
iterations: 250
|
|
21
|
+
seed: 1994
|
|
22
|
+
outputs:
|
|
23
|
+
directory: out/optimize_auxetic_3d
|
|
24
|
+
name: auxetic3d
|
|
25
|
+
image: [vti]
|
|
26
|
+
density: [vti]
|
|
27
|
+
geometry: [json]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Periodic cell of maximal bulk modulus at a volume fraction of 30 % (Sigmund 2000):
|
|
2
|
+
# 3D, cubic symmetry, method of moving asymptotes. The thresholded design reaches about
|
|
3
|
+
# 97 % of the Hashin-Shtrikman upper bound (0.117 E for a solid of Poisson's ratio 0.3)
|
|
4
|
+
# on its grid, 93 % on a grid twice as fine (optimization.json: properties and check),
|
|
5
|
+
# in about a minute. Other methods: oc (optimality criteria), beso (solid/void voxels)
|
|
6
|
+
# and hca (hybrid cellular automaton).
|
|
7
|
+
optimization:
|
|
8
|
+
objective: bulk_modulus
|
|
9
|
+
volume_fraction: 0.3
|
|
10
|
+
grid: 24
|
|
11
|
+
cell_size: 1.0
|
|
12
|
+
material: {young: 1.0, poisson: 0.3}
|
|
13
|
+
method: mma
|
|
14
|
+
filter_radius: 1.5
|
|
15
|
+
projection: 8.0
|
|
16
|
+
symmetry: cubic
|
|
17
|
+
iterations: 200
|
|
18
|
+
seed: 2000
|
|
19
|
+
outputs:
|
|
20
|
+
directory: out/optimize_bulk
|
|
21
|
+
name: bulk
|
|
22
|
+
image: [vti]
|
|
23
|
+
geometry: [json]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Periodic cell of maximal thermal conductivity at a volume fraction of 30 % by a hybrid
|
|
2
|
+
# cellular automaton (Tovar et al. 2006): every voxel adjusts its density to bring the
|
|
3
|
+
# mean stimulus (dissipation density) of its Moore neighbourhood to a common set point
|
|
4
|
+
# that keeps the volume. The design reaches about 88 % of the Hashin-Shtrikman upper
|
|
5
|
+
# bound 2 f / (3 - f) = 0.222 k on this coarse grid (87 % on a grid twice as fine), in
|
|
6
|
+
# about 20 seconds.
|
|
7
|
+
optimization:
|
|
8
|
+
objective: conductivity
|
|
9
|
+
volume_fraction: 0.3
|
|
10
|
+
grid: 24
|
|
11
|
+
material: {young: 1.0, poisson: 0.3, conductivity: 1.0}
|
|
12
|
+
method: hca
|
|
13
|
+
symmetry: cubic
|
|
14
|
+
iterations: 150
|
|
15
|
+
seed: 2006
|
|
16
|
+
outputs:
|
|
17
|
+
directory: out/optimize_conductivity
|
|
18
|
+
name: conductor
|
|
19
|
+
image: [vti]
|
|
20
|
+
geometry: [json]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Cortical (Haversian) bone in micrometres: osteons remodelled one after another (a
|
|
2
|
+
# dead-leaves model of cylinders), each with a Haversian canal and a cement line; the
|
|
3
|
+
# bone not remodelled is interstitial. Four phases, the canals forming the porosity.
|
|
4
|
+
model:
|
|
5
|
+
type: osteons
|
|
6
|
+
radius: {type: normal, mean: 100.0, std: 15.0}
|
|
7
|
+
coverage: 0.65
|
|
8
|
+
canal_ratio: 0.2
|
|
9
|
+
cement_thickness: 4.0
|
|
10
|
+
axis: 2 # the bone axis
|
|
11
|
+
domain:
|
|
12
|
+
size: [1000.0, 1000.0, 8.0] # prismatic along the axis
|
|
13
|
+
periodic: true
|
|
14
|
+
unit: um
|
|
15
|
+
voxels:
|
|
16
|
+
voxel_size: 2.0
|
|
17
|
+
homogenization:
|
|
18
|
+
method: fft
|
|
19
|
+
materials:
|
|
20
|
+
0: {young: 22.0, poisson: 0.3} # interstitial bone (GPa)
|
|
21
|
+
1: {young: 18.0, poisson: 0.3} # osteonal lamellar bone
|
|
22
|
+
2: {young: 12.0, poisson: 0.3} # cement lines
|
|
23
|
+
3: void # Haversian canals
|
|
24
|
+
properties: [stiffness]
|
|
25
|
+
outputs:
|
|
26
|
+
directory: out/osteons
|
|
27
|
+
name: cortical
|
|
28
|
+
analysis: [phase_fractions]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Penetrable spheres with impenetrable cores, the cherry-pit model of Torquato (1984):
|
|
2
|
+
# spheres of radius R whose cores of radius 0.5 R do not overlap, between the Boolean
|
|
3
|
+
# model (impenetrability 0: fraction 1 - exp(-eta)) and hard spheres (1: fraction eta),
|
|
4
|
+
# eta being the number of spheres per unit volume times their volume.
|
|
5
|
+
model:
|
|
6
|
+
type: penetrable_spheres
|
|
7
|
+
radius: 0.5
|
|
8
|
+
impenetrability: 0.5
|
|
9
|
+
reduced_density: 0.6
|
|
10
|
+
domain:
|
|
11
|
+
size: 10.0
|
|
12
|
+
periodic: true
|
|
13
|
+
seed: 1984
|
|
14
|
+
realizations: 3
|
|
15
|
+
voxels:
|
|
16
|
+
voxel_size: 0.05
|
|
17
|
+
outputs:
|
|
18
|
+
directory: out/penetrable_spheres
|
|
19
|
+
name: cherry_pit
|
|
20
|
+
image: [vti]
|
|
21
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Poisson fibres (Dirrenberger et al. 2014): infinite cylinders on isotropic Poisson lines.
|
|
2
|
+
# Infinite fibres cannot be periodic: the domain must be non-periodic.
|
|
3
|
+
model:
|
|
4
|
+
type: poisson_fibers
|
|
5
|
+
radius: 1.0
|
|
6
|
+
volume_fraction: 0.16
|
|
7
|
+
domain:
|
|
8
|
+
size: 30.0
|
|
9
|
+
periodic: false
|
|
10
|
+
seed: 2014
|
|
11
|
+
voxels:
|
|
12
|
+
voxel_size: 0.25
|
|
13
|
+
outputs:
|
|
14
|
+
directory: out/poisson_fibers
|
|
15
|
+
name: fibres
|
|
16
|
+
geometry: [json, geo] # geo: Gmsh script for conforming tetrahedral meshes
|
|
17
|
+
image: [vtk] # legacy VTK (cell data), e.g. for FFT solvers
|
|
18
|
+
mesh:
|
|
19
|
+
formats: [msh]
|
|
20
|
+
phases: [1] # mesh the fibres only (porous medium)
|
|
21
|
+
analysis: [volume_fraction, specific_surface, connectivity]
|