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

Defining "Time on Streamline" Variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2015, 23:04
Question Defining "Time on Streamline" Variable
  #1
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16
ashtonJ is on a distinguished road
Dear all,
Does any one know how to create "Time on Streamline" variable.

I tried to define an expression "Time on Streamline" and create a variable using this expression. But the following error is given:

ERROR
Variable does not exist.


Could any one help please.

Thanks
AshtonJ
ashtonJ is offline   Reply With Quote

Old   March 20, 2015, 01:45
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
You will have to be a bit more specific than that. Right now your forum post says: "I have a problem, help me".

How did you define the expression? Post the ccl?
Lance is offline   Reply With Quote

Old   March 20, 2015, 02:59
Default
  #3
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16
ashtonJ is on a distinguished road
Thanks Lance.
First I plotted streamlines (Streamline 1). Then I defined an expression (A = Time on Streamline 1) and finally defined a variable (VA) using that expression. When I use the function calculator to find the value of VA, it gives the error.
ashtonJ is offline   Reply With Quote

Old   March 20, 2015, 03:46
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your variable will only exist on the streamline object. So you will have to be careful that you reference it correctly. Also don't forget that you probably have several streamlines in the streamline object so make sure that is correctly handled by your expression and function (obviously it is not correctly handled as you are getting the error).
ghorrocks 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
emag beta feature: charge density charlotte CFX 4 March 22, 2011 09:14
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 04:35
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04:27
Defining and assigning a variable to a cell Robi FLUENT 0 July 13, 2005 18:27
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


All times are GMT -4. The time now is 15:11.