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

Input function data to an expression

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Lance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2013, 06:05
Default Input function data to an expression
  #1
New Member
 
Join Date: Oct 2013
Posts: 25
Rep Power: 12
stuart230588 is on a distinguished road
I have temperature dependent properties saved in a function that I would like to call into an expression - is this possible and how would I go about doing so?
stuart230588 is offline   Reply With Quote

Old   December 9, 2013, 07:46
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Not sure I understand you correctly, but you can use user functions in CEL expressions.
Example:
A function called 'BCinlet' with the data field 'Velocity u' can be used in an expression as BCinlet.Velocity u(x,y,z)
Far likes this.
Lance is offline   Reply With Quote

Old   December 9, 2013, 07:55
Default
  #3
New Member
 
Join Date: Oct 2013
Posts: 25
Rep Power: 12
stuart230588 is on a distinguished road
Thanks for your reply.

I must have forgotten to put the (T) at the end as it now appears to be working.

Cheers,
Stuart
stuart230588 is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


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