how to obtain the total number of cells
I know we can see the number when importing mesh file. But does Fluent provide API? Thanks!
|
Quote:
|
Quote:
If Fluent doesn't provide API, that's the only way. I'll try this through it's a bit of a waste of CPU. |
Could you try thread->nelements, where thread is a cell thread.
In that case, you have to loop over all cell threads using therad_loop_c. Or Try domain-> cell_count It should help. |
Quote:
I've tried "domain-> cell_count" : Code:
"error C2039: 'cell_count' : is not a member of 'domain_struct'"? And I check mem.h, find these lines: Code:
#if RP_HOST Thanks! |
which version of fluent are you using.
|
Hi, vig. I'm using Fluent_v6.3.26, 32bit, Win7.
I first compile it under Linux, but there are extra errors(see http://www.cfd-online.com/Forums/flu...tters-why.html). |
All times are GMT -4. The time now is 05:27. |