|
[Sponsors] |
May 19, 2024, 07:08 |
Post-Processing with Matlab
|
#1 |
New Member
Join Date: Nov 2023
Posts: 9
Rep Power: 2 |
Hey everybody!
I am simulating an open channel flow with interFoam and I am intrested in the surface velocities of water flowing in the channel. What I have done so far is loading the results in Paraview, extracting a specific time range and clipping the results with alpha.water = 0.5. Does somebody know how I can extract the data just from the water surface? Because clipping just shows the complete water body. How do I import this data into Matlab with the mesh from Openfoam? I want to use Matlab because I want to compare physical experiment results which have been analyzed in Matlab with the simulation results. I would appriciate your help |
|
May 20, 2024, 01:06 |
|
#2 | |
New Member
madeled
Join Date: May 2024
Posts: 1
Rep Power: 0 |
Quote:
After applying the filter, go to "File" -> "Save Data As...". Choose "VTK" format and select a filename. In Matlab, you can use the vtkFile library (available online) to read VTK data. This library allows you to access the mesh information (points, connectivity) along with the surface velocity data. Last edited by madeled; May 31, 2024 at 04:19. |
||
May 22, 2024, 16:58 |
|
#3 |
New Member
Join Date: Nov 2023
Posts: 9
Rep Power: 2 |
Thank you for your answer! What I did so far was using point Data exported from Paraview and interpolating these Data values onto physical experiment results. The only difference is that the results from Openfoam are stored in the cell centers (vtk Data) right? And the point Data values are the one from the cell's corners?
|
|
May 24, 2024, 01:10 |
|
#4 | |
New Member
Join Date: May 2024
Posts: 1
Rep Power: 0 |
Quote:
|
||
May 24, 2024, 03:36 |
|
#5 | |
New Member
ryanrobbie
Join Date: May 2024
Posts: 1
Rep Power: 0 |
Quote:
|
||
Tags |
interfoam, matlab, paraview, post processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
post processing for CEL expressions | Niru | CFX | 0 | May 10, 2013 14:13 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
CFD post processing techniques & streamlining | klk | Main CFD Forum | 0 | October 19, 2010 08:37 |
fluent for post processing | James | FLUENT | 0 | April 21, 2006 05:43 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |