CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Sampled data in a single file (probes)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2016, 07:03
Default Sampled data in a single file (probes)
  #1
New Member
 
Join Date: May 2016
Posts: 6
Rep Power: 2
Jambne is on a distinguished road
Hello to everyone,

I'm using the probe function to sample the pressure in a bunch of points. The problem is that every time that I stop and re-start the simulation OpenFoam creates a new folder with the log file (p) inside, starting from the latest time (e.g. postProcessing->Probes-->0, 0.2, 0.6, etc.).
Is it possible to keep all the sampled data in a single file?

Thank you!
Jambne is offline   Reply With Quote

Old   May 20, 2016, 07:12
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,164
Rep Power: 20
akidess will become famous soon enough
I'd just cat them afterwards.

cat postProcessing/probes/*/p >> p_all.dat
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Join the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oHPxcPqde7HtA2
akidess is offline   Reply With Quote

Old   May 20, 2016, 09:15
Default
  #3
New Member
 
Join Date: May 2016
Posts: 6
Rep Power: 2
Jambne is on a distinguished road
It kinda works but it doesn't attach the files in the correct chronological order. Any suggestion?
Jambne is offline   Reply With Quote

Old   May 20, 2016, 10:15
Default
  #4
New Member
 
Join Date: May 2016
Posts: 6
Rep Power: 2
Jambne is on a distinguished road
Ok my mistake, It works correctly and the order is right!
Thank you so much.
Jambne is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swak4Foam funkyDoCalc with OF2.3 massflow NiFl OpenFOAM 11 November 1, 2016 07:43
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 94 August 19, 2016 08:14
Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Installation 6 September 5, 2015 21:03
Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Installation 9 June 12, 2015 17:18
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 22:42.