Ansys > Fluent
Can I get the number of faces in a boundary zone to use it in a variable?
(1/1)
pico:
Hi,
How can I get the number of faces in a boundary zone to use it in a variable in Fluent?
Thanks.
william:
--- Quote from: pico on December 27, 2020, 04:41:45 PM ---Hi,
How can I get the number of faces in a boundary zone to use it in a variable in Fluent?
Thanks.
--- End quote ---
Create a variable, then use the following Scheme code snippet
(define (ncf ct_id) (car (%inquire-faces-and-nodes-on-thread ct_id)))
Then just use
(ncf 4)
to get the number of faces in thread with ID 4.
Navigation
[0] Message Index
Go to full version