|
[Sponsors] |
November 21, 2011, 15:13 |
User CEL Function and CFD Post
|
#1 |
New Member
John Chastain
Join Date: Nov 2011
Posts: 3
Rep Power: 15 |
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: 21 |
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.
|
|
November 21, 2011, 18:40 |
|
#3 |
New Member
John Chastain
Join Date: Nov 2011
Posts: 3
Rep Power: 15 |
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: 15 |
Many thanks, stumpy!!!
__________________
John Chastain Analytical Engineer Techtronic Industries NA, Inc. |
|
September 24, 2013, 14: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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guide: Getting Started with the CFD Online Discussion Forums | pete | Site Help, Feedback & Discussions | 8 | July 29, 2016 06:00 |
User Function defination | aeroeng11 | CFX | 2 | October 8, 2011 13:11 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
CFD post | bob12 | FLUENT | 0 | October 26, 2010 13:46 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |