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

Initialization of nut

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2020, 06:44
Post Initialization of nut
  #1
New Member
 
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 6
lucie.recurt is on a distinguished road
Hello!


I want to run a k-epsilon simpleFoam simulation of a pipe but I got some questions:



1- in the tutorials, they initialize nut at 0 in the internal field and for every boundary. I don't really understand why because k and espilon are different of 0 and the approximation of nut is rho*Cmu*(k/eps)


2- do I have to use a calculator like this one: https://cfd-training.com/language/fr...de-turbulence/ to calculate epsilon and k's boundary condition or it doesn't give the value for the boundaries?





Thank you in advance
lucie.recurt is offline   Reply With Quote

Old   September 26, 2020, 11:13
Default
  #2
New Member
 
S A
Join Date: Oct 2019
Posts: 8
Rep Power: 7
Propanotriol is on a distinguished road
Those are just the initial conditions. It is indeed better and recommended to initialise them to non-zero values.

You can find approximated values, as you said, from analytical formulas. From your Re, the turbulence intensity, k, eps, nut, etc.
Propanotriol is offline   Reply With Quote

Old   September 28, 2020, 10:55
Default
  #3
New Member
 
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 6
lucie.recurt is on a distinguished road
Internal field is just initial conditon but boundary conditions no...


And I tried to put approximated values from analytical formulas but when I do that, I get a non-physical solution
lucie.recurt is offline   Reply With Quote

Old   September 28, 2020, 17:56
Default
  #4
New Member
 
S A
Join Date: Oct 2019
Posts: 8
Rep Power: 7
Propanotriol is on a distinguished road
If your initial values are OK, you should check if the boundary conditions are ok. Also, check if your mesh is ok and even the size of the model (sometimes geometry files are in mm and we forget to apply a scaling when we mesh).
Propanotriol is offline   Reply With Quote

Old   September 29, 2020, 05:55
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
To give a more valuable and resonable answer to your question (it seems that high quality answers are not given anymore since Bruno Santos and other people who has high advanced experience in numerical analysis are not entering the forum anymore).

So the initial value for your internal field can be in most cases of arbitrary value. Commonly, the higher it is set, the higher your turbulent viscosity gets, the more smooth are your gradients, which in fact, is good for your stability. However, this does make sense especially for steady-state analysis. For transient analysis, you should set your conditions more carefully, also your internal field values.

The boundary conditions for inlets should be set to fixed values which are pre-estimated carefully or you simply can use the turbulentIntensityKineticEnergyInlet for k and for the other (epsilon or omega) a mixingLength.... condition in which you specify the mixing length.

If you are dealing with transient analysis and the flow is set to zero at the beginning, while it establishes during the analysis, you are welcomed to set the turbulent quantities to a small value such as 0.01 for k and for omega and epsilon too. However, all these values (except of the boundary conditions) change during each iteration.


Cheers.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 30, 2020, 10:56
Default
  #6
New Member
 
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 6
lucie.recurt is on a distinguished road
Thank you for your answer Tobias!



However one thing seems weird for me. How can OpenFoam calculate a value at the boundary? Because it has to be the last cell and cfd software use discretization to calculate a value in one cell. But at the boundary, there is not (n+1) cell...
lucie.recurt is offline   Reply With Quote

Reply

Tags
boudary condition, epsilon, kepsilon, nut, openfoam


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
Strange Nut behaviour with K-OmegaSST nicolarre OpenFOAM Running, Solving & CFD 12 March 19, 2019 21:35
not another motorbike question | nutilda - nut fields hulli OpenFOAM 2 December 4, 2017 13:38
nut nutilda SpalartAllmarasDDES revisited hulli OpenFOAM Pre-Processing 1 July 20, 2017 04:01
Full Multigrid Initialization Mr.Goodcat FLUENT 0 March 17, 2016 07:43
nut values asharma OpenFOAM 20 February 17, 2011 13:35


All times are GMT -4. The time now is 04:17.