Page 1 of 1

First parameter of cs_selector_get_b_face_list

Posted: Mon Jun 12, 2023 7:48 pm
by finzeo
Hi all,

I am editing the cs_user_extra_operations.c file for the calculation of forces on the boundary, and moments about certain points. I can't understand in the documentation what the first argument of the cs_selector_get_b_face() function, corresponding to a certain selection criteria, refers to. I reach through the code to see that it depends on a certain _get_criteria_id function, but I can't see any more information on how to use this argument.

Thanks in advance,

Re: First parameter of cs_selector_get_b_face_list

Posted: Mon Jun 12, 2023 8:55 pm
by Yvan Fournier
Hello,

There are several examples (see https://www.code-saturne.org/documentat ... mples.html).

Selection criteria are also explained in the documentation: https://www.code-saturne.org/documentat ... ect_c.html

Best regards,

Yvan

Re: First parameter of cs_selector_get_b_face_list

Posted: Tue Jun 13, 2023 10:45 pm
by finzeo
Thank you Yvan