CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Species volume fraction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 18, 2010, 12:54
Default Species volume fraction
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 12
sega is on a distinguished road
Hello world.

How can I determine which volume fraction a species occupies in one cell?

sega
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 20, 2010, 15:51
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 12
sega is on a distinguished road
Come on guys.

This can't be so tought.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 22, 2010, 12:18
Default
  #3
Member
 
Allan Walsh
Join Date: Mar 2009
Posts: 55
Rep Power: 9
Allan Walsh is on a distinguished road
Um, what do you mean by "which volume fraction"? For example, the bottom, right corner of the cell? I'm guessing you mean you want to convert the mass fraction to volume fraction.
This can be done using the cell density, molecular weight, and the molecular weight of the species of interest. I believe there is an example of this in the UDF manual under the macro for volume reaction rate.
Allan Walsh is offline   Reply With Quote

Old   March 22, 2010, 12:37
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 12
sega is on a distinguished road
Quote:
Originally Posted by Allan Walsh View Post
Um, what do you mean by "which volume fraction"? For example, the bottom, right corner of the cell? I'm guessing you mean you want to convert the mass fraction to volume fraction.
This can be done using the cell density, molecular weight, and the molecular weight of the species of interest. I believe there is an example of this in the UDF manual under the macro for volume reaction rate.
Yes you are guessing right: mass fraction / mole fraction to volume fraction would be nice.

There are two examples for the volumetric reaction rate in chapter 2.3.27.
None enlightens me how this should be possible.

Do you have an equation how this works?
I'm sure I can handle the programming part of it ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   November 27, 2011, 12:17
Default udf
  #5
New Member
 
arash
Join Date: Jun 2011
Posts: 7
Rep Power: 7
arashoil is on a distinguished road
hi,

can i modelling asphaltene precipitation that exist in crude oil by uusing ceramic filter monolit by defult formolation in fluent?

i want to modelling separation of asphaltene from crude oil by 19-channel ceramic filter,but i think it is not define in FLUENT that precipitate asphaltene on surface of ceramic channel base on diffrences between pore size.

i must write UDF for this porpuse or not?

most of oil flow must pass through the membrane wall and most of asphaltene must form a gel-layer and precipitation on inner surface od channel.

please help me as soon as possible

thank you so much
arashoil is offline   Reply With Quote

Old   April 16, 2014, 02:02
Default
  #6
New Member
 
sarighulikhan
Join Date: Mar 2014
Posts: 15
Rep Power: 4
hane is on a distinguished road
Quote:
Originally Posted by sega View Post
Hello world.

How can I determine which volume fraction a species occupies in one cell?

sega
write C_VOF( , )
hane is offline   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
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
interDyMFoam - change in volume fraction gopala OpenFOAM Running, Solving & CFD 0 April 27, 2009 10:46
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


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