|
[Sponsors] |
September 10, 2013, 13:11 |
probes
|
#1 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
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. |
|
September 10, 2013, 13:32 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
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 |
|
September 10, 2013, 13:40 |
|
#3 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
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. |
|
September 11, 2013, 01:57 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
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 ) |
|
|
|
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 04: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 15:08 |