|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
I have written a udf for constant slip velocity for the dispersed phase. i have used the interpreted type of udf. but when i hook that udf in the slip velocity panel in interaction panel for two phases, the erro comes saying "Set_Property: null user-defined-function name". this error is coming for some of the simulations only. there was no error when i hooked it to other simulations and i could get the desired results. can anybody help me in this. why this error is coming for some simulations only? thanks in advance.
|
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
I had a similar problem. I don't know why, but I bypassed it doing this:
- Open the case file and hook the UDF. - Save the case file. - Exit FLUENT - Open fluent again and reload the case file. - Set the property in the interaction panel. Hope this works Hi ![]() ap |
|
![]() |
![]() |
![]() |
#3 |
New Member
Taufik Akbar F
Join Date: Jun 2013
Posts: 1
Rep Power: 0 ![]() |
can anyone solve this problem? i have this problem too. Is my Fluent doesnt installed correctly? or there is a setting to solve this problem? because i dont find any clue in google.
sorry for my bad English ![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Mushfiq Al Arafa
Join Date: Nov 2024
Posts: 3
Rep Power: 2 ![]() |
The journal file, the lines which compiles, loads and hooks the udf are marked in red.
/rc /home/mus62929/Bubbler/bub10_4/Bubbler_Validation.cas.h5 /file/auto-save/root-name "/home/mus62929/Bubbler/bub10_4/regular_autosave" /define/user-defined/compiled-functions compile "libudf03" yes "Only_Modification_Power.c" "" "" /define/user-defined/compiled-functions load "libudf03" /define/phases/set-domain-properties/interaction-domain/forces/drag yes tomiyama yes user-defined "modification_factor::libudf03" /file/auto-save/save-data-file-every "time-step" /file/auto-save/data-frequency 10 /solve/initialize hyb-initialization /solve/patch/air ()(air) mp 1 /solve/set/time-step 1e-2 The compilation and loading is working, but the hooking of the udf is not working. The lines are market in red, where the problem can occur. Copy "/home/mus62929/Bubbler/bub10_4/Only_Modification_Power.c" to "/home/mus62929/libudf03/src" Working... # linking to ../../src/Only_Modification_Power.c in lnamd64/3ddp_host # building library in lnamd64/3ddp_host # Generating udf_names.c because of makefile Only_Modification_Power.c # Compiling udf_names.o because of udf_names.c # Compiling Only_Modification_Power.o because of Only_Modification_Power.c # Linking libudf.so because of makefile user.udf udf_names.c udf_names.o Only_Modification_Power.o # linking to ../../src/Only_Modification_Power.c in lnamd64/3ddp_node # building library in lnamd64/3ddp_node # Generating udf_names.c because of makefile Only_Modification_Power.c # Compiling udf_names.o because of udf_names.c # Compiling Only_Modification_Power.o because of Only_Modification_Power.c # Linking libudf.so because of makefile user.udf udf_names.c udf_names.o Only_Modification_Power.o You can also see the 'log'-file in the working directory for this compilation history Done. > adjoint/ parallel/ server/ define/ parametric-study/ solve/ display/ plot/ surface/ exit preferences/ turbo-workflow/ file/ print-license-usage views/ mesh/ report/ > /define/user-defined/compiled-functions load "libudf03" hpc2-cn04: Opening library "/home/mus62929/libudf03"... Done. hpc2-cn04: Opening library "/home/mus62929/libudf03"... modification_factor Done. > adjoint/ parallel/ server/ define/ parametric-study/ solve/ display/ plot/ surface/ exit preferences/ turbo-workflow/ file/ print-license-usage views/ mesh/ report/ > /define/phases/set-domain-properties/interaction-domain/forces/drag yes air-water: tomiyama no data required. yes Drag Factor air-water: user-defined no data required. Error at host: Set_Property: null user-defined-function name "modification_factor::libudf03" invalid command ["modification_factor::libudf03"] Warning: An error or interrupt occurred while reading the journal file. Some commands may not have been completed. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
User defined function - CO level | hari | FLUENT | 0 | October 24, 2007 01:11 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
User defined function for density gradient | ben akih | CFX | 3 | October 10, 2006 22:47 |