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

Mass from Mass fraction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2007, 06: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, 08: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, 11: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


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


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


All times are GMT -4. The time now is 23:16.