|
[Sponsors] |
March 19, 2015, 23:04 |
Defining "Time on Streamline" Variable
|
#1 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16 |
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 |
|
March 20, 2015, 01:45 |
|
#2 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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? |
|
March 20, 2015, 02:59 |
|
#3 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16 |
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. |
|
March 20, 2015, 03:46 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143 |
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).
|
|
|
|
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 |