CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to initialize the LES channel395 in non-uniform list

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tobermory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2020, 11:58
Default How to initialize the LES channel395 in non-uniform list
  #1
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Hello Foamers,
I was trying to run the LES channel395 with Ubar=10.5 instead of 0.1355 which was the default. Whenever I do so I'm getting very unexpected result and its obvious because I kept the 0 folder unchanged where the U field had non-uniform list initialization with velocities around 0.1335.


Quote:
internalField nonuniform List<vector>
60000
(
(0.0107927 -2.64614e-05 0.00214946)
(0.0107939 -3.50395e-05 0.0018715)
(0.010668 -2.59457e-05 0.0018284)
..........
.......
I can remove the initialization but it will take a long time to get a developed flow, so in this regard I'm trying to initialize the field with velocity around 10.5( Ubar=10.5) instead of 0.1335. If anyone is having any idea on this it will be my pleasure if you share so.
ari003 is offline   Reply With Quote

Old   November 21, 2020, 13:40
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14
Tobermory will become famous soon enough
Can you share more details of the problem? You say that you are getting a "very unexpected result" ... what exactly are you seeing?

And let me just check - you want to set up a turbulent field with a Ubar of around 10m/s, you're starting with a velocity field in folder 0 with Ubar~0.1m/s, and you're using meanVelocityForce in fvOptions to control Ubar?

If this is the case, then the velocity field has to be accelerated by a factor of 100, which is pretty large. Are you applying relaxation to meanVelocityForce? Have you considered scaling the initial velocity field, or increasing Ubar in stages? Is your mesh still appropriate for this 100x Re number flow?

Either way, to understand your problem, my friend, you'll need to share some more details.
Tobermory is offline   Reply With Quote

Old   November 21, 2020, 13:54
Default
  #3
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Can you share more details of the problem? You say that you are getting a "very unexpected result" ... what exactly are you seeing?
When I check the TI plot along the streamwise direction it was not something which I expected from my knowledge perspective and this I can imagine because of discrepancy between initialized field and Ubar. After researching I found that the true turbulent field in the domain can be observed if I run the simulation for long time until the initial field is totally disregarded.
Quote:
And let me just check - you want to set up a turbulent field with a Ubar of around 10m/s, you're starting with a velocity field in folder 0 with Ubar~0.1m/s, and you're using meanVelocityForce in fvOptions to control Ubar?
Yes. If I use some uniform field to initialize, that might lead to high dissipation error and long transient time.

Quote:
If this is the case, then the velocity field has to be accelerated by a factor of 100, which is pretty large. Are you applying relaxation to meanVelocityForce? Have you considered scaling the initial velocity field, or increasing Ubar in stages? Is your mesh still appropriate for this 100x Re number flow?
I finally decided to use the scale up option for the initialized field like C=10.5/0.1335 this I ll use as a multiplication factor.
ari003 is offline   Reply With Quote

Old   November 21, 2020, 14:00
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14
Tobermory will become famous soon enough
Yes, it will take a few eddy turnover times (H/u_tau) for the turbulence to adjust to the new conditions, maybe longer for such a large perturbation.

Agreed on the necessity for taking a short cut - the spin-up time can be pretty long, otherwise.
ari003 likes this.
Tobermory is offline   Reply With Quote

Old   November 21, 2020, 14:04
Default
  #5
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Thanks a lot for your kind response to my problems.
Have a nice weekend.
ari003 is offline   Reply With Quote

Reply


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
wallHeatFlux utility for an incompressible case Mr.Jingles OpenFOAM Post-Processing 67 April 6, 2023 04:25
FOAM FATAL ERROR: Maximum number of iterations exceeded: 100 antoniomollo OpenFOAM Running, Solving & CFD 5 March 2, 2023 07:13
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 02:52
Film cooling problem arun1994 OpenFOAM 0 October 26, 2020 10:08
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 11:54


All times are GMT -4. The time now is 01:35.