set_scope#
- VolumeControl.set_scope(scope)#
Sets the scope for volume control to evaluate.
Volume control uses scope to evaluate entities for which volume mesh needs to be generated.
- Parameters:
- scope
ScopeDefinition
ScopeDefinition to scope entities for volume mesh generation.
- scope
- Returns:
SetScopeResults
Returns a SetScopeResults.
- Return type:
Examples
>>> volume_control.set_scope(prime.ScopeDefinition(model=model, >>> entity_type = ScopeEntity.VOLUMES, >>> evaluation_type = ScopeEvaluationType.ZONES, >>> zone_expression = "vol_in"))