|
[Sponsors] |
Number of sampled cellPointFace of a patch does not match face number of patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 19, 2014, 07:04 |
Number of sampled cellPointFace of a patch does not match face number of patch
|
#1 |
New Member
Join Date: Nov 2012
Posts: 27
Rep Power: 13 |
Hallo everyone,
I got a problem of sampling surface. I am running a pipe flow with cyclic bc (DNS). When the flow is fully developed turbulent, I did a run-time surfacesampling of inlet. The sample function in the controlDict is as following described. The problem is that the number of sampled points/values (4846) does not match the number of actual faces of the patch (6400). This 4846 values are the results from 128 cores parallel computation. And with other core numbers, this number will also change. I also tried with 2 cores, then the number is 6400. My decompose methode is scotch. I also tried other methode, with simple the sampling function can not sample anything. Could anyone explain that? Code:
surfaceSampling { type surfaces; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 10; interpolationScheme cellPointFace; surfaceFormat foamFile; fields ( U ); surfaces ( inlet { type patch; patches ( inlet ); interpolate false; triangulate false; } ); } } Last edited by mgg; May 19, 2014 at 10:45. Reason: add tag |
|
May 26, 2014, 10:26 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings mgg,
This sounds like a bug. A few questions:
Bruno
__________________
|
|
June 12, 2014, 19:31 |
|
#3 | |
New Member
Join Date: Nov 2012
Posts: 27
Rep Power: 13 |
Quote:
thank you for your reply. I attached a pic to descreibe my problem. I sampled the inlet patch of of a cylinder, with has periodic bc between inlet and outlet. You see, there are a lot of mesh values missing. I can figure it out. |
||
June 14, 2014, 08:36 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi mgg,
Unfortunately your response does not answer my questions, therefore I'm unable to help you, simply because there is no clear way for me to try and reproduce the same problem. Best regards, Bruno |
|
June 16, 2014, 17:12 |
|
#5 | |
New Member
Join Date: Nov 2012
Posts: 27
Rep Power: 13 |
Quote:
I solve the problem with another way. I use cutting plane in sample Dict and disable triangulation. Then I got exactly the same cell number as it should be. Because I only need fully developed turbulent flow, it does not matter where I cut it. So I cut in the center of the pipe instead of boundary patch. (Is that beacuse patch is in the boundary, so it is hard for the sampling utility to get the value?) I do not know why sample patch did not work properly, but anyway I got what I want. Thank you for your help anyway. My OpenFOAM is 2.2.2. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[blockMesh] Internal walls of zero thickness | anger | OpenFOAM Meshing & Mesh Conversion | 23 | February 6, 2020 18:25 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |