CFD Online Logo CFD Online URL
Home > Forums > CFX

CEL or Fortran Code

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 30, 2014, 10:05
Default CEL or Fortran Code
New Member
Join Date: May 2014
Posts: 2
Rep Power: 0
hana-90 is on a distinguished road
Hi All,
It's been quit a while since first I started CFX. I am trying to model population balance of biological systems due to coalescence of species under laminar shear. CFX is only featured with "Prince and Blanch" model which is basically for modeling bubble coalescence in transient flows, and thus is not applicable in my case.
after all I came to this conclusion that I have to write either a CEL or a fortran routine for the suitable model which is as follows:

beta(ij)=(2*k*T/3*mu) *(di+dj)*(1/di+1/dj); di and dj are diameters of colliding particles.

I've already tried to get help from "Help" of Ansys but i didn't get how to write the above expression as a CEL because i don't know how is it possible to define diameters of two colliding particles as di or dj !!
water is as continuous phase and a user-defined polydispersed phase (algae) is as dispersed phase. FYI I am using inhomogeneus MUSIG.

Any help or information is highly appreciated.
tnx in advance
hana-90 is offline   Reply With Quote

Old   June 15, 2014, 08:29
New Member
Join Date: May 2014
Posts: 2
Rep Power: 0
hana-90 is on a distinguished road
just FYI, the CEL worked well.
hana-90 is offline   Reply With Quote

Old   September 16, 2015, 04:24
New Member
Join Date: Sep 2015
Posts: 10
Rep Power: 4
andyyuan is on a distinguished road
Hi Hana-90,

I have been stuck in this problem for almost two weeks. How did you find di and dj using CEL?

Thanks a lot. Looking forward for your reply.
andyyuan is offline   Reply With Quote

Old   January 24, 2017, 09:56
New Member
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 2
Laksh is on a distinguished road
Hi Hana...I am also trying to figure out a solution to a similar problem. I am trying to call some variable like Group 1 diameter, mass etc into a CEL function/FORTRAN routine. Could you tell me how you wrote a CEL routine in your case? That might shed some light to solve my problem. Thanks
Laksh is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call FORTRAN files as UDF? Ehsan-F Fluent UDF and Scheme Programming 6 September 11, 2012 11:03
CGNS fortran code compiling with intel visual fortran xe dokeun Main CFD Forum 1 April 5, 2012 21:01
Discontinuous Galerkin schemes -- fortran source code diedro Main CFD Forum 3 March 12, 2011 11:20
Who can find me this fortran code 'CHEMR'? Dong Ye Main CFD Forum 1 October 13, 2005 17:02
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56

All times are GMT -4. The time now is 22:13.