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

UDMI doesn't save the right Reynold number value?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2023, 08:29
Default UDMI doesn't save the right Reynold number value?
  #1
Member
 
Chhotelal
Join Date: Jun 2023
Posts: 31
Rep Power: 3
Chhotelal1234 is on a distinguished road
Dear Expert,

I'm facing confusion regarding the incorrect retrieval of the Reynold number value when saving it in a UDF using UDMI. I've developed a UDF for exchanging properties in multiphase modeling, specifically aiming to save the Reynold number value via UDMI. However, the stored value doesn't appear to be accurate.

The Reynold number equation I'm using is Re = (rho_g * abs_v * dp)/mu_L, where the variables rho_g, abs_v, dp, and mu_L obtain values from the cell.

My attempt to store the Reynold number value in UDMI is as follows:


C_UDMI(c, t_mix, 0) = Re;


I've also experimented with alternative storage locations like (C, t_gas, 0) and (C, t_solid, 0), but the results remain inaccurate. Could you please advise on the possible reasons behind this issue and suggest the correct approach?
Chhotelal1234 is offline   Reply With Quote

Old   December 26, 2023, 03:12
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
check ansys fluent customization manual
2.4.3.3. Example 1 - Custom Drag Law
__________________
best regards


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

Reply


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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 22:00
FOAM FATAL IO ERROR:file: unknown YatengQ OpenFOAM Running, Solving & CFD 0 January 31, 2023 08:14
[mesh manipulation] mergeMeshes for more than two fluid domains Vishsel OpenFOAM Meshing & Mesh Conversion 17 May 20, 2019 08:05
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 23:29


All times are GMT -4. The time now is 15:10.