Skip to content
Snippets Groups Projects

ENH: createPatch: allow duplicating face (for ACMI)

Merged Mattijs Janssens requested to merge feature-createPatch-cyclicACMI into develop

Summary

Allow faces to be duplicated

Resolved bugs (If applicable)

None.

Details of new models (If applicable)

In system/createPatchDict can now specify same input set for multiple patches. It'll give warning and create duplicate face.


    // Example of creating cyclicACMI patch pair
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // (creates duplicate faces for blockage)
    {
        // Name of new patch
        name left_couple;

        // Dictionary to construct new patch from
        patchInfo
        {
            type cyclicACMI;
            neighbourPatch right_couple;
            nonOverlapPatch left_blockage;
        }

        // Select faces
        constructFrom set;
        set left_faces_set;
    }

    {
        name left_blockage;
        patchInfo
        {
            type    wall;
        }

        // Select faces
        constructFrom set;
        set left_faces_set;
    }

    {
        // Name of new patch
        name right_couple;

        // Dictionary to construct new patch from
        patchInfo
        {
            type cyclicACMI;
            neighbourPatch left_couple;
            nonOverlapPatch right_blockage;
        }

        // Select faces
        constructFrom set;
        set right_faces_set;
    }

    {
        name right_blockage;
        // Dictionary to construct new patch from
        patchInfo
        {
            type    wall;
        }

        // Select faces
        constructFrom set;
        set right_faces_set;
    }

Risks

Untested in parallel but don't foresee any problems.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading