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

Need help: the UDF expression in 2-dimensional problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2024, 11:59
Default Need help: the UDF expression in 2-dimensional problem
  #1
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Dear All!

I am trying to make UDF code with the following terms in the Realizable k-epsilon model: W=(Sij*Sjk*Ski)/S^3 and U* = sqrt(Sij*Sij+Oij*Oij).
Here, Sij and Oij are the mean strain and rotation-rate tensors.

For the 2-dimensional problem, these above terms can be expressed as:
W=(Sii+Sij+2Sij)/S^3
U* = sqrt(Sii^2+Sjj^2+2*Sij^2+Oij*Oij)

with Sii=0.5*(C_DUDX(c,t)+C_DUDX(c,t));
Sij=0.5*(C_DUDY(c,t)+C_DVDX(c,t));
Sjj=0.5*(C_DVDY(c,t)+C_DVDY(c,t));
Oij=0.5*(C_DUDY(c,t)-C_DVDX(c,t));
S = sqrt(Sij*Sij)=sqrt(Sii*Sii+2*Sij*Sij+Sjj*Sjj)

Are these expressions correct? Please help.
Thank.
dinhanh 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
udf for one dimensional linear motion based on force maccheese Fluent UDF and Scheme Programming 2 September 1, 2019 03:18
Outlet boundary condition in interFoam Andrea_85 OpenFOAM Running, Solving & CFD 51 July 20, 2017 14:31
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 09:51
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
Problem with compiling UDF in Fluent amojodi Fluent UDF and Scheme Programming 4 April 14, 2015 10:01


All times are GMT -4. The time now is 08:56.