CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] ParaView "plot over line" on a moving object

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2018, 09:15
Default ParaView "plot over line" on a moving object
  #1
New Member
 
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 11
gigliagarf is on a distinguished road
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?
Attached Images
File Type: jpg Screenshot.jpg (112.7 KB, 39 views)
gigliagarf is offline   Reply With Quote

Old   April 10, 2018, 03:23
Default
  #2
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
You can try to use PlotOverLine and change the position of the points with AnimationView.
TobM is offline   Reply With Quote

Old   April 16, 2018, 07:08
Default
  #3
Member
 
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9
Chris123 is on a distinguished road
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?
Chris123 is offline   Reply With Quote

Old   July 9, 2018, 10:31
Default
  #4
New Member
 
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 11
gigliagarf is on a distinguished road
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.
gigliagarf is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:23.