Skip to content

Commit 4e41bcf

Browse files
authored
Update README.md
VolFrac.py explainaton
1 parent 7bdfdc6 commit 4e41bcf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# random-particles
22
Various random space filling codes
3+
4+
# VolFrac.py
5+
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.
6+
Fills either a rectilinear or spherical volume with randomly placed spheres. The sphere's size's are currently integers haven't tried floats.
7+
This sint 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+
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.
10+
11+
Orgininally written in Python 2.17.12 but shoud now work in 3.7

0 commit comments

Comments
 (0)