User CEL Function and CFD Post

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

 November 21, 2011, 15:13 User CEL Function and CFD Post #1 New Member   John Chastain Join Date: Nov 2011 Posts: 3 Rep Power: 6 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.

 November 21, 2011, 16:02 #2 Senior Member   Join Date: Apr 2009 Posts: 531 Rep Power: 13 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.

 November 21, 2011, 18:40 #3 New Member   John Chastain Join Date: Nov 2011 Posts: 3 Rep Power: 6 worked like a charm!! __________________ John Chastain Analytical Engineer Techtronic Industries NA, Inc.

 November 21, 2011, 18:40 #4 New Member   John Chastain Join Date: Nov 2011 Posts: 3 Rep Power: 6 Many thanks, stumpy!!! __________________ John Chastain Analytical Engineer Techtronic Industries NA, Inc.

 September 24, 2013, 13:58 #5 New Member   Join Date: Jul 2013 Posts: 2 Rep Power: 0 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

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post pete Site Help, Feedback & Discussions 8 July 29, 2016 05:00 aeroeng11 CFX 2 October 8, 2011 12:11 AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06 bob12 FLUENT 0 October 26, 2010 12:46 Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 04:12.