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

Use of two different turbulence models at the same simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2014, 12:00
Default Use of two different turbulence models at the same simulation
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi everyone,

I am studying the heat transfer in a channel flow, where I have to use a turbulence model to close the Reynolds stresses (in my case, the Wilcox k-Omega model) and other one to model the turbulent heat transfer. I am using a modified SimpleFoam as a solver.

Following the paper I have, it is said to apply at first place the k-Omega model, and after that the heat transfer model. This implies that I have to use two turbulence models, and I only can write one in the RASProperties file.

I have different options:
  • Run two simulations (one for each model), modifying RASProperties tochange the turbulence model
  • Modify the solver, to solve at the begining the momentum equation, and continue with the energy equation, so I have to run two loops of iterations
  • Modify how OpenFOAM reads the RASProperties file, giving one of these models,

Since I have no administrator access, and I will use this approach in a cluster, which option do you think is more easy to implement? Maybe the thing I need is just a few Linux commands. Could it be a way to use a second RASProperties file?

Thank you in advance!
agustinvo is offline   Reply With Quote

Old   January 20, 2022, 12:55
Default found a solution? :-)
  #2
Member
 
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11
KingKraut is on a distinguished road
Hi augustinvo,

although a couple of years ago, maybe you remember this thread? :-)
i hope you are well!
did you find a solution for your problem?

i am in a similar position right now. I would like to apply different parameters in the turbulence model at different regions within the model, however during the whole simulation.

would be glad, if you could let me know, if you managed to solve your problem. maybe this could give me a hint, as well.

thanks a lot in advance.

best wishes
Johannes
KingKraut is offline   Reply With Quote

Old   January 27, 2022, 05:33
Default
  #3
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi KingKraut,


I solved my problem some time ago, but I think your scope and mine are a bit different.


If you want to use the same turbulence model everywhere but using different coefficients, you could modify your turbulence model in such a way that you read your coefficients as volScalarFields, that you have to set to your desired values using, for example, setFields, funkySetFields...


I hope it can help you.
agustinvo is offline   Reply With Quote

Old   January 27, 2022, 10:53
Default
  #4
Member
 
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11
KingKraut is on a distinguished road
Hi augustinvo,

thanks a lot for your answer.

you are right, the situations are somewhat different :-)

In the meantime i also realized there are a couple of solvers that allow the use of different regions. If I saw it correctly, in these regions different turbulenceModels and hence different parameters as well, can be applied.
Did not have the time to look into it, yet. But if it doesnt work, I will certainly give a custom turbulenceModel as you suggested a go.

Thanks again!
Cheers
KingKraut is offline   Reply With Quote

Old   January 28, 2022, 03:25
Default
  #5
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
If for some reason, the approach using multiple regions does not work, you could have a look into the fluid-fluid tutorial case from the precice website..
Raphael_Santos likes this.
GerhardHolzinger is offline   Reply With Quote

Reply

Tags
rasproperties, simplefoam, turbulence models


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
different zones, different turbulence models gmwsy FLUENT 5 June 17, 2020 16:42
in k-epsilon wall function approach high Re turbulence models: question of velocity romant OpenFOAM Programming & Development 6 May 26, 2016 10:14
Turbulence models Reza Imani Main CFD Forum 7 April 8, 2016 10:15
Natural convection - Inlet boundary condition max91 CFX 1 July 29, 2008 21:28
Why Turbulence models are not universal. Senthil Main CFD Forum 4 July 5, 2000 05:34


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