Journal file for LES
Hi all,
I have a fine mesh for LES simulation. According to Fluent tutorials, I have to run RANS like Realizable K-epsilon and then add turbulent fluctuations to initial conditions to run LES. The trouble is- i cannot run initial RANS in my system. I need to write journal file. I wrote one for SST k-omega like this: module add ansys/2021 /define/user-defined/interpreted-functions "flength.c" "cpp" 10000 no ;Reading in the case file /rc FFF_33.cas.h5 ; ; initialising the system /solve/initialize/hyb-initialization ; ;Setting the number of iterations and solving /solve/iterate 3000 ; ;Writing the final data file (overwriting if required) /wd FFF_33.dat.h5 ; ;Exit Fluent /exit ok After 50 iterations, I have to add turb-fluctuations and then Smagorinski-Lilly model for 1000 iterations or so. I also need data for statistical analysis. How can I do that? I am really new to writing udf. Any help is appreciated. |
Pro tip:
generate a coarse mesh that you can run on your system so you can write the journal file and then use the journal file on the fine mesh |
Thats a neat idea. I will try and see if it works and update.
|
All times are GMT -4. The time now is 17:49. |