CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Mass from Mass fraction

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2007, 07:50
Default 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
  Reply With Quote

Old   February 9, 2007, 09:10
Default 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
  Reply With Quote

Old   February 12, 2007, 12:38
Default 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
  Reply With Quote

Reply

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
mass fraction of species Lilly FLUENT 3 July 25, 2011 05:00
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22


All times are GMT -4. The time now is 01:32.