CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   imposing material properties via UDF and JOURNAL files (https://www.cfd-online.com/Forums/fluent-udf/161748-imposing-material-properties-via-udf-journal-files.html)

mazdak October 27, 2015 22:45

imposing material properties via UDF and JOURNAL files
 
Hi there,

I have written a simple UDF for defining density of the fluid as a function of temperature and pressure, and after compiling, and loading the UDF, I can simply go to Material tab, Density tab, and then read the UDF file.

So, now imagine that I need to do the above procedure through a journal file. As I need to run the simulation on a Linux cluster, and I do not have access to GUI. What text commands I must write in the journal file, so that FLUENT reads the UDF for density. What commands I need to write in the journal file so that FLUENT compiles and loads the UDF?

Thanks for the help

argeus November 9, 2015 06:05

Hi,
what I do in these cases is, that I make FLUENT to write the exact sequence of desired steps into the journal file. Having this file Im able to adjust it (extend it, delete som part of it, whatever) and reuse using read-journal procedure. This is the most convenient way how to operate with journals for me as I do not have any skills with UNIX. Anyway, this approach requires you to have a access to the Fluent GUI, for example on another machine at least for this purpose.


All times are GMT -4. The time now is 15:22.