How to get the mesh elements on a specific boundary or plane?
Posted: Mon Oct 28, 2019 5:56 pm
Hello,
I want to do a calculation only on a specific boundary (using a loop).
How can I set the loop that it only does the calculation for example on right boundary?
For example the following loop works on all mesh elements:
I want it to only work on specific boundaries or planes.
CS ver: 5.0.9
Thank you.
I want to do a calculation only on a specific boundary (using a loop).
How can I set the loop that it only does the calculation for example on right boundary?
For example the following loop works on all mesh elements:
Code: Select all
for (cs_lnum_t i = 0; i < n_cells_ext; i++)
{
...
}
CS ver: 5.0.9
Thank you.