|
[Sponsors] |
[OpenFOAM] plotting bubble shape from contour coordinates in matlab |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
May 15, 2020, 15:30 |
plotting bubble shape from contour coordinates in matlab
|
#1 |
Member
Join Date: Apr 2018
Location: UK
Posts: 78
Rep Power: 8 |
Hi,
I am running some multiphase simulations in OpenFOAM and I want to plot the bubble contour using alpha = 0.5 in order to compare the bubble shape at various times in my simulation. I want to do this in Matlab by plotting various time steps on the same plot as a comparison. I create the contour in Paraview and I save the coordinates of alpha=0.5 contour using File --> Save Data. The problem is that when I plot the coordinates in Matlab the points are joined differently to what I see in Paraview (see attached image). I have tried sorting the coordinates but Matlab just fills the whole shape of the bubble instead of showing only the outline. Can someone please tell me how I can solve this problem or a better way to do this? I have tried looking on this forum but was unable to find a solution |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plotting pressure difference contour at a surface | pszatk | CFX | 1 | April 26, 2017 18:38 |
[General] Plotting solution vector from Matlab in Paraview | crg123 | ParaView | 0 | November 20, 2016 12:19 |
CONTOUR PLOTTING | Dr M.A. Waheed | Main CFD Forum | 1 | November 2, 2005 04:24 |
Contour plotting with origin or matlab | M. A. Waheed | Main CFD Forum | 0 | November 1, 2005 02:42 |
Add Measure Markings or Coordinates to the Contour | Colin | FLUENT | 4 | August 25, 2004 09:54 |