CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Get data at special time (https://www.cfd-online.com/Forums/paraview/126965-get-data-special-time.html)

luuhoangthien November 29, 2013 22:48

Get data at special time
 
2 Attachment(s)
Dear every one,

I have done with my simulation in OpenFOAM and now I'm Post-processing it, I have write force over time, and plot force with time, I want to visualize in Paraview at time force biggest, lowest, and average. because of I get writeInterval = 1000, it too much so that OpenFOAM don't output in region i want to do with it, I have attach picture my force and time.

http://www.cfd-online.com/Forums/att...1&d=1385779199
Figure 1: Region I want to get data (Red circle) and Blue line are region I have folder data with U, P,...

http://www.cfd-online.com/Forums/att...1&d=1385779199
Figure 2: Folder data I have

I was search too much on internet but I don't know how to get it, anybody can help me?

Best Regards
Hoang Thien

wyldckat December 1, 2013 13:29

Hi Hoang Thien,

I've read your post a few times and I still haven't understood what exactly you want to do.

From what I can understand, you only want to plot the values between 9.62 and 9.87 seconds?
  • If this is want you want to do, you'll have to use foamToVTK like this:
    Code:

    foamToVTK -time 9.62:9.87
    Then open in ParaView the file "VTK/casename_..vtk", where "casename" is the name of your case.
    As far as I know, this is the only way you can guarantee that only the desired time frame is shown in ParaView.

Best regards,
Bruno

luuhoangthien December 1, 2013 21:47

Dear Bruno,

Thank you for your answer
I mean I want to visualize and plot at time 9.7, 9.76, 9.8

Best regards,
Hoang Thien

wyldckat December 8, 2013 15:27

Hi Hoang Thien,

Sorry, I didn't manage to answer sooner.
From your latest post, do you mean that you've managed to follow my instructions with success?

Best regards,
Bruno


All times are GMT -4. The time now is 05:01.