|
[Sponsors] |
implementation of a turbulence model in Fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2018, 08:12 |
implementation of a turbulence model in Fluent
|
#1 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
hi everyone
actually, i m tryng to implement a low turbulence abid model that i get it from some site web in FLUENT, with application of flow around a square cylinder at very low reynolds =(250) , the BCs for K and epsilon were estimated from formulas given in Fluent user guide's in the inlet domain, (K=2.4e-09 and Epsilon=2.75e-13 ) , and velocity inlet for top and down domain with 0 gradient for both turbulence quantities, for the exsit domain i used the outflow BC, the compilation of the model were successifully done, but when running the simulation after a fews itterations, the code crashes and show ' a floting point error' : invalid number. i m really upset because i spent a lot of time to solve my broblem, i will verry glad if some one can help me to solve my issue , i can attach the UDF code if some one have time to look around thanks |
|
July 25, 2018, 19:36 |
|
#2 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
anay suggestions ???
did the problem comes from the set of BCs ??? please help |
|
July 26, 2018, 01:14 |
|
#3 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
switch off your UDf, try to simulate case with standard k-e turbulence model first using same BC.
If the the problem still exists, than the cause is: -BC -mesh quality -other If simulation will be completed successfully, than the problem is in your UDF (most likely) best regards |
|
July 26, 2018, 03:20 |
|
#4 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
thanks a lot Alexander for ur suggestions, it's really helpful,
yes i tried this methode before, i lunched the simulation with a standard k-E and i get successfully a converged solution, but we should remember that a types of BCs in this case, isn't the same in the case of the use of a UDF , because we should set BCs for a 2 UDS (K nd E), either by fixed value or flux value for both quantities, when in the satndard k epsilon model we have in Fluent, for instance ,the choice to use Intensity and Hydraulic diameter, thanks again once, and hope that u can give me another suggestions, |
|
July 26, 2018, 03:25 |
|
#5 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
in attachement the UDF for Abid model
|
|
July 26, 2018, 05:09 |
|
#6 | |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
may be the problem comes from BCs. Actually how your domain looks like? I guess it has one inlet, one outlet, and some kind of channel between them.
from your first message: Quote:
BCs for UDS we should put manually for each face in domain. By default, BC for UDS is "specified flux" -> UDS boundary value 0. It means 0 gradient, as you've mentioned. However, I believe at inlet as well as outlet , you should put there other condition (second option) "specified value" -> UDS boundary value K=2.4e-09 and Epsilon=2.75e-13 I'm not about correct values. I hope it will help Best regards |
||
July 26, 2018, 07:42 |
|
#7 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
thank u Alexander, to ur peek in the UDF and for ur reply
i set the BCs as u can see in the picture: did these BCs correct??, what do u think? may be should i add some statements or macro in the UDF? i would be very glad help me solve my issue best regards |
|
July 26, 2018, 07:45 |
|
#8 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
in attachement the picture explaining my BCs
|
|
July 27, 2018, 02:08 |
|
#9 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Unfortunately, I have no experience in implementation of turbulence models. I may only guess.
So I feel, that there should be some turbulence at outflow BC, so flux = 0 is incorrect, from my point of view. I'm not sure about top and bottom inlets, try to change outflow first, and later may be apply same BC at TOP and Bottom as at the left inlet. best regards |
|
July 27, 2018, 10:58 |
|
#10 |
New Member
aek
Join Date: Feb 2010
Posts: 12
Rep Power: 16 |
thank u Alexander, i really apreciate ur attention to my issue,
till now i could'nt solve my problem, i tried a severals simulation with differents BCs and the same message error appear('floating point error'), i will wait for other suggestions best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A new EARSM turbulence model implementation | elbertj | OpenFOAM Programming & Development | 8 | February 6, 2018 15:12 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
implementation of Spalart-Allmaras Turbulence Model | zhengjg | Main CFD Forum | 0 | July 24, 2013 04:43 |
two turbulence model in fluent | duaiduaihu | FLUENT | 1 | August 26, 2009 20:39 |