View Issue Details

IDProjectCategoryView StatusLast Update
0001211OpenFOAMBugpublic2017-11-02 12:07
Reporteruser882Assigned Towill  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS VersionWheezy
Summary0001211: nearestPatchFaceAMI should support transformations
DescriptionFor the mapped patch type, nearestPatchFaceAMI should support transformations from the target patch to the source patch like cyclicAMI does. Right now, it only supports coincident patches.

As I only needed a translation transformation I modified src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C, calcAMI() function to use the "offset" keyword to create a new transformed patch. I reused the commented code from Line 794-823. Attached is the modified file.

Steps To ReproduceDefine a mapped patch with sampleMode as nearestPatchFaceAMI. Construct the mesh such that the source and target patches are not coincident. AMI will fail to perform the interpolation.
TagsAMI

Activities

user882

2014-03-09 19:58

 

mappedPatchBase.C (38,657 bytes)

will

2017-11-02 12:07

manager   ~0008981

This report is now too old and too many changes have happened to mappedPatchBase to cross check your source file with the existing code. If this is still an issue, please reopen the report with an updated fix and a test case which reproduces the issue.

Issue History

Date Modified Username Field Change
2014-03-09 19:58 user882 New Issue
2014-03-09 19:58 user882 File Added: mappedPatchBase.C
2014-12-29 18:41 wyldckat Tag Attached: AMI
2017-11-02 12:07 will Assigned To => will
2017-11-02 12:07 will Status new => closed
2017-11-02 12:07 will Resolution open => fixed
2017-11-02 12:07 will Note Added: 0008981