|May 24, 2013, 06:35||
plotting center of Mass over time
Join Date: Apr 2013
Posts: 11Rep Power: 2
I run the case of a vertical free decay of a floating object in a still water. This case is similar to the floatingObject tutorial, it's just different initial conditions.
My floating object's type is a sixDoFRigidDisplacement and I set the "report" on in the pointDisplacement file. In my .log file, I have at each time step the coordinates of the center of mass.
I would like to plot the z-coordinate over time.
I tried in gnuplot something like plot "<cat log | grep 'Centre of mass:' ... That works but it plots heave over iteration. As i want to compare different cases (they don't have the same time-steps since my simulations run with the adjustTimeStep on in the controlDict), this solution doesn't work for me.
I heard about pyFoam, I saw that it can plot a lot of things but it seems to be only residuals... Is it possible to plot the center of mass over time (using the datas extracted from my log file)?
Thank you for your help
|June 5, 2013, 20:06||
Join Date: Mar 2009
Posts: 3,514Rep Power: 33
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to write k and epsilon before the abnormal end||xiuying||OpenFOAM Running, Solving & CFD||8||August 27, 2013 16:33|
|dynamic Mesh is faster than MRF????||sharonyue||OpenFOAM Running, Solving & CFD||14||August 26, 2013 08:47|
|mass flow in is not equal to mass flow out||saii||CFX||2||September 18, 2009 09:07|
|Modeling in micron scale using icoFoam||m9819348||OpenFOAM Running, Solving & CFD||7||October 27, 2007 01:36|
|Transient simulation not converging||skabilan||OpenFOAM Running, Solving & CFD||12||September 17, 2007 18:48|