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

Udf cluster run problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   Yesterday, 04:44
Default Udf cluster run problem
  #1
New Member
 
Mushfiq Al Arafa
Join Date: Nov 2024
Posts: 1
Rep Power: 0
Mushfiq is on a distinguished road
Dear Concern,

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

/display/set/contours/filled-contours yes

/display/set/picture/driver png

/display/set/picture/landscape yes

/display/set/picture/x-resolution 1280

/display/set/picture/y-resolution 720

/display/set/picture/color-mode color

/display/set/windows/text/date yes

/display/set/windows/text/visible yes

/display/set/windows/text/border no

/display/set/windows/main/border no

/display/set/colors/graphics-color-theme black

/display/set/line-weight 2

display/set/contours/surfaces (plane-5)

/display/set/contours/n-contour 25

/display/set/contours/auto-range no

/display/set/contours/clip-to-range no

/display/views/restore-view front

/display/views/auto-scale

/display/contour water vof 0 1

/display/save-picture watervof_%t

/solve/execute-commands/add-edit command-1 no 10 "time-step" "/display/views/restore-view front"

/solve/execute-commands/enable command-1

/solve/execute-commands/add-edit command-2 no 10 "time-step" "/display/views/auto-scale"

/solve/execute-commands/enable command-2

/solve/execute-commands/add-edit command-3 no 10 "time-step" "/display/contour water vof 0 1"

/solve/execute-commands/enable command-3

/solve/execute-commands/add-edit command-4 no 10 "time-step" "/display/save-picture watervof_%t"

/solve/execute-commands/enable command-4

/solve/dual-time-iterate 1 20

/solve/set/data-sampling yes 1 no no

/display/set/contours/filled-contours yes

/display/set/picture/driver png

/display/set/picture/landscape yes

/display/set/picture/x-resolution 1280

/display/set/picture/y-resolution 720

/display/set/picture/color-mode color

/display/set/windows/text/date yes

/display/set/windows/text/visible yes

/display/set/windows/text/border no

/display/set/windows/main/border no

/display/set/colors/graphics-color-theme black

/display/set/line-weight 2

display/set/contours/surfaces (plane-5)

/display/set/contours/n-contour 25

/display/set/contours/auto-range no

/display/set/contours/clip-to-range no

/display/views/restore-view front

/display/views/auto-scale

/display/contour water vof 0 1

/display/save-picture watervof_%t

/solve/execute-commands/add-edit command-1 no 10 "time-step" "/display/views/restore-view front"

/solve/execute-commands/enable command-1

/solve/execute-commands/add-edit command-2 no 10 "time-step" "/display/views/auto-scale"

/solve/execute-commands/enable command-2

/solve/execute-commands/add-edit command-3 no 10 "time-step" "/display/contour water vof 0 1"

/solve/execute-commands/enable command-3

/solve/execute-commands/add-edit command-4 no 10 "time-step" "/display/save-picture watervof_%t"

/solve/execute-commands/enable command-4

/solve/dual-time-iterate 1 20

/file write-case-data /home/mus62929/Bubbler/bub10_4/Bubbler_result.cas.h5

/exit ok

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.


> Halting due to end of file on input.
Auto-Transcript Stop Time: 17:19:20, 27 Nov 2024
Total Transcript Time: 0 Minute 23 Second.

Automatic transcript closed.
Mushfiq 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
UDF problem for Population balance model Amir.11 Fluent UDF and Scheme Programming 6 May 30, 2022 05:36
UDF weird problem Sunmax Fluent UDF and Scheme Programming 2 June 26, 2019 22:48
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
Problem running fluent with udf on supercomputer(batch system) Sept24 Fluent UDF and Scheme Programming 3 October 15, 2015 13:50
Problem running OF on cluster Rebecca513 OpenFOAM Running, Solving & CFD 14 August 26, 2012 18:09


All times are GMT -4. The time now is 09:22.