ImperialCollegeLondon / poreFoam-singlePhase

Direct single-phase flow simulation and pre/post-processing codes
http://www.imperial.ac.uk/earth-science/research/research-groups/perm/research/pore-scale-modelling/
20 stars 17 forks source link

Warning third argument can only be wUmag or UmagOnly, ignoring it:raw.gz #2

Open zkanavas opened 3 years ago

zkanavas commented 3 years ago

After running the following in windows PowerShell: .\Ufraw2Uc raw.gz vxlImage.mhd UmagOnly, I received the following error: Warning third argument can only be wUmag or UmagOnly, ignoring it:raw.gz. I believe this is because in this line the index for variable argv should be 3 instead of 1.

aliraeini commented 3 years ago

@zkanavas, Yes, I just applied this fix, thanks for reporting the issue.

Cheers, Ali