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

fluent in super cluster virgo

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2016, 13:21
Default fluent in super cluster virgo
  #1
Member
 
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 9
srv537 is on a distinguished road
i am using ansys fluent in super cluster virgo but when i am using UDF for parabolic profile at inlet and create .cas and .dat file in my system and run in virgo then it shows some error.
i dont know what should i do please help me
thanks in advance
srv537 is offline   Reply With Quote

Old   July 18, 2016, 13:48
Default
  #2
AHF
Member
 
AHF's Avatar
 
amirhossein
Join Date: Jul 2014
Location: Canada
Posts: 81
Rep Power: 11
AHF is on a distinguished road
Quote:
Originally Posted by srv537 View Post
i am using ansys fluent in super cluster virgo but when i am using UDF for parabolic profile at inlet and create .cas and .dat file in my system and run in virgo then it shows some error.
i dont know what should i do please help me
thanks in advance
well , whats that errors ?
__________________
amirhosseinfardi94@gmail.com
AHF is offline   Reply With Quote

Old   July 19, 2016, 03:04
Default
  #3
Member
 
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 9
srv537 is on a distinguished road
Quote:
Originally Posted by AHF View Post
well , whats that errors ?
Reading "/IITM_GPFS_FS1/userfs1/ms/am15s014/s1/jet.dat"...
Parallel variables...
Error: chip-exec: function "inlet_x_velocity" not found.
Error: chip-exec: function "inlet_x_velocity" not found.
Error: chip-exec: function "inlet_x_velocity" not found.
Error: chip-exec: function "inlet_x_velocity" not found.
Error: chip-exec: function "inlet_x_velocity" not found.
Error: chip-exec: function "inlet_x_velocity" not found.
Done.

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.
srv537 is offline   Reply With Quote

Old   April 1, 2020, 04:53
Default
  #4
New Member
 
sajjan
Join Date: Jan 2016
Location: Nepal
Posts: 13
Rep Power: 10
sajjan is on a distinguished road
Hello,

I am facing a similar issue. Do you remember how did you solve the problem?
sajjan is offline   Reply With Quote

Old   April 1, 2020, 04:56
Default The error
  #5
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
This error implies that Fluent has a UDF hooked for something, in this case a velocity profile at a boundary, but that UDF library is not loaded in Fluent. Once the library is loaded, the error will disappear.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   April 1, 2020, 06:59
Default
  #6
New Member
 
sajjan
Join Date: Jan 2016
Location: Nepal
Posts: 13
Rep Power: 10
sajjan is on a distinguished road
Quote:
Originally Posted by vinerm View Post
This error implies that Fluent has a UDF hooked for something, in this case a velocity profile at a boundary, but that UDF library is not loaded in Fluent. Once the library is loaded, the error will disappear.
Hi Vinerm,

Thank you for the reply. I receive similar message but for a different problem. But even if I get the message, my simulation runs. Let me explain you my problem in detail.

I have a UDF (attached here) which contains two macros: DEFINE_INIT and DEFINE_PROFILE. I use INIT to define the initial temperature distribution in the domain while PROFILE to define the temperature in the walls. I interpreted the UDF in "parallel fluent" with 12 cores on windows system and it works fine.
But when I save case and data file and transfer these to cluster and submit the job, it displays the following error. I modified my UDF code before transferring it to cluster and added “#if PARALLEL…#endif “, to make it compatible on the Linux system.

Parallel variables...
Error: chip-exec: function "temperature_profile" not found.
Error: chip-exec: function "temperature_profile" not found.
Error: chip-exec: function "temperature_profile" not found.
Error: chip-exec: function "temperature_profile" not found.
…………………………………

I wonder if my approach is correct and what could be the problem.
Attached Files
File Type: c copy.c (1.4 KB, 3 views)
sajjan is offline   Reply With Quote

Old   April 1, 2020, 07:19
Default Code and Compilation
  #7
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
First of all, few changes should be made in the code. if condition to check for the IDs of the zones should be outside the begin_c_loop so that loop is executed on for these three cell zones. Secondly, do not use F_PROFILE within if. Define a new C variable of type real and then calculate value within if. In the end, assign the value to F_PROFILE.

Use compilation instead of Interpreter. Interpretation or compilation needs to be done separately on Linux. So, either compile it before hand and transfer the library to the working directory or the first command in your journal file should be to compile or interpret the UDF before loading case file. That will ensure the availability of the UDF when the case file is loaded.
sajjan likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   April 6, 2020, 01:12
Default
  #8
New Member
 
sajjan
Join Date: Jan 2016
Location: Nepal
Posts: 13
Rep Power: 10
sajjan is on a distinguished road
Quote:
Originally Posted by vinerm View Post
First of all, few changes should be made in the code. if condition to check for the IDs of the zones should be outside the begin_c_loop so that loop is executed on for these three cell zones. Secondly, do not use F_PROFILE within if. Define a new C variable of type real and then calculate value within if. In the end, assign the value to F_PROFILE.

Use compilation instead of Interpreter. Interpretation or compilation needs to be done separately on Linux. So, either compile it before hand and transfer the library to the working directory or the first command in your journal file should be to compile or interpret the UDF before loading case file. That will ensure the availability of the UDF when the case file is loaded.


Thank you Vinerm. It worked.
Just in case someone is coming to this thread: Compilation of UDF can be done in your PC (I did in windows 10) . Once you compile and load your UDF, save your case and data file and transfer them to cluster.
For some reason, interpreted UDF does not work in cluster but only works in windows PC. So as Vinerm mentioned above, compilation is recommended over interpretation.
Regards,
Sajjan

Last edited by sajjan; May 5, 2020 at 04:37.
sajjan 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
problem in using parallel process in fluent 14 aydinkabir88 FLUENT 1 July 10, 2013 02:00
script file for running fluent on linux cluster Worth FLUENT 2 February 9, 2012 11:31
Fluent jobs through pbs ibnkureshi FLUENT 5 June 9, 2011 13:43
Help please: submitting fluent jobs to sgi cluster James Willie FLUENT 0 January 27, 2006 05:38
Parallel Fluent on Windows2k cluster misirlioglu, aydin FLUENT 13 March 5, 2004 07:21


All times are GMT -4. The time now is 21:44.