ParticlePack icon indicating copy to clipboard operation
ParticlePack copied to clipboard

Is there an Octave version of script Grain.m

Open rarygit opened this issue 2 years ago • 2 comments

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

rarygit avatar Sep 16 '21 10:09 rarygit

@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.

MosGeo avatar Oct 11 '21 05:10 MosGeo

@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

rarygit avatar Oct 13 '21 05:10 rarygit