Import geometry from various formats (‘import’ is python keyword, hence the name ‘ymport’).
Imports geometry from LSMGenGeo library and creates spheres.
Parameters : |
|
---|
LSMGenGeo library allows one to create pack of spheres with given [Rmin:Rmax] with null stress inside the specimen. Can be useful for Mining Rock simulation.
Example: examples/regular-sphere-pack/regular-sphere-pack.py, usage of LSMGenGeo library in scripts/test/genCylLSM.py.
Imports geometry from LSMGenGeo .geo file and creates spheres.
Parameters : |
|
---|---|
Returns : | list of spheres. |
LSMGenGeo library allows one to create pack of spheres with given [Rmin:Rmax] with null stress inside the specimen. Can be useful for Mining Rock simulation.
Example: examples/regular-sphere-pack/regular-sphere-pack.py, usage of LSMGenGeo library in scripts/test/genCylLSM.py.
Imports geometry from mesh file and creates facets.
Parameters : |
|
---|---|
Returns : | list of facets forming the specimen. |
mesh files can be easily created with GMSH. Example added to examples/regular-sphere-pack/regular-sphere-pack.py
Additional examples of mesh-files can be downloaded from http://www-roc.inria.fr/gamma/download/download.php
Read given meshfile in gts format.
Parameters : |
|
---|---|
Returns : | list of facets. |
Import geometry from stl file, return list of created facets.
Load sphere coordinates from file, create spheres, insert them to the simulation.
Parameters : |
|
---|---|
Returns : | list of spheres. |
Lines starting with # are skipped
Load sphere coordinates from file in specific format, create spheres, insert them to the simulation.
Parameters : | filename: string format:
|
---|---|
Returns : | list of spheres. |
Lines starting with # are skipped
Import geometry from unv file, return list of created facets.
Parameters : |
|
---|
unv files are mainly used for FEM analyses (are used by OOFEM <http://www.oofem.org/> and Abakus <http://www.simulia.com/products/abaqus_fea.html>), but triangular elements can be imported as facets. These files cen be created e.g. with open-source free software Salome <salome-platform.org>.
Example: scripts/test/unvRead.py.