lauraSumner / LagrangianParticleTracker

Matlab code for extracting the Lagrangian velocity of particles from OpenFOAM output
1 stars 1 forks source link

Is this code compatible with matlab clone octave? #1

Open stefano2734 opened 3 years ago

lauraSumner commented 3 years ago

Hi, I have never used Octave so I cannot say that this will work. However you check this page:

https://en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB to see some key differences.

From the looks of things, the syntax is so similar that you should be able to get this working without huge problems in Octave.

On Sat, 10 Apr 2021 at 13:51, stefano2734 @.***> wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lauraSumner/LagrangianParticleTracker/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRVNIGTSHLZOSNYTMHONMTTIA3UFANCNFSM42WN2IIQ .

stefano2734 commented 3 years ago

What matlab version do you use for your code? Can you check it with octave and one of your Openfoam datasets?

octave 6.2 is actual. Installation is not difficult. You can run it with command line or GUI like in matlab. https://www.gnu.org/software/octave/

For academic user worldwide it is important to use octave or Scilab.

Thanks for your work here.

lauraSumner commented 3 years ago

I don’t have any openfoam data on my local machine anymore but you should be able to check it yourself with your own datasets and octave.

On 10 Apr 2021, at 13:51, stefano2734 @.***> wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lauraSumner/LagrangianParticleTracker/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRVNIGTSHLZOSNYTMHONMTTIA3UFANCNFSM42WN2IIQ.

stefano2734 commented 3 years ago

Can you upload an example input file and the corresponding result with matlab. so with your successful example every user can test and verify his trials with octave or scilab.

lauraSumner commented 3 years ago

I am no longer working on this, the code is from a few years ago from my PhD research. You will find everything you need on my GitHub page in order to run the OpenFOAM simulations, but the work was started in 2015 so the version of openfoam is very old. You can find forums and other sources of help online where you can adapt the code to your needs/latest versions. I do not have access to MATLAB any longer, or access to Openfoam.

On 12 Apr 2021, at 12:35, stefano2734 @.***> wrote:

Can you upload an example input file and the corresponding result with matlab. so with your successful example every user can test and verify his trials with octave or scilab.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lauraSumner/LagrangianParticleTracker/issues/1#issuecomment-817698116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRVNIEJCVI2QYUGAYUWTWLTILEHJANCNFSM42WN2IIQ.