Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

How can I interpret UDF in FLUENT journal file for running in HPC ?

    • Jayakrishna
      Subscriber
      I created a UDF. I would like to interpret it in the HPC.nI created a journal file in which I have given the following command to interpret the UDF. n/define/user-defined/interpreted-functions udf.c cpp 1000 nonThe file read the command up to /define/user-defined/interpreted-functions udf.c cpp --- and then the following error has given. nError: eval: unbound variablenIs this error do to symbol after cpp ?nwhich of the following commands will work ?n/define/user-defined/interpreted-functions udf.cn/define/user-defined/interpreted-functions udf.c cpp 1000 nonCan someone help to solve this problem ?n
    • Rob
      Forum Moderator
      If you type the command in on your local machine you'll see the marks are for the UDF name and cpp. The latter is presumably to avoid conflicts if there is another option./define/user-defined/interpreted-functions udf.c cpp 10000 nonn
    • Jayakrishna
      Subscriber
      Thank you very much for your kind response.nI want to ask one more question. nI have to run some simulations with an add-on-module MHD in the future. The following command enabled the MHD model in my local machine.n/define/models/mhd-model/enable-mhd yesnWill it be sufficient for running in HPC also ?.
    • Rob
      Forum Moderator
      It should be, TUI commands only change if different models are set, as you require extra inputs in some cases, eg turbulence settings for inlets. nI do suggest building the models using the GUI and then running via GUI/TUI as desired. It is possible (and easy when you know how) to build TUI scripts to set up the case but it's also fairly easy to make mistakes. For repetitive tasks (eg setting 1500 velocity boundary conditions) I use TUI scripts, for a model set up I'd nearly always use the GUI. n
    • Jayakrishna
      Subscriber
      Thank you very much.n
Viewing 4 reply threads
  • The topic ‘How can I interpret UDF in FLUENT journal file for running in HPC ?’ is closed to new replies.