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

Error: chip-exec: function "inlet_mf" not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2014, 15:39
Default Error: chip-exec: function "inlet_mf" not found
  #1
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
Dear all,
I wrote a simple UDF for a transient simulation. The mass flow inlet changes with respect to time :
Code:
#include "udf.h"
 
 DEFINE_PROFILE(inlet_mf,th,i)
 {
   face_t f;
   real t = CURRENT_TIME;
   begin_f_loop(f,th)
     {
       if(t <= 50)
          F_PROFILE(f,th,i) = -1E-08*pow(t,5) + 1E-06*pow(t,4) - 6E-05*pow(t,3) + 0.001*pow(t,2) - 0.014*t + 0.062;
              else
          F_PROFILE(f,th,i) = 0;
     }
    end_f_loop(f,th);
 }
The UDF is working correctly in my machine, when I transfer my case file with the UDF on a cluster, the following error is brought up :

Error: chip-exec: function "inlet_mf" not found
Error: chip-exec: function "inlet_mf" not found
Error: chip-exec: function "inlet_mf" not found
Error: chip-exec: function "inlet_mf" not found
Error: chip-exec: function "inlet_mf" not found

I could not find a solution for my this error, note that the case file and the UDF source are located on the same folder, I also tried command like dos2unix. I am running out of option...
Thanks in advance,
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   March 24, 2014, 06:55
Default
  #2
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Hi!
did you read the dat file before this error appears?
If so, read the dat file after compiling/interpreting.

Daniele
ghost82 is offline   Reply With Quote

Old   March 24, 2014, 16:09
Default
  #3
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
Hi, thanks for your reply,
I interpreted the UDF on my machine, then I saved the case and data, and I transfered everything to the cluster. So what I do is just reading the case and data without interpretation. That being said, I could solve my problem, the issue disappeared when i change from PCMPI to MPI when loading FLUENT, I could not understand why, probably a bug between gcc and PCMPI
Thanks again,
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx 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
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 16:11
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


All times are GMT -4. The time now is 18:01.