|
[Sponsors] |
January 7, 2018, 06:48 |
MATLAB postProcessing woes
|
#1 |
New Member
Thomas Lashbrooke
Join Date: Nov 2017
Posts: 4
Rep Power: 8 |
Hello all,
I'm doing a project with OpenFOAM and wanting to use MATLAB for post processing but have hit a slight barrier when it comes to extracting data from the forceCoeffs/forces/bins DAT files. Can somebody help me understand how to get readable data from this file programmatically? MATLAB just doesn't want to know! force.dat force_bins.dat |
|
January 7, 2018, 08:38 |
|
#2 |
Senior Member
Join Date: Dec 2017
Posts: 153
Rep Power: 8 |
Hi,
Matlab does not like '(' , ')' or text strings as maybe you already know. So if you want to avoid to delete it manually with the find and replace method in your favourite text editor, then I suggest you to write a little script in bash which will do the job for you. AliE |
|
January 8, 2018, 09:13 |
|
#3 | |
New Member
Thomas Lashbrooke
Join Date: Nov 2017
Posts: 4
Rep Power: 8 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Very small Matlab job: post-processing OpenFOAM (.CSV) results | RbBb | CFD Freelancers | 1 | July 11, 2016 09:00 |
Postprocessing in MATLAB | dhaya400 | FLUENT | 2 | March 25, 2015 00:18 |
Postprocessing with matlab | giack | OpenFOAM Post-Processing | 2 | July 26, 2013 03:45 |
Linking with Matlab?? | LostinSpace | Phoenics | 0 | March 25, 2013 05:39 |
Live connection Matlab VS OF | levka | OpenFOAM Running, Solving & CFD | 0 | July 10, 2012 04:15 |