CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

User CEL Function and CFD Post

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

Like Tree1Likes
  • 1 Post By stumpy

Reply
 
LinkBack Thread Tools Display Modes
Old   November 21, 2011, 15:13
Default User CEL Function and CFD Post
  #1
New Member
 
John Chastain
Join Date: Nov 2011
Posts: 3
Rep Power: 5
chastain is on a distinguished road
In CFX-Pre, I have defined an expression that calls a user cel function (FORTRAN). I am using this user cel function to quantify the spray angle in a continuous-continuous multiphase water nozzle analysis (water sprayed into air). I have monitored the output of this function during the steady state solution and the final calculated angle is reasonable. This is all great but when I go to CFD Post, my user cel function is not defined.

I need to have access to the output of the user cel function, the spray angle, as a Workbench Output Parameter.

How does one make CFD Post recognize user cel functions? Any work-arounds?
__________________
John Chastain
Analytical Engineer
Techtronic Industries NA, Inc.
chastain is offline   Reply With Quote

Old   November 21, 2011, 16:02
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 517
Rep Power: 12
stumpy is on a distinguished road
You need to create an algebraic Additional Variable in CFX-Pre and assign its value as the output from the User CEL Function. The Additional Variable will be available in CFD-Post.
chastain likes this.
stumpy is offline   Reply With Quote

Old   November 21, 2011, 18:40
Default
  #3
New Member
 
John Chastain
Join Date: Nov 2011
Posts: 3
Rep Power: 5
chastain is on a distinguished road
worked like a charm!!
__________________
John Chastain
Analytical Engineer
Techtronic Industries NA, Inc.
chastain is offline   Reply With Quote

Old   November 21, 2011, 18:40
Default
  #4
New Member
 
John Chastain
Join Date: Nov 2011
Posts: 3
Rep Power: 5
chastain is on a distinguished road
Many thanks, stumpy!!!
__________________
John Chastain
Analytical Engineer
Techtronic Industries NA, Inc.
chastain is offline   Reply With Quote

Old   September 24, 2013, 13:58
Default
  #5
New Member
 
Join Date: Jul 2013
Posts: 2
Rep Power: 0
Sujan Dutta is on a distinguished road
Hi John and Stumpy,

Right now I am playing with "Chapter 19: Air Conditioning Simulation" where user subroutine TStat_Control.F is used. Say, I want to see the TSET in CFD post which is defined in user subroutine as TSET = RET(1:NLOC,1) (i.e. an output from subroutine). I figured out that I need to declare algebraic additional variable and I need to define Add.var.value. Can you please let me know how to define Add.var.value? Note that I defined Add.var.value = Thermostat Function (T) but it gives error.

Your help is highly appreciated
Sujan Dutta is offline   Reply With Quote

Reply

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
Guide: Getting Started with the CFD Online Discussion Forums pete Site Help, Feedback & Discussions 6 July 20, 2015 07:20
User Function defination aeroeng11 CFX 2 October 8, 2011 12:11
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
CFD post bob12 FLUENT 0 October 26, 2010 12:46
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 10:50.