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

[OpenFOAM] Get data at special time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2013, 21:48
Smile Get data at special time
  #1
New Member
 
ThienMa
Join Date: Sep 2013
Posts: 8
Rep Power: 12
luuhoangthien is on a distinguished road
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.


Figure 1: Region I want to get data (Red circle) and Blue line are region I have folder data with U, P,...


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
Attached Images
File Type: jpg Capture.jpg (60.2 KB, 32 views)
File Type: png Capture2.PNG (10.2 KB, 32 views)
luuhoangthien is offline   Reply With Quote

Old   December 1, 2013, 12:29
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   December 1, 2013, 20:47
Default
  #3
New Member
 
ThienMa
Join Date: Sep 2013
Posts: 8
Rep Power: 12
luuhoangthien is on a distinguished road
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
luuhoangthien is offline   Reply With Quote

Old   December 8, 2013, 14:27
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 22:29
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33


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