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

udf help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2018, 07:46
Post udf help
  #1
New Member
 
Lee
Join Date: Feb 2018
Posts: 12
Rep Power: 8
Lee 小亢 is on a distinguished road
Hi everyone,
I met a problem in my work. I worked about the oxygen mass transfer between liquid and gas and I completed the process by using UDF. I defined a scalar in liquid and defined the oxygen as source term(transfer from gas to liquid). The problem is that if I don't define the diffusivity by UDF(ie, diffusivity is 1kg/m·s by default), it can computed but the result is not vary well, and I think the deviation is caused by the diffusivity. However, I changed the diffusivity to other constant for exampl 0.5, the computation diverged. And I also define the diffusivity by UDF and the computation diverged either. it noted that:"error:/(divide):invalid argument [1]:erong type [ not a number]"
Can anyone who can give me some advice or tell me why I change the diffusivity,the computation diverged?

best wish~
Lee 小亢 is offline   Reply With Quote

Old   March 8, 2018, 20:56
Unhappy
  #2
New Member
 
Lee
Join Date: Feb 2018
Posts: 12
Rep Power: 8
Lee 小亢 is on a distinguished road
Is there anybody can help me?

Thanks~
Lee 小亢 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
Save output of udf in another udf! JuanJoMex FLUENT 0 February 8, 2018 13:43
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
Parallelize UDF? Which kind of UDF? Lilly FLUENT 5 March 25, 2014 03:05
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 18:42.