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

Units from UDF macros

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2021, 12:28
Default Units from UDF macros
  #1
New Member
 
Join Date: Jan 2018
Posts: 29
Rep Power: 5
UchihaMadara is on a distinguished road
I wanted to ask about the units of the UDF macros.
Lets say I am dealing with

NV_mag(area), F_P(f,t) and F_Flux(f,t)


will their units be in m2, N/m2 and kg/s or something else? respectively?


(I ask this becuase I observed that I have build my CAD in mm, that means when I switch from fluent meshing to fluent solver I do a scale 0.001 0.001 0.001 command and then change the units with

/define units length mm so that I could place surfaces and lines easily.



And this has confused my two DEFINE_PROFILE methods in giving results in order of -16 and -10 for mass flow rates and reynolds respectively.)
UchihaMadara is offline   Reply With Quote

Old   May 24, 2021, 01:56
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,723
Rep Power: 28
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
by default fluent uses SI for units: meters, seconds, Kelvin, so on.

when you load mesh, you should scale it to be in meters.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
udf, units

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF units 2D vs. 3D destroy FLUENT 0 October 23, 2018 09:29
UDF macros for surface reaction borhan_sd@yahoo.com Fluent UDF and Scheme Programming 0 June 6, 2013 08:57
how to use TUI commands inside UDF macros??? Giacomo de Renzi FLUENT 1 May 27, 2008 05:06
UDF macros and updated mesh geometry Maziar Mahzari FLUENT 1 November 1, 2005 06:29
UDF Source Term Units? Brian FLUENT 1 October 24, 2005 09:15


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