Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Help with Journal file

    • pratheeba.chandanagarajan
      Subscriber

      Hi, I am trying to run a transient simulation on a cluster, I need a journal file to do this. I have difficulty with the following:

      • I have a UDF for source terms in porous media, involving reactions
      • These involve species, and their properties are passed through more UDFs for physical properties like Viscosity
      • For some species I use properties from drop down menu like Sutherland's model for viscosity

      How I can write the journal file? If I start with comipling and loading the UDF, what are the commands that need to be in the journal file.

      For example, I do the compiling from TUI commands, like define, followed by user-defined, In built Compiler, then add the library UDF, then the UDF then the header file and so on.

      I tried looking at the documentation and help videos with Ansys Fluent, could not find one. 

       

      I would appreciate any help regarding the journal files and materials, mixtures, porous media source terms.

      Thank you

      Pratheeba

    • Keyur Kanade
      Ansys Employee

      You can use following. 

       

      /define/user-defined/compiled-functions compile "libudf" yes "name_of_UDF.c" "" ""
      /define/user-defined/compiled-functions load libudf
      `

      Please replace "name_of_UDF.c" with the name of your UDF file. This will compile and load your UDF.

       

      There are many examples on forum for jounral in Fluent. 

      Please go through help manual for more details 

      Regards,

      Keyur

      How to access Ansys Online Help Document

      Guidelines on the Student Community

      Fluids Engineering Courses | Ansys Innovation Courses

       

Viewing 1 reply thread
  • The topic ‘Help with Journal file’ is closed to new replies.
[bingo_chatbox]