CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   using sample (

Ahmed Khattab September 24, 2012 17:45

using sample
Hi Foamers,

i used sample utility after running a case and a set directory is created within case directory. it contains u.xy and p.xy files but i don't know how to use these files to plot results. any one have an idea?

Bernhard September 25, 2012 02:08

Did you look into these files? They should be self-explanatory.

Ahmed Khattab September 25, 2012 05:43

do you mean it is used to read values not to plot it

Bernhard September 25, 2012 05:44

It just shows columns with data that you chose. If you want to read or plot it is up to you.

Ahmed Khattab September 25, 2012 09:06

ok, thanks. how could i plot it using these files.

Bernhard September 25, 2012 10:06

Any plotting program can plot data structured in columns. I prefer gnuplot. Some people like Grace, others like Matlab, and some spreadsheatoholic use Excel, Gnumeric, ooCalc. That is really up to you.

Ahmed Khattab September 25, 2012 17:41

thanks for your valuable information.

All times are GMT -4. The time now is 17:25.