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

Problem running fluent with udf on batch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2015, 05:36
Default Problem running fluent with udf on batch
  #1
New Member
 
Tobi B.
Join Date: Nov 2015
Posts: 2
Rep Power: 0
tobi b. is on a distinguished road
Hi,

I am trying to run fluent 16.1 in batch mode using Linux openSUSE and I am using the following command:
fluent161 3ddp -g -i fluent.jou

My journal (fluent.jou) contains:
file/read-case-data Test.cas
solve/initialize initialize
solve/iterate 20
file/write-case-data Test.dat
exit
yes

When I`m trying to run fluent this way, everything is fine.

Now I want to use a UDF file.
When I try to run fluent with the GUI everything is fine. I can compile and hook my UDF and Fluent calculates the solution.
But when I try the same case (with the compiled and loaded UDF) in batch mode, Fluent doesn`t calculate the solution.

The following message appears:
/usr/ansys_inc/v161/fluent/fluent16.1.0/lnamd64/3ddp/fluent.16.1.0: symbol lookup error: libudf/lnamd64/3ddp/libudf.so: undefined symbol: F_PART


Does anyone have a solution for this?


Thanks
tobi b. is offline   Reply With Quote

Old   November 25, 2015, 16:23
Default
  #2
Member
 
Jim
Join Date: May 2015
Posts: 47
Rep Power: 10
CFDYourself is on a distinguished road
hi tobi

have you tried including a command after the one that opens the case & data file, that will load the UDF library ?
CFDYourself is offline   Reply With Quote

Old   December 17, 2015, 11:27
Default
  #3
New Member
 
Tobi B.
Join Date: Nov 2015
Posts: 2
Rep Power: 0
tobi b. is on a distinguished road
Quote:
Originally Posted by CFDYourself View Post
hi tobi

have you tried including a command after the one that opens the case & data file, that will load the UDF library ?

Hi,
i `m sorry for my late answer!
But now I have the solution to my problem.
The problem was that I run fluent in parallel,when I was trying out the UDF.

But on Batch Mode I run fluent serial. But there is a difference in the wording of the UDF library in parallel or serial operation.
In parallel, there are two folders in the path libudf/lnamd64/: 3ddp_host and 3ddp_node
but in serial there is just one folder: 3ddp. Therfore fluent could not find the folder
3ddp in serial use in batch mode.

In parallel, it worked then perfectly.

Greetings
tobi b. is offline   Reply With Quote

Old   April 14, 2016, 13:54
Default details
  #4
New Member
 
sherzad
Join Date: Oct 2015
Posts: 3
Rep Power: 10
sherzad is on a distinguished road
Quote:
Originally Posted by tobi b. View Post
Hi,
i `m sorry for my late answer!
But now I have the solution to my problem.
The problem was that I run fluent in parallel,when I was trying out the UDF.

But on Batch Mode I run fluent serial. But there is a difference in the wording of the UDF library in parallel or serial operation.
In parallel, there are two folders in the path libudf/lnamd64/: 3ddp_host and 3ddp_node
but in serial there is just one folder: 3ddp. Therfore fluent could not find the folder
3ddp in serial use in batch mode.

In parallel, it worked then perfectly.

Greetings

please can you give us more details
sherzad is offline   Reply With Quote

Reply

Tags
batch mode, fluent - udf, problem


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
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Problem in using parallel process in fluent 14 Tleja FLUENT 3 September 13, 2013 10:54
Fluent UDF c source file problem (Linux) jayilosa Fluent UDF and Scheme Programming 1 November 21, 2011 08:25
fluent udf problem for 3d case srsahu Fluent UDF and Scheme Programming 0 July 28, 2009 07:25
A Loop problem when running UDF in the batch mode Jun Geng FLUENT 3 July 16, 2008 08:34


All times are GMT -4. The time now is 03:47.