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

Problems regarding mass transfer UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2014, 04:09
Default Problems regarding mass transfer UDF
  #1
New Member
 
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12
Yifan_G is on a distinguished road
Hi, I'm an undergraduate student using Fluent for my final year project. I have encountered some problems while using a mass transfer UDF in my simulation.
I found that every time I save and reload my case file, the mass transfer UDF becomes unhooked and I have to hook it again.
This become very troublesome when I try to send my case file to our high performance computer for calculation since the case file will definitely be reloaded and there won't be any mass transfer.
The information printed in the console shows that the UDF is successfully loaded. Also, I've tried different mass transfer UDFs and I'm pretty sure that it's not the UDF's problem.
Does anyone know how to solve this problem?
Thank you.
Yifan_G is offline   Reply With Quote

Old   November 2, 2014, 05:12
Default
  #2
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
You should first compile your udf in high performance computer after that read your case file
adi.ptb is offline   Reply With Quote

Old   November 2, 2014, 05:17
Default
  #3
New Member
 
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12
Yifan_G is on a distinguished road
Quote:
Originally Posted by adi.ptb View Post
You should first compile your udf in high performance computer after that read your case file
Yea I have already complied my UDFs in the HPC for parallel computing.
Yifan_G is offline   Reply With Quote

Old   November 2, 2014, 05:39
Default
  #4
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
Did you use different versions of fluent in your pc and hpc?
adi.ptb is offline   Reply With Quote

Old   November 2, 2014, 13:14
Default
  #5
New Member
 
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12
Yifan_G is on a distinguished road
Quote:
Originally Posted by adi.ptb View Post
Did you use different versions of fluent in your pc and hpc?
I don't have access to ANSYS on my pc. Basically everything is done in the hpc. I have tried Fluent 14.0 and 15.0, both have the same problem.
Thanks.
Yifan_G is offline   Reply With Quote

Old   December 8, 2014, 10:38
Default
  #6
Member
 
G. S.
Join Date: Nov 2010
Posts: 54
Rep Power: 15
gerardosrez is on a distinguished road
I have the same trouble, I compile/load the UDF for mass transfer in Phases/Interactions.....

I write the case and data files then when I reopen magically the UDF has disappeared...

After I try to re-compile/load the UDF gives me an error...

Have you solved this my friend???
gerardosrez is offline   Reply With Quote

Old   December 8, 2014, 10:53
Default
  #7
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Do you use a journal file on the HPC?
If so, put the compilation and hooking of the UDF inside the journal file. Otherwise the hooked UDF will still refer to the location it used to be when you set up the case and data - likely on your local machine - so even if the UDF is compiled at the cluster the path will not match and FLUENT won't find it.
CeesH is offline   Reply With Quote

Old   December 8, 2014, 11:11
Default
  #8
Member
 
G. S.
Join Date: Nov 2010
Posts: 54
Rep Power: 15
gerardosrez is on a distinguished road
Dear Mr Ceesh,

I don't use HPC I use my own desktop...
gerardosrez is offline   Reply With Quote

Old   December 8, 2014, 11:21
Default
  #9
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
what error do you get when recompiling?
CeesH is offline   Reply With Quote

Reply

Tags
hook, phase change, udf


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
Disappearing mass when using udf inlet profile divergence Fluent UDF and Scheme Programming 5 January 2, 2021 15:56
using define mass transfer udf for cavitation Komon Fluent UDF and Scheme Programming 14 June 21, 2016 03:50
udf for mass transfer hane Fluent UDF and Scheme Programming 1 April 19, 2014 14:40
Mass transfer UDF expecting void return Quinos Fluent UDF and Scheme Programming 0 January 8, 2014 19:36
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 12:29


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