Fluids

Fluids

Effect of scaling on units in UDF

Tagged: ,

    • atulsingh92
      Subscriber

      Hello,

      Lets say in my batch submission to the cluster I have the following commands (for a CAD created in mm)

      /mesh/scale 0.001 0.001 0.001
      

      Now if my UDF for this model has formulas for

      F_FLUX(f,t) or F_P(f,t) or NV_MAG(area)
      

      will the results from these in kgm/s - Pa - m2 respectively, or I should explicitly add a factor conversion here i.e. to convert mm to m due to the /mesh/scale command employed above?

    • DrAmine
      Ansys Employee
      UDF is expecting that you are providing input and getting input in S.I units (for that reason there is no dimension specifications): that is in your responsibility to return appropriate values.
      So expect Pressure to be understood in Pa, Areas in m┬▓ and Flux in kg/s.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.