|
[Sponsors] |
June 22, 2018, 09:07 |
Units for User Defined Scalars
|
#1 |
Member
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17 |
What are the units of the User defined scalars (UDS) ?
The mass flow rate for the UDS is always in kg/s. Are there any ways to set the UDS units? |
|
June 22, 2018, 14:14 |
|
#2 |
New Member
Animesh Sahoo
Join Date: May 2018
Posts: 20
Rep Power: 7 |
As the name suggests its a scalar. So, whatever will be the unit of your scalar same is the unit of your UDS. When you will operate on it you will get either a scalar or a vector but unit remains same.
|
|
June 23, 2018, 07:15 |
|
#3 |
Senior Member
Join Date: Sep 2017
Posts: 246
Rep Power: 11 |
Hi Zobekenobe,
Fluent has no opinion on the units for a UDS -- it is user-defined, so Fluent stays out of it, and (as far as I know) there is no way to tell Fluent the units. It would not use the information for anything anyway, except maybe labelling contour plots etc. It is worth comparing the transport equation for a UDS with the equivalent for a species mass fraction. You should find that the UDS behaves like a mass fraction -- hence, if you think of a UDS as being something like a concentration, you should think about it as "per unit mass of fluid" rather than "per unit volume of space". This difference is significant only if the fluid density changes. (I'm assuming that you select Mass Flow Rate as the flux function. Without that, there is even less connection to the flowfield, and the UDS does not even need to be concentration-like.) While I'm on the subject: the UDS diffusivity is missing a factor of density compared to a species diffusivity. Also, UDS diffusivity does not include turbulence unless you include it in a UDF. You say that the mass flow rate for a UDS "always" has units of [kg/s]. I guess that you're referring to the boundary condition at a velocity inlet, or a reported mass-weighted flux somewhere, for example. Well, I think you are correct *if* you are regarding the UDS as a mass fraction -- a very sensible choice, but not the only choice. I doubt that it is referred to as a mass flow rate inside Fluent. A massflowrate-weighted average will be reported with units [kg/s], with an implicit factor of the UDS unit. If a UDS has units of [mmol/kg], for example, then this kind of total flowrate will end up having units of [mmol/s] as far as the user is concerned, with Fluent remaining unconcerned. I hope this helps. Ed |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys SIG$ILL error | loth | ANSYS | 3 | December 24, 2015 05:31 |
Fluent User defined Scalars and UDF | Anirudh_Deodhar | Fluent UDF and Scheme Programming | 0 | February 16, 2011 20:16 |
Multiple user defined scalars | Hassid Samuel | FLUENT | 3 | March 27, 2001 03:12 |
Naming User Defined Scalars | Greg Perkins | FLUENT | 0 | March 6, 2000 23:10 |
To dimensionalize or not to dimensionalize !! | tolani owosina | Main CFD Forum | 8 | November 13, 1999 13:45 |