# Recursive Addititonal Variable

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 18, 2005, 04:40 Recursive Addititonal Variable #1 stex 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, 16:47 Re: Recursive Addititonal Variable #2 Robin 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, 06:38 Re: Recursive Additional Variable #3 stex 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, 10:57 Re: Recursive Additional Variable #4 Andrea Guest   Posts: n/a

 August 15, 2005, 08:41 Re: Recursive Additional Variable #5 Jesper 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post charlotte CFX 4 March 22, 2011 10:14 bhushas Main CFD Forum 1 May 30, 2008 04:35 Krishna Premi CFX 1 October 29, 2007 09:19 gruber2 OpenFOAM Installation 5 December 30, 2005 05:27 lego CFX 3 November 5, 2002 21:09

All times are GMT -4. The time now is 02:59.

 Contact Us - CFD Online - Privacy Statement - Top