how to define particle mass fraction in the subrou
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)
Re: how to define particle mass fraction in the su
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.
|All times are GMT -4. The time now is 18:03.|