filterBE{

further filtering of boundary elements in a manipulate{"alias1",...}-statement

A nice functionality to further filter the list of BE which a geometry manipulation has to act on. It is an OPTIONAL add-on to the manipulate{ functionality .
manipulate{"whatever"} , filterBE{%GEO_removeBasedOnCOG%,[filter-functional]} , GeometryManipulations
the filterBE{ function is based on the implementation of removeBEonCondition{ . Here, instead of removing, the GeometryManipulations are only applied to the boundary elements, for which the filter-functional applies. example
begin_alias {} "BODY" = " ... " "INLET" = " ... " "OUTLET" = " ... " end_alias begin_boundary_elements{} include{Some_stl-File_ContainingOnlyOneBody.stl}, reorientation{%GEO_Tube%, %GEO_Inside%} # alias-name of the body in the STL-file is "BODY", a cube with edge length 1 manipulate{"BODY"}, filterBE{%GEO_removeBasedOnCOG%,[(Y%ind_x(1)%<0.01)]}, applyAlias{"INLET"} # "BODY"-BE at x=0 are switched into "INLET" manipulate{"BODY"}, filterBE{%GEO_removeBasedOnCOG%,[(Y%ind_x(1)%>0.99)]}, applyAlias{"OUTLET"} # "BODY"-BE at x=1 are switched into "OUTLIET" end_boundary_elements