|
[Sponsors] |
November 2, 2014, 04:09 |
Problems regarding mass transfer UDF
|
#1 |
New Member
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12 |
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. |
|
November 2, 2014, 05:12 |
|
#2 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
You should first compile your udf in high performance computer after that read your case file
|
|
November 2, 2014, 05:17 |
|
#3 |
New Member
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12 |
||
November 2, 2014, 05:39 |
|
#4 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
Did you use different versions of fluent in your pc and hpc?
|
|
November 2, 2014, 13:14 |
|
#5 |
New Member
Gao Yifan
Join Date: Nov 2014
Posts: 3
Rep Power: 12 |
||
December 8, 2014, 10:38 |
|
#6 |
Member
G. S.
Join Date: Nov 2010
Posts: 54
Rep Power: 15 |
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??? |
|
December 8, 2014, 10:53 |
|
#7 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
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. |
|
December 8, 2014, 11:11 |
|
#8 |
Member
G. S.
Join Date: Nov 2010
Posts: 54
Rep Power: 15 |
Dear Mr Ceesh,
I don't use HPC I use my own desktop... |
|
December 8, 2014, 11:21 |
|
#9 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
what error do you get when recompiling?
|
|
Tags |
hook, phase change, udf |
|
|
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 |