|
[Sponsors] |
February 9, 2007, 06:50 |
Mass from Mass fraction
|
#1 |
Guest
Posts: n/a
|
Hi ,
How to get the mass of a species from C_YI( , , ) ; let's I have a mixture of 3 species : how to get the mass of a species i in a cell from just C_YI(cell,thread,i) ? Thanks PK |
|
February 9, 2007, 08:10 |
Re: Mass from Mass fraction
|
#2 |
Guest
Posts: n/a
|
Hi PK,
Just multiply C_YI(c,t,i) by mass in the cell, which is (Density in the cell)*(Volume of the cell). You can do it using Custom Field Function and inspect it using Display/Countour. Alternatively, calculate it in UDF and store in a separate memory array (e.g., C_UDMI(c,t,mass_i)), i.e. C_UDMI(c,t,mass_i)=C_YI(c,t,i)*C_R(c,t)*C_VOLUME(c ,t) Something like this. Regards, Dmitriy |
|
February 12, 2007, 11:38 |
Re: Mass from Mass fraction
|
#3 |
Guest
Posts: n/a
|
Thanks a lot , It is working .
One more question ; About the value that should be given back by DEFINE_SOURCE in a UDF when removing species. According to guide , it is value in kg/m3/s ; Does it make sense if with a surface (2D simulation) which is going to remove a quantity of species in M_remove (kg) a DEFINE_SOURCE udf gives back M_remove(kg)/area(of surface in m2) ? ->to have a "density of mass removed" . Does FLUENT would multiply internally this value by the volume of the cell (C_VOLUME)? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass fraction of species | Lilly | FLUENT | 5 | March 13, 2022 17:52 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 07:22 |