Recursive Addititonal Variable
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 |
Re: Recursive Addititonal Variable
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 |
Re: Recursive Additional Variable
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 |
Re: Recursive Additional Variable
|
Re: Recursive Additional Variable
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 |
All times are GMT -4. The time now is 18:51. |