View Issue Details

IDProjectCategoryView StatusLast Update
0000880OpenFOAMBugpublic2015-02-05 09:26
Reporteruser38Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000880: bugs in the member function of nbrCoupledPatchID in regionModel class
DescriptionIs the nbrCoupledPatchID function used for find the coupled patchid in the nbrRegion of regionPatchI in current region? If it is so, it seems that we should get the primaryPatchName directly rather than geting the sampling patch using mappedPatchBase, the sampling patch of current patch should be the neighbor patch name.
That is the following code in line 289-line 296 in regionModel.C should be changed to
 const word& primaryPatchName = regionMesh().boundryMesh()[regionPatchI].name();

or get the neighbor patch name directly but not use samplePatch.

One use samplePatch and one get the patch name directly, but not both use samePatch in a word.

regards, Junwei
TagsNo tags attached.

Activities

user21

2013-06-10 14:32

  ~0002269

Yes, this is function is used to get the nbrPatchI using the nbrRegion and
the localPatchId.

The coupled pathes are mappedPatchBase and the function asks on both
sides which is the name of the patch being sampled, if they are similar it
returns the ID. In this way the search is consistent on both side.

The way you propose is another alternative as well.

Regards

Issue History

Date Modified Username Field Change
2013-06-09 03:59 user38 New Issue
2013-06-10 14:32 user21 Note Added: 0002269
2015-02-05 09:26 henry Status new => closed
2015-02-05 09:26 henry Assigned To => henry
2015-02-05 09:26 henry Resolution open => no change required