|
[Sponsors] |
[OpenFOAM] How to plot change in pressure over time for a point in the mesh |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Johan Svensson
Join Date: Mar 2009
Posts: 10
Rep Power: 17 ![]() |
Hi!
I'm using the engineFoam tutorial and want to plot the change in pressure for a point in the cylinder for different times (crank angles). Now I have plotted pressure over a line in the cylinder, and I get a plot of the pressure over this line for every time step (crank angle), and if I shorten the line it is approximately a point. Of course I can browse through all these plots to see how the pressure increases/decreases. But how do I do to plot the pressure of a point directly against the time? I appreciate any hints. Thanks, Johan |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Robert Manning
Join Date: Mar 2009
Posts: 12
Rep Power: 17 ![]() |
Johan,
I assume you are currently using Paraview to create these plot. You may concider using the sampling utility in OpenFOAM. This will extract the pressure (or other parameters) at each time step. Then use your favorite plotting package. See http://www.opencfd.co.uk/openfoam/doc/sample.html for details. Bob |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Johan Svensson
Join Date: Mar 2009
Posts: 10
Rep Power: 17 ![]() |
Thanks a lot Bob, this seems to be very useful!
Johan |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Venus Hon Sau Fong
Join Date: Mar 2009
Posts: 3
Rep Power: 17 ![]() |
Bob,
I am so sorry I don't know how to get the data. In the tutorial "solidDisplacementFoam", how can I get the data (pressure versus time or U versus time)? Where did these data store? Venus |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17 ![]() |
This may sound like (and probably is) a very dumb question(so bear with me), I had a naca0012 profile wing which I solved with simpleFoam, I wa wondering if it was possible to extract the pressure distribution (data) along the surface (cross-section) of the wing.
I though that sampleSurfDict would do that trick but I still was not able to find the data distribution over the surface any tips? thanks in advance leo |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
[snappyHexMesh] snappyHexMesh and cyclic boundaries | Ruli | OpenFOAM Meshing & Mesh Conversion | 2 | December 9, 2013 07:51 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |