|
[Sponsors] |
can UDF change the boundary type or turbulence model? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2015, 22:15 |
can UDF change the boundary type or turbulence model?
|
#1 |
New Member
Haoting Wang
Join Date: Jan 2015
Location: Virginia
Posts: 19
Rep Power: 11 |
Hi,
I am trying to change the turbulence model I am using depending on the flow speed. For example, I want to use a laminar model when flow speed is 0, and a realizable k-e model when the flow speed is 4 m/s. If possible, how can we do that through UDF? |
|
January 29, 2015, 08:12 |
|
#2 |
Member
Join Date: Jul 2013
Posts: 80
Rep Power: 13 |
It is not possible by UDF. It might be possible by an interaction scheme-UDF, but it seems quite complex.
I can't help you, I don't know a lot about scheme. Anyway, what you are trying, if it is possible and you can implement it, I think that I will not be numerically stable, besides it does not make sense to me. If I where you, I would check in your ANSYS Fluent manual the chapter called "How do I choose my turbulent model", for further information. |
|
January 29, 2015, 10:23 |
|
#3 | |
New Member
Haoting Wang
Join Date: Jan 2015
Location: Virginia
Posts: 19
Rep Power: 11 |
Do you think it would be numerically unstable if I keep changing the models? But if the real condition is like a process have both larminar and turbulent flows at different time, would it be OK if I just use the turbulence model?
Quote:
|
||
January 30, 2015, 04:23 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Doesn't the turbulent model give nearly similar results as the laminar model when you apply it to a laminar situation?
In that case I would just use the turbulent model everywhere. You will use some unnecessary computation time on calculating the (small) turbulence in the laminar zones, but I would not worry about that. |
|
January 30, 2015, 11:19 |
|
#5 | |
New Member
Haoting Wang
Join Date: Jan 2015
Location: Virginia
Posts: 19
Rep Power: 11 |
Quote:
The attached figure show the difference. It plots the temperature, the upper one is using a laminar model, the lower one is using a turbulence model. The velocity is 0. All the other boundary conditions are the same. Untitled.jpg |
||
January 30, 2015, 16:28 |
|
#6 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Did you try the rng k-epsilon?
__________________
Google is your friend and the same for the search button! |
|
January 30, 2015, 18:26 |
|
#7 |
New Member
Haoting Wang
Join Date: Jan 2015
Location: Virginia
Posts: 19
Rep Power: 11 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inlet pressure is higher than outlet pressure for fan | sivakumar | OpenFOAM Pre-Processing | 16 | December 30, 2017 15:16 |
Simulation won't show turbulence | pete_87 | OpenFOAM Running, Solving & CFD | 4 | June 25, 2014 12:35 |
T Junction Stability | ignacio | OpenFOAM Running, Solving & CFD | 5 | May 2, 2013 11:44 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 15:16 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |