CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Ploting cell position over time (http://www.cfd-online.com/Forums/openfoam-post-processing/113986-ploting-cell-position-over-time.html)

CFD-Palma March 2, 2013 16:31

Ploting cell position over time
 
Hi all,

I need to plot the position of some points over a moving patch over time.
It is a floating object (A boat) and need to compare the position of two points that move with the patch. With probes, the probes do not move so it does not help me.
It may be silly, but can not find the way to do it.
Thanks in advance,
Carlos.

wyldckat March 2, 2013 20:34

Greetings Carlos,

If you can use ParaView for this, then here is a post I wrote some time ago: http://www.cfd-online.com/Forums/par...tml#post405615 - in theory, the technique should the same.

Best regards,
Bruno

CFD-Palma March 3, 2013 07:34

1 Attachment(s)
Hi Bruno, thanks a lot for your quick reply.

It is not what I was trying to do, but it is shocking!
Amazing the way to plot results with filtering over filters.
I can get the position over time of any point of the patch with the Point coordinates () and is excellent to see the time when steady state is reached.
Now, my original idea was to get the angle of the keel over time, for that I need the coordinates (z) of two given points with different x.
This is because I have build the boat and took the angles during sea trays at different speeds and want to validate my calculations.
Since I use an axial spring dumper, the angle is reported in the log file, together with a lot of useful information like forces and torques, and I can take it from there when the steady state is reached.
I attach the graph with the position of the center of gravity over time at 28 kn simulation.

Thanks a lot for your help.


All times are GMT -4. The time now is 20:00.