|
[Sponsors] |
July 18, 2005, 05:40 |
Recursive Addititonal Variable
|
#1 |
Guest
Posts: n/a
|
Hi, I need to define an Addititonal Variable, function of this variable itself, i.e.:
Var = Var + 1 I can do it but I can not initialize the variable so the solver gives errors!!! How can I do that with CCL in CFX-PRE? Many thanks |
|
July 18, 2005, 17:47 |
Re: Recursive Addititonal Variable
|
#2 |
Guest
Posts: n/a
|
Hi Stex,
If you write this as an expression, you will get an error. If you actually create an algebraic additional variable, you can initialize it as you do velocity, temperature, etc. Regards, Robin |
|
July 20, 2005, 07:38 |
Re: Recursive Additional Variable
|
#3 |
Guest
Posts: n/a
|
Where in ccl editor?
FLOW: DOMAIN: hot FLUID MODELS: ADDITIONAL VARIABLE: mshot Additional Variable Value = mshot + (30*(projMassFLow-MassFlow)/projMassFLow) Option = Algebraic Equation END END END END or FLOW: INITIALISATION: Option = Automatic INITIAL CONDITIONS: Velocity Type = Cartesian CARTESIAN VELOCITY COMPONENTS: Option = Automatic END STATIC PRESSURE: Option = Automatic END TEMPERATURE: Option = Automatic END END END END |
|
August 9, 2005, 11:57 |
Re: Recursive Additional Variable
|
#4 |
Guest
Posts: n/a
|
||
August 15, 2005, 09:41 |
Re: Recursive Additional Variable
|
#5 |
Guest
Posts: n/a
|
Hi stex, Did you find a solution? I have the same problem with initialization of an additional variable based on an algebraic equation.
Regards Jesper |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Problems with additional variable | Krishna Premi | CFX | 1 | October 29, 2007 09:19 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |