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).
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
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 !!!
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 )
|All times are GMT -4. The time now is 02:06.|