|
[Sponsors] |
[OpenFOAM] ParaView "plot over line" on a moving object |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2018, 09:15 |
ParaView "plot over line" on a moving object
|
#1 |
New Member
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 11 |
I have two cases where I am simulating a wedge being dropped. One that is using the overset mesh in v1712 and another with the wedge as immobile and the water flowing towards it. I am trying to get pressure plots of the wedge along its surface as it impacts. For the immobile wedge I just used "plot over line" of a slice I created in paraview. Simple enough. But for the overset case I would have to input new point locations each time. Is there some function I'm missing?
|
|
April 10, 2018, 03:23 |
|
#2 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11 |
You can try to use PlotOverLine and change the position of the points with AnimationView.
|
|
April 16, 2018, 07:08 |
|
#3 |
Member
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9 |
I do not know if I understand your case correctly but If you have predefined locations you can specify "verticallines" in a textfile in the systemfolder:
verticalline { type sets; functionObjectLibs ("libsampling.so"); writeControl timeStep; writeInterval 10; fields (p); interpolationScheme cellPointFace; setFormat raw; sets ( location1 { type face; axis z; start (X X X;// Your Coordinates end (X X X ); } location2 { type face; axis z; start (X X X ); end (X X X); } .... { } } you need the follwong entry in the control dict #include "verticalline" you get for all steps but on fixedpredefened locations. So I do not know how to modify it for dynamic location? |
|
July 9, 2018, 10:31 |
|
#4 |
New Member
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 11 |
Thanks for the suggestions, they were very helpful. What I ended up doing was using the Plot Over Intersection Curves function instead of Plot Over Line in Paraview. It had the same functionality, but supported the overset body movement as well.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Structured meshing in Gmsh | the_phew | OpenFOAM Meshing & Mesh Conversion | 19 | August 24, 2022 03:19 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 04:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 21:45 |