CFD Online Logo CFD Online URL
Home > Forums > CFX

how to define particle mass fraction in the subrou

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

LinkBack Thread Tools Display Modes
Old   October 6, 2005, 07:50
Default how to define particle mass fraction in the subrou
Posts: n/a
Dear all,

my model is to spray NaCl aqueous solution in a hot air by using particle tracking method. Nacl aqueous solution was created as a variable composion mixture from Solid particle NaCl and water.

Now, I need to creat a FORTRAN subrotine. NaCl mass fraction in the particle is one of the variable. Any one know what is the MMS name NaCl mass fraction in the particle.

I know that mass fraction name is MASFRN Also any variables related to the particle is Variable_PT for example TEMP_PT

note: the aqueous solution is named 'NaClAqu' (as a new

material in my CFX-pre)

Nacl is named 'sodium chloride' (as a new material

in my CFX-pre file)
  Reply With Quote

Old   October 6, 2005, 09:20
Default Re: how to define particle mass fraction in the su
Posts: n/a
Hi Neser,

Which kind of Fortran you need? If you use User CEL Function you can pass this variable as an argument. Thus, all you need is to use the Pre variable name.

In order to obtain the path to this variable in MMS, you should look for it using the API available. Take a look in the documentation for the proper API.

Another option is run the solver with the option -norun. It will not delete the temp directory where you can find the file cfx5.mms. This file contains all variables and options from CCL in the MMS format.

Hope it helps.
  Reply With Quote


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
UDF carbon conversion papteo Fluent UDF and Scheme Programming 1 August 18, 2011 07:32
UDF for Species Mass Fraction Gradient *IN SPECIFIC ZONE * -- e.g. along axis of sym. ksiegs2 Fluent UDF and Scheme Programming 0 February 27, 2011 13:55
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 140 June 19, 2010 09:23
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 0 May 25, 2009 09:39
particle, parcel and mass flow rate balance flybird FLUENT 0 May 24, 2007 10:44

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