MosGeo / ParticlePack

Simulate the formation of three-dimensional packings of spherical and non-spherical (regular and irregular) particles with prescribed size distributions.
BSD 3-Clause "New" or "Revised" License
66 stars 22 forks source link

Is there an Octave version of script Grain.m #6

Open rarygit opened 3 years ago

rarygit commented 3 years ago

Thanks for providing Particula.

OS: Ubuntu 20.04 (particula working with wine)

Using Octave v6.3.0 to test the script Example.m and the example output. I have a problem with call to matlab class: matlab.mixin.SetGet

Error: error: class not found: matlab.mixin.SetGet error: called from

loadGrains at line 49 column 29 GrainPack at line 21 column 22 Example at line 5 column 11 Is there an Octave-friendly version of Grain.m that avoids a call to "matlab.mixin.SetGet" ? line 1: classdef Grain < matlab.mixin.SetGet Altenatively an m-script with the pre 2008a object oriented approach using the old syntax. Thanks for any help
MosGeo commented 3 years ago

@rarygit I am thinking of porting the matlab post-processing scripts to python. Would that help?

It seems that classes of Matlab are not entirely compatible with Octave.

rarygit commented 3 years ago

@MosGeo Thanks for replying!

Python scripts for post-processing would be great.

Would it be possible to add "save the pore network" to the post-processing?

For example, yade-dem (c++): Extract the pore network of the granular material (i.e. based on triangulation of the pore space https://yade-dem.org/doc/yade.wrapper.html?highlight=pore#yade.wrapper.TwoPhaseFlowEngine.savePoreNetwork

OpenPNM (python) https://github.com/PMEAL/OpenPNM