0
pressure plot in paraFoam

Hi all, I am trying to plot pressure on a cylinder(i have solved for flow past a 2-D cylinder and i have u and p files for different times). I have followed many forum pages, but i can't plot. Sometimes the plot option is in a disabled state else in the graph plane there is no plot curve. Also i want to know how to save the data of the plot in array(like pressure at time T1 vs points on which pressure is calculated). regards Subhankar


OpenFOAM 27-03-17, 6:52 a.m. SUBHANKAR

Answers:

0

Hey Subhankar, I will try to help you out assuming you are using Paraview and assuming that you need to plot the data over a line.

  1. Type paraFoam in the directory of your case
  2. Now in the left-side panel you should see the meshParts and internalFields boxes. Tick internalMesh and the volume fields for U and P in that and click on Apply
  3. Now you should get your geometry rendered in the main Viewport.
  4. Now click on the Plot Over Line button in the Toolbar
    1. - This is the PlotOverLine Button.
  5. Click on Apply in the Plot Over Line Toolbox.
  6. The Toolbar on the left should now change into this -
    1. Select all the parameters you want to plot and click on Apply. It should plot all the values you need to see.

I have made certain assumptions about your case. You could let me know if you have any other issues.

Regards,

Anmol

27-03-17, 12:47 p.m. anmolsahoo

Hi
Thanks for replying. I need to plot over a cylinder...so it is a curve on which i have to plot and not a line...hope u get it what i was trying to ask.I tried to use plot over intersection curve but i faced the above mentioned problem .
regards


29-03-17, 1:49 p.m. SUBHANKAR

So in that case, could you trying creating a Slice first by clicking on the Slice Filter first. Then select the plane you want the data on and then try Plot Over Intersection Curves. Let me know if there are any issues.


29-03-17, 1:59 p.m. anmolsahoo

Login to add comment


Log-in to answer to this question.