Skip to content

Commit 49345cb

Browse files
authored
Update README.md
1 parent edcbb82 commit 49345cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Various random space filling codes
44
# VolFrac.py
55
A code initially wrtten to be run within Abaqua 6.14-1. The code can be run without Abaqus if all the applicable sections are commented out.
66
Fills either a rectilinear or spherical volume with randomly placed spheres. The sphere's size's are currently integers I haven't tried floats.
7-
This isnt a closest packing code under the hood it uses an oct-tree as a data structure which lends itself nicely to a cubic lattice packing. Theorically it could be changed to a close packing by mapping the spatial coordinates to the oct-tree cells in some way?
7+
This isnt a closest packing code under the hood it uses an oct-tree as a data structure which lends itself nicely to a cubic lattice packing. Theorically it could be changed to a close packing by mapping the spatial coordinates to the oct-tree cells in some way?
8+
9+
Be aware that the theoretical limit for the volume fraction for this type of packing is ~0.5236. Values close to this will take a long time to run & may never stop. Values above this will result in the program looping forever (TODO). In the Random_packed_example.cae a volume fraction of 0.4 was chosen.
810

911
The code did once run in FreeCAD 0.16 not sure if it run in the newer versions. Again the appropriate snippets of code need either commenting or uncommenting. It also used to work quite chunkily with PyPlot & MatPlotLib but I havent updated the code to run with the recent version of MatPlotlib.
1012

0 commit comments

Comments
 (0)