After weeks and weeks of searching, I came to the conclusion that OpenFOAM and OpenFVM are the only open source implementations of the PISO algorithm in C or C++. However, OpenFOAM is not easy to understand, and OpenFVM, while much simpler, isn't easy either because the documentation doesn't explain everything (I wasn't able to get the images on the gallery on my own, for example, and the tutorial doesn't seem to work if you build the code at the trunk --I'm not getting any files with 000 name, such as tutorial.000.prb).
Is this code dead? Do you know of any other minimalistic (but 3D) implementation of PISO in C or C++?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are not getting the files with 000 you are probably using the serial version. The serial version does not name the files with 000, 001, etc. that is the parallel version only for partition purposes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks a lot for your reply, x-flow. Yes, for the moment I prefer to stay with the serial version, because it's easier to build. Anyway, I'm still finding difficulties.
For example, I'm trying to run some tests and compare against your results, just for checking if my build of the trunk is correct (I'm building on MacOS).
The attached file "g02.png" is the figure that gnuplot gives for testheat.gph (note that there are no purple marks, except for a tiny mark in the Y coordinate.
If I do a zoom extents in gnuplot, then I get what you see in "g01.png". It seems something is going really wrong, because I assume the green curve and the purple curve should match, shouldn't they? But the purple curve is just a spike.
Do you have any idea of what might be going wrong?
Thanks a lot in advance,
asiga
PS: This is the testheat.txt that I'm getting: Do find anything suspicious in it:
After weeks and weeks of searching, I came to the conclusion that OpenFOAM and OpenFVM are the only open source implementations of the PISO algorithm in C or C++. However, OpenFOAM is not easy to understand, and OpenFVM, while much simpler, isn't easy either because the documentation doesn't explain everything (I wasn't able to get the images on the gallery on my own, for example, and the tutorial doesn't seem to work if you build the code at the trunk --I'm not getting any files with 000 name, such as tutorial.000.prb).
Is this code dead? Do you know of any other minimalistic (but 3D) implementation of PISO in C or C++?
Thanks!
Hi,
OpenFVM is mostly unmaintained now. You can check ENigMA which also has a PISO solver: https://github.com/bjaraujo/ENigMA
If you are not getting the files with 000 you are probably using the serial version. The serial version does not name the files with 000, 001, etc. that is the parallel version only for partition purposes.
Thanks a lot for your reply, x-flow. Yes, for the moment I prefer to stay with the serial version, because it's easier to build. Anyway, I'm still finding difficulties.
For example, I'm trying to run some tests and compare against your results, just for checking if my build of the trunk is correct (I'm building on MacOS).
The attached file "g02.png" is the figure that gnuplot gives for testheat.gph (note that there are no purple marks, except for a tiny mark in the Y coordinate.
If I do a zoom extents in gnuplot, then I get what you see in "g01.png". It seems something is going really wrong, because I assume the green curve and the purple curve should match, shouldn't they? But the purple curve is just a spike.
Do you have any idea of what might be going wrong?
Thanks a lot in advance,
asiga
PS: This is the testheat.txt that I'm getting: Do find anything suspicious in it: