|
[Sponsors] |
April 24, 2021, 04:59 |
storing cell volume in UDMI
|
#1 |
New Member
SAYANTAN BISWAS
Join Date: Mar 2018
Location: Mumbai
Posts: 17
Rep Power: 8 |
Hello,
I'm working on Euler-Euler two phase (air-water) transient passive mixing ( i.e. no reaction is involved, a tracer material is defined that present in water phase only) simulation. I'm using DEFINE_ADJUST() macro, I want to store cell volumes that satisfied a specified condition (sum of all such cells) at corresponding time steps. Please let me know wheather the following approach is correct or not. if (tracer equilibrium condition) { C_UDMI(cell,cell thread,0) = 1; /* assign value 1 to all such cells that satisfies the if condition*/ C_UDMI (cell, cell_thread, 1)= 1 x C_VOLUME(cell, pt[0]); /*here pt is a pointer to defined water phase, 0 indicate water, 1 indicate air. C_VOLUME cell macro supposed to obtain such cells volume that satisfied the above mentioned if condition*/ } Now, in Fluent report defination section, I'm creating a volumetric monitor 'sum', and then 'sum' of the 'UDMI 1' to get the total cell volume that satisfied the specified condition. . Is this approach correct to get the total cell volumes that meet the if condition criteria at each time steps? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 18:28 |
Journal file error | magicalmarshmallow | FLUENT | 3 | April 4, 2014 12:25 |
Negative cell volume problem in-cylinder | ziani.lotfi | FLUENT | 0 | April 11, 2012 07:54 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |