Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !468

AMI improvements

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrew Heather requested to merge feature-ami-face-area-intersect into develop Jun 14, 2021
  • Overview 83
  • Commits 2
  • Changes 19
  • Added new faceAreaWeightAMI2D AMIMethod:

    • performs intersection using a new 2D triangle class;

    • candidate face matches set using an AABBTree method (vs advancing front for faceAreaWeightAMI).

    • Use by setting the AMIMethod entry when specifying the AMI in the constant/polyMesh/boundary file, e.g.

      AMI
      {
          type            cyclicACMI;
          AMIMethod       faceAreaWeightAMI2D; // new method
          Cbb             0.1; // optional coefficient
          nFaces          1000;
          startFace       100000;
          matchTolerance  0.0001;
          transform       noOrdering;
          neighbourPatch  AMI1;
          nonOverlapPatch AMI1_non_overlap;
      }
    • The optional Cbb coeffcient controls the size of the bounding box used when looking for candidate pairs; the value of 0.1 is the default and worked well for a large range of test cases. For badly matched AMI patches this may need to be increased.

  • Deprecated the partialFaceAreaWeightAMI class - primarily used by ACMI:

    • functionality now offered by the AMI variants.
  • NOTE: both AABBTree and octree variants included for review; ONLY 1 METHOD TO BE ADDED

EDIT: octree method remoed

Edited Jun 17, 2021 by Andrew Heather
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-ami-face-area-intersect