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

libsampling.o does not sample surfaces when in parallel using foam-extend. Bug?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2017, 11:13
Default libsampling.o does not sample surfaces when in parallel using foam-extend. Bug?
  #1
Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 70
Rep Power: 6
Santiago is on a distinguished road
So, I've been trying to extract some surfaces on runtime using a solver I have developed for foam-extend 4.0. The usual way is:

Code:
functions
{
// ... other function objects
        sampledSurface
        {
                functionObjectLibs ( "libsampling.so" );
                type surfaces;
                outputControl timeStep;
                outputInterval 1;
                enabled true;

                surfaceFormat foamFile;
                interpolationScheme none;
                interpolate false;
                triangulate false;

                fields
                (
                     U
                );

                surfaces
                (
                        inlet
                        {
                                type patch;
                                patchName inout1;
                        }
                );
        }
};
Inserted at the end of controlDict. The problem is that the code doesn't generate the planes when running in parallel, but it does generate the planes when running in serial. Additionally, the other function objects work like a charm. Is this a bug?
Santiago is offline   Reply With Quote

Old   June 15, 2017, 07:13
Default
  #2
New Member
 
Ashvin Chaudhari
Join Date: Aug 2011
Location: Finland
Posts: 23
Rep Power: 8
ashvinc9 is on a distinguished road
Hi Santiago,

I found the same problem in OF 2.2. Have you come up with any solution?
ashvinc9 is offline   Reply With Quote

Old   June 16, 2017, 03:38
Default
  #3
Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 70
Rep Power: 6
Santiago is on a distinguished road
Yes and no, I changed the surfaceFormat to 'raw' and it worked in parallel. I'd like to report this bug, but I haven't had the time to do so.

Sent from my Lenovo A5000 using CFD Online Forum mobile app
Santiago 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
Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 51 May 30, 2016 10:51
Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
Parallel FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 1 July 28, 2006 12:48


All times are GMT -4. The time now is 16:24.