CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Journal file for LES

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2023, 14:04
Default Journal file for LES
  #1
New Member
 
Vasanth Kumar G
Join Date: Jun 2021
Location: India
Posts: 3
Rep Power: 5
Vasanth Kumar G is on a distinguished road
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.
Vasanth Kumar G is offline   Reply With Quote

Old   August 30, 2023, 00:01
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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
LuckyTran is offline   Reply With Quote

Old   August 31, 2023, 08:07
Default
  #3
New Member
 
Vasanth Kumar G
Join Date: Jun 2021
Location: India
Posts: 3
Rep Power: 5
Vasanth Kumar G is on a distinguished road
Thats a neat idea. I will try and see if it works and update.
Vasanth Kumar G is offline   Reply With Quote

Reply

Tags
les, rans, rans les interface, turbulence, udf code


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41


All times are GMT -4. The time now is 11:09.