|
[Sponsors] |
libsampling.o does not sample surfaces when in parallel using foam-extend. Bug? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15 ![]() |
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; } ); } }; |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Ashvin Chaudhari
Join Date: Aug 2011
Location: Finland
Posts: 23
Rep Power: 15 ![]() |
Hi Santiago,
I found the same problem in OF 2.2. Have you come up with any solution? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Sep 2021
Posts: 6
Rep Power: 4 ![]() |
Hello
I am having the same problem,while running in parallel it only generates the planeA but not the left_x patch Does anyone know ? Thank you sampledSurface { type surfaces; libs ("libsampling.so"); libs ("libOpenFOAM.so"); writeControl timeStep; writeInterval 1; enabled true; surfaceFormat boundaryData; interpolationScheme none; interpolate false; triangulate false; fields ( U p ); surfaces ( left_x { type patch; patches ("left_x"); triangulate false; } planeA { type plane; triangulate false; planeType pointAndNormal; pointAndNormalDict { point (4.186 4.18 2); normal (1 0 0); triangulate false; //zone zone2; } } |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 10:51 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |
Parallel FOAM FATAL IO ERROR | msrinath80 | OpenFOAM Running, Solving & CFD | 1 | July 28, 2006 12:48 |