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

probes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 10, 2013, 13:11
Default probes
  #1
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi OF-users,

I want to use the probeLocations command with the system/probesDict file.
I want to sample the velocity for circa 20000 points.

But all data are written on 1 line in the resulting file (postProcessing/probes/0.05/U)

Someone knows a way to get the resulting data written on 20000 lines (1 line for 1 point).

Best regards,
Stephane.
openfoam_user is offline   Reply With Quote

Old   September 10, 2013, 13:32
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
Hi Stephane,


This is explicitly programmed like this. The main reason is that new values the next time step are added as a new line (which is far easier than adding a new column).

So if you want your data to be written as new 20000 lines, I'm afraid you will need to make your own version of probes.C and patchProbesTemplates.C

Cheers,

L
Lieven is offline   Reply With Quote

Old   September 10, 2013, 13:40
Default
  #3
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Lieven

Often it is not easy to understand how post-processing programming in OpenFOAM has been written.

My example: probeLocations (points) are written in rows and resulting data are given in columns !!!

Stephane.
openfoam_user is offline   Reply With Quote

Old   September 11, 2013, 01:57
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
For probes it is very easy: one colum per probe point and one row per time instance. I don't know how smoothly this works for 20k probing points, because that is probably not the intended use.

What are you actually trying to achieve? There is probably at better approach than using 20k points, as you are not going to look at every single one of them. (Is the a XY problem? http://mywiki.wooledge.org/XyProblem )
Bernhard 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
probes function not working in Openfoam 2.1.1 nandiganavishal OpenFOAM 7 July 26, 2012 11:06
Probes dhruv OpenFOAM 3 October 5, 2011 12:59
Error using probes balkrishna OpenFOAM Running, Solving & CFD 6 November 12, 2010 05:55
probes for a component of a volTensorField titio OpenFOAM Post-Processing 0 July 2, 2010 13:50
problems with probes() function in chtMultiRegionFoam Victor OpenFOAM 0 November 25, 2009 16:08


All times are GMT -4. The time now is 17:59.