# Mass from Mass fraction

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 9, 2007, 07:50 Mass from Mass fraction #1 PK 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, 09:10 Re: Mass from Mass fraction #2 Dmitriy 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, 12:38 Re: Mass from Mass fraction #3 PK 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

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Attesz CFX 7 January 5, 2013 04:32 Lilly FLUENT 3 July 25, 2011 05:00 saii CFX 2 September 18, 2009 08:07 paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14 mike CFX 1 March 19, 2008 08:22

All times are GMT -4. The time now is 21:51.

 Contact Us - CFD Online - Top