Model.adaptive_wrapper_leak_check_mc#
- Model.adaptive_wrapper_leak_check_mc(mc_collection, collection)#
Checks leakage and generates 1Ds for the leak path for an adaptive wrap mesh control.
- Parameters:
mc_collection (Collection) – The collection containing the adaptive wrap mesh controls.
collection (Collection) – The collection of component or element entities in case the mesh controls do not have a base entity selection.
Example#
Perform a leak check on mesh control ID 2 by specifying components 20 and 21 as input#import hm import hm.entities as ent model = hm.Model() mesh_controls = hm.Collection(model, ent.Meshcontrol, [2]) comps = hm.Collection(model, ent.Component, [20,21]) model.adaptive_wrapper_leak_check_mc(mc_collection=mesh_controls, collection=comps)