-
-
January 16, 2024 at 3:08 pm
pratheeba.chandanagarajan
SubscriberHi, 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
-
January 17, 2024 at 5:47 am
Keyur Kanade
Ansys EmployeeYou 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
Â
-
- The topic ‘Help with Journal file’ is closed to new replies.
-
6680
-
1906
-
1469
-
1313
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.