|
[Sponsors] |
Strange Problem DecomposePar and SurfaceSampling |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 17, 2017, 19:37 |
Strange Problem DecomposePar and SurfaceSampling
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Hello to all,
I've just faced a strange problem. I have to run my simulation in parallel and here i have no problem. I use the scotch method. Then i have to extract the velocity profile over a patch so i wrote the following part in controlDict Code:
functions { surfaceSampling { type surfaces; functionObjectLibs ("libsampling.so"); enabled true; outputControl onEnd; interpolationScheme cellPointFace; surfaceFormat foam; fields ( U ); surfaces ( outlet { type patch; patches ("outlet"); interpolate false; triangulate false; } ); } } I noticed in the file created by the surface sampling utility that its elements are fewer than the number cells at the patch, while, when i don't use the parallel computetion, they are the same. I think this problem is up to the domain decomposition. So, how cai i use the surface sampling after reconstructPar? Thanks for help |
|
July 18, 2017, 04:33 |
|
#2 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
My question is also: is there a command from terminal that let me do the same operations of surfaceSampling?
|
|
|
|