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

Recursive Addititonal Variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2005, 04:40
Default 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
  Reply With Quote

Old   July 18, 2005, 16:47
Default 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
  Reply With Quote

Old   July 20, 2005, 06:38
Default 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

  Reply With Quote

Old   August 9, 2005, 10:57
Default Re: Recursive Additional Variable
  #4
Andrea
Guest
 
Posts: n/a
Bank Darlehn Info Banken Geld Berechnen Schweizerkredit Konto Privatdarlehen Schufafreie Kredite in bar Kreditvermittlung
  Reply With Quote

Old   August 15, 2005, 08:41
Default 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
  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
Problems with additional variable Krishna Premi CFX 1 October 29, 2007 08:19
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04:27
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


All times are GMT -4. The time now is 12:43.