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

fast way to probe many points?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2014, 12:02
Default fast way to probe many points?
  #1
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hello,
I need to probe many points (order of 10 000) at the end of my simulation. I am currently using the function "probe" in my controlDict, with outputTime at the end of the simulation. It works fine, but it introduce a delay of several hours before the solver actually starts (~10 million cells mesh, running on 64 cores). Therefore, I'm looking for a faster way to probe all those points. Does someone have experience with that?
Thanks for your help!
Eloïse
Eloise is offline   Reply With Quote

Old   May 17, 2014, 14:55
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 Eloïse,

I assume you're using something similar to the example at "src/sampling/probes/probesDict" and also available at "applications/utilities/postProcessing/sampling/probeLocations/probesDict"?

Have you tried the "cloud" set type for the sampling mechanism, instead of the probes? A full example is given at "applications/utilities/postProcessing/sampling/sample/sampleDict". You need to be more careful with this one, since it has interpolation options; because I'm not sure if the probe function object has interpolation options.

The other possibility is to simply use the utility probeLocations in parallel, after the solver as finished.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 19, 2014, 06:32
Default
  #3
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hello Bruno,

Thanks for your answer! I was actually using this code in my controlDict:
Code:
functions
{
probes
    {
        type            probes;

        // Where to load it from
        functionObjectLibs ("libsampling.so");

        // Name of the directory for probe data
        name probes;

        // Write at every timestep
        outputControl   outputTime;

        // Fields to be probed
        fields
        (
            UMean
        );

        probeLocations
        (
        (-20.612 -25.399 -87.200)
        );
    }
}
I've now compared probeLocations and sample (with cloud), both in parallel. ProbleLocations seems to take the same time as my initial setup, while cloud sampling is very fast! But indeed, the interpolation scheme must be chosen carefully!

Best regards,
Eloïse
Eloise is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[DesignModeler] DM's JScript: FPoint()'s GetPoint(i) function picks points backwards? ANT ANSYS Meshing & Geometry 2 July 23, 2012 16:25
[OpenFOAM] Probe Multiple Points in ParaView and Output as CSV eric.m.tridas ParaView 4 November 29, 2011 14:30
Multiple probe points oyvinl CFX 1 February 21, 2011 21:36
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


All times are GMT -4. The time now is 21:49.