|
[Sponsors] |
Need help: the UDF expression in 2-dimensional problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 15, 2024, 11:59 |
Need help: the UDF expression in 2-dimensional problem
|
#1 |
Member
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12 |
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. |
|
|
|
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 |