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

UDF EMMS model implementation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ana_mg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2014, 14:47
Default UDF EMMS model implementation
  #1
New Member
 
Join Date: Nov 2014
Location: SP, Brazil
Posts: 5
Rep Power: 12
ana_mg is on a distinguished road
I´m studying a CFB riser and I want to introduce a model for the drag force based on the EMMS, I already tried to compile my udf and i have the same error message, saying that the file is not compile for a platform (win64). I´m running visual studio 2012, and seems to be working with x86 even i start the program with the cross tool command prompt for 64.
Thanks in advance,
Attached Files
File Type: c emms_drag_function.c (1.9 KB, 82 views)
shuyueli likes this.
ana_mg is offline   Reply With Quote

Old   November 25, 2014, 02:45
Default
  #2
Sun
Senior Member
 
Sun's Avatar
 
Join Date: Nov 2010
Posts: 103
Rep Power: 16
Sun is on a distinguished road
I might be wrong but it's worth giving it a shot.
I think you don't need to explicitly return k_g_s, if void_g < 0.74. Actually, when void_g < 0.74, "k_g_s" is being computed and returned twice (once at line 77 and then at line 82).
cheers!
Sun 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
Eulerian-Boiling model: which UDF for Tsat? Lukeimpervius Fluent UDF and Scheme Programming 0 May 30, 2014 10:11
PMV-PPD Post Processing Implementation in FLUENT using UDF ahan CFD Freelancers 1 May 17, 2014 10:30
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
UDF for Herschel-Bulkely model emad Fluent UDF and Scheme Programming 5 July 20, 2009 09:16
Real gas model with UDF Ed FLUENT 4 September 18, 2003 11:42


All times are GMT -4. The time now is 16:13.