SAVE_BE_filter
Filtering of boundary elements via expression
SAVE_BE_filter allows for filtering of the boundary elements (BEs) via BE-FilterExpression:
Only those boundary elements will be saved for which the BE-FilterExpression has a value bigger than zero.
(see
BE_Functions for applicable functions.)
Example:
The feature is fully interoperable with
begin_save{.
The BE-FilterExpression is evaluated once per
begin_save{, the results are then kept and reused for the
next time where this save-environment is called. Hence, only time independent filters can be applied.
Supported formats (see SAVE_format):
All options:
In order to address properties of boundary elements and use them for
SAVE_BE_filter, use the following syntax:
SAVE_format(1) = 'ENSIGHT6 BINARY N--T'
SAVE_BE_filter = [ Y%ind_x(1)%>0]
# only save boundary elements whose x-coordinate is positive. use %ind_x(2)% and %ind_x(3)% similarly.
SAVE_BE_filter = [ Y%ind_v(1)%>1]
# only save boundary elements whose velocity in x-direction exceeds a certain value. Similar for Y%ind_v(2)% and Y%ind_v(3)% .
SAVE_BE_filter = [ Y%ind_cham%=1]
# only save boundary elements belonging to chamber 1
SAVE_BE_filter = [ Y%ind_BC%=
$someGivenBC$]
# only save boundary elements whose boundary condition BC flag is $someGivenBC$
SAVE_BE_filter = [ Y%ind_MOVE%=
$someGivenMOVE$]
# only save boundary elements whose boundary MOVE flag is $someGivenMOVE$
SAVE_BE_filter = [ Y%ind_kob%=%IDENT_slip%]
# only save boundary elements whose boundary IDENT flag is %IDENT_slip% (or other)
SAVE_BE_filter = [ Y%ind_layer%=2]
# only save boundary elements whose boundary LAYER flag is 2 (or other)
SAVE_BE_filter = [ Y%ind_med%=
$someGivenMAT$]
# only save boundary elements whose material MAT flag is some given material