CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for turbulence models

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2012, 13:15
Default UDF for turbulence models
  #1
New Member
 
Join Date: Feb 2012
Posts: 6
Rep Power: 14
twray is on a distinguished road
Hello all,

Can a completely new turbulence model be implemented with a UDF? Specifically I'm interested in the zeta-f, v2-f, and RSA models.

My understanding so far is that it is possible to do the zeta-f and v2-f models because they also use the original k-epsilon transport equations. However, in the RSA model, k and epsilon have algebraic relations and are not defined by transport equations. Since this is a different implementation of k and epsilon I'm unsure if the use of a UDF is possible for the RSA model.

Any insight is appreciated,
Tim
twray is offline   Reply With Quote

Old   August 22, 2012, 07:34
Default
  #2
Member
 
eng_s_sadeghi's Avatar
 
Join Date: Mar 2011
Posts: 64
Rep Power: 15
eng_s_sadeghi is on a distinguished road
You may could model it by entering sources, changing variables in turbulent models panel. Or, write two user defined scalars for turbulent parameters.
__________________
Saeed Sadeghi
Ansys Fluent CFD Consultant
eng_s_sadeghi is offline   Reply With Quote

Old   March 24, 2016, 14:48
Default
  #3
New Member
 
Pratik Dhoot
Join Date: Mar 2016
Location: Boston, MA
Posts: 20
Rep Power: 10
pratikddhoot is on a distinguished road
Quote:
Originally Posted by eng_s_sadeghi View Post
You may could model it by entering sources, changing variables in turbulent models panel. Or, write two user defined scalars for turbulent parameters.
Hi,

I am new to using UDF but I wanted to build a zero equation turbulence model and use it in FLUENT. Can you help me with this?
pratikddhoot is offline   Reply With Quote

Old   October 26, 2016, 21:09
Default
  #4
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Quote:
Originally Posted by eng_s_sadeghi View Post
You may could model it by entering sources, changing variables in turbulent models panel. Or, write two user defined scalars for turbulent parameters.
Hi,

I am struggling with implementing a new intermittency transport equation that I have derived in fluent and you seem to be a very knowledgable person in this regard.

I understand that I have to use UDS. But I am not sure how I should change the value of intermittency inside the UDF? I am guessing that I have to use DEFINE_ADJUST for that reason but then again I do not know how to access (read) the value of intermittency from the solver.

Also two other problems:
1) For adding source terms to intermittency can I simply add it through the sources tab in the fluids window or it has to be done through UDF as well.

2) Diffusion term: This is the part that I literally do not have any clue about. Any help is much appreciated.

Sorry if my problems sound childish to you. I have been using CFX for quite a while and I know how to work with that but I am quite a newbe in fluent.

I would really really appreciate it if you can help me with that. I am lost and do not have much time.

Thanks a lot,

Ali
alinik is offline   Reply With Quote

Old   October 29, 2016, 11:13
Default energy residual convergence problem
  #5
New Member
 
Gujarat
Join Date: Oct 2016
Posts: 6
Rep Power: 10
mahipal parmar is on a distinguished road
hello frnds..
give the suggestion to e for my problem..

my analysys is double pipe heat exchanger with two different turbulator inserts.
and i used
counterflow arrangement
turbulent k-epsilon(2 eq) stand wall fun.
hot inlet-413 k,1.3 kg/s
cold inlet-298k,1.3 kg/s
solution scheme-pressure-velocity based
simple,
second order
my problem is..during my solution in fluent cfd energy residual is not converged and its value increases and reach to 1e+08..
plz gys give me the suggestion..
thanks in advance
mahipal parmar is offline   Reply With Quote

Old   October 29, 2016, 13:56
Default
  #6
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Quote:
Originally Posted by mahipal parmar View Post
hello frnds..
give the suggestion to e for my problem..

my analysys is double pipe heat exchanger with two different turbulator inserts.
and i used
counterflow arrangement
turbulent k-epsilon(2 eq) stand wall fun.
hot inlet-413 k,1.3 kg/s
cold inlet-298k,1.3 kg/s
solution scheme-pressure-velocity based
simple,
second order
my problem is..during my solution in fluent cfd energy residual is not converged and its value increases and reach to 1e+08..
plz gys give me the suggestion..
thanks in advance
This does not fall under the topic of this thread. Please see other threads focusing on obtaining convergence in fluent.
My guess is your mesh or your BC is wrong.
alinik is offline   Reply With Quote

Old   November 1, 2016, 02:14
Default energy residual convergence problem
  #7
New Member
 
Gujarat
Join Date: Oct 2016
Posts: 6
Rep Power: 10
mahipal parmar is on a distinguished road
my boundary condition is:
hot inlet-413k,1.3 kg/s
hot outlet-pressure based
cold inlet-298k,1.3 kg/s
cold outlet-pressure based
all wall boundarries except outer pipe are copper material.
and outer pipe is of aluminium.
inserts wall are also of copper.
mesh quality:
min orthogonal quality-1.23155e-01
maxi. aspect ratio- 3.34364e+01

and again i dont get convergence in energy residual it increasing and goes toward... e+8.
can any one help me..
thanks in advance frnds.
mahipal parmar 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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
HELP! adding a mass source to VOF eqn. by UDF??? ROOZBEH FLUENT 5 December 3, 2016 18:53
Incompressible Turbulence models achinta OpenFOAM 4 May 27, 2010 11:35
Two-fluid models vs mixture models for bubbly flows Hansong Tang Main CFD Forum 6 December 8, 2009 04:21
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03


All times are GMT -4. The time now is 15:46.