Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rarygit opened this issue Sep 16, 2021 · 2 comments
Open

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

rarygit opened this issue Sep 16, 2021 · 2 comments

Comments

@rarygit
Copy link

rarygit commented Sep 16, 2021

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 rarygit changed the title Is there an Octave version of script Example.m Is there an Octave version of script Grain.m Sep 17, 2021
@MosGeo
Copy link
Owner

MosGeo commented Oct 11, 2021

@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
Copy link
Author

rarygit commented Oct 13, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants