|
[Sponsors] |
August 26, 2020, 12:15 |
OpenFoam probe function file looks weird
|
#1 |
New Member
Anton Shevchenko
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
Hello everyone! Looking for your advice here folks.
I want to plot energy spectra for my OpenFoam simulation. After a brief research I decided to extract velocity data using probes in order to then process it in Matlab. Probes seem to be working fine but I ran into a weird complication. Output data file's structure is absolutely impenetrable, not only for Matlab's data import tool but for any software. What I mean is the numbers are present and they seem to be right but the column with numbers is all messed up... basically it's supposed to be straight but it isn't. It's hard to explain so I attached screenshots -- as you can see i have six pressure probes which are all neat and tidy, and velocity probes are just ahdgfkajfhdjfdhsk. The only solution i can think of right now is to open data file in excel and to straighten it up manually which is a crazy idea considering there are tens of thousands of numbers. Please if you have any ideas on what can be done here, I would be happy to hear them. Regards, Anton. |
|
Tags |
energy spectra, matlab, openfoam, probe function |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |