1 // List<polyMeshModifier*> tm(3*nValves() + 2);
2 // DynamicList<polyMeshModifier*> tm;
6 for (label valveI = 0; valveI < nValves(); valveI++)
10 // Add attach-detach for valve
13 valves_[valveI].detachInCylinderPatchID().active()
14 && valves_[valveI].detachInPortPatchID().active()
18 Info << "Adding a attach/detach boundary mesh modifier to the valve " <<
21 topoChanger_.setSize(nMods+1);
27 "valveAttachDetach" + Foam::name(valveI + 1),
30 "detachFaceZoneV" + Foam::name(valveI + 1),
31 valves_[valveI].detachInCylinderPatchID().name(),
32 valves_[valveI].detachInPortPatchID().name(),
34 true // Manual triggering
38 Info << "Attach detach" << endl;
43 // Add piston layer addition
44 if (piston().patchID().active())
48 Info << "Adding a layer addition/removal mesh modifier to the piston" << endl;
50 topoChanger_.setSize(nMods+1);
54 new layerAdditionRemoval
65 Info << "pistonLayer" << endl;
66 Info << nMods << endl;
70 Info << "Adding " << nMods << " topology modifiers" << endl;