CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OpenFoam probe function file looks weird

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2020, 11:15
Default OpenFoam probe function file looks weird
New Member
Anton Shevchenko
Join Date: Jan 2018
Posts: 10
Rep Power: 8
a.shevchenko is on a distinguished road
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.
Attached Images
File Type: jpg Pressure_probe.jpg (125.9 KB, 19 views)
File Type: jpg U-Umean_probe.jpg (131.9 KB, 22 views)
a.shevchenko is offline   Reply With Quote


energy spectra, matlab, openfoam, probe function

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23

All times are GMT -4. The time now is 07:19.