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

Additional variable

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 20, 2012, 08:07
Default Additional variable
  #1
New Member
 
Luigi Gurreri
Join Date: Jul 2012
Posts: 15
Rep Power: 5
Luigi is on a distinguished road
I should run simulations in which the kinematic diffusivity is a function of the additional variable itself. In particular, the concentration of a solute is the additional variable, of which I have to solve the transport equation, and its diffusivity is a function of the concentration itself. The Solver reports this error message:
Error processing expression 'Kinematic Diffusivity'.
The expression is invalid because:
Concentration is not available for use in this term

Error processing expression: Kinematic Diffusivity = D.

Does it mean that is impossible to set the kinematic diffusivity as a function of the additional variable??
If not, how can I avoid this error?
If so, is there any chance to solve the problem?
Luigi is offline   Reply With Quote

Old   July 20, 2012, 14:07
Default
  #2
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 5
Felggv is on a distinguished road
Hi there,

I had the same message but with a different variable.

I wanted to calculate Temperature using the Mass Fraction, but in CFX, the mass fraction of a component cannot be used to calculate temperature in the default configurations of the CFX.

What I was told to do was to add this variable to the "default" by modifying the RULES file in CFX>etc folder, and I was properly warned by people here that mf was not set as default for a good reason, so if that's your solution for the problem, you should backup this file and monitor the results.

Here's the topic where they've helped me: Problems with CEL (guess it's simple to solve)

There's another way to solve the problem by adding a line of CCL command instead of modifying the RULES, it's post #15 there.

I'm not sure, but I think you don't have to create another variable since concentration is already there. If your problem is like mine, you should just enable it to use for you purpose.

Sorry for the long text
Felggv is offline   Reply With Quote

Old   July 20, 2012, 18:16
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,954
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You can work around this by editting the rules file (see Felipe's link for this) but be aware that it is not supported by default because something is missing - it might not work at all, it might be completely wrong or it might give incorrect results in a very specific setup. What I am trying to say is it is not supported and you have to do your own checks to make sure it is working correctly.
ghorrocks is offline   Reply With Quote

Old   July 22, 2012, 14:46
Default Where is the RULES file?
  #4
New Member
 
Luigi Gurreri
Join Date: Jul 2012
Posts: 15
Rep Power: 5
Luigi is on a distinguished road
Thanks for your help,

but where can I find the RULES file??
Luigi is offline   Reply With Quote

Old   July 22, 2012, 16:35
Default
  #5
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 5
Felggv is on a distinguished road
It should be here:

C:\Program Files\ANSYS Inc\v130\CFX\etc
Felggv is offline   Reply With Quote

Old   July 23, 2012, 06:45
Default Simulation is running
  #6
New Member
 
Luigi Gurreri
Join Date: Jul 2012
Posts: 15
Rep Power: 5
Luigi is on a distinguished road
Thank you,
I have modified the RULES file and the simulation run, but this message appears:
Invalid entries in Dependency List for Kinematic Diffusivity have been found. Please ensure entries are defined in the VARIABLES file

I think that it is not a problem.

Anyway, thanks a lot! Now I can carry out my simulations!!
Luigi is offline   Reply With Quote

Old   July 23, 2012, 09:28
Default
  #7
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 5
Felggv is on a distinguished road
Luigi,

As some guys have warned me here, check out the results to see if they're not absurd because of the modification.

Hope it works well
Felggv is offline   Reply With Quote

Old   July 23, 2012, 09:52
Default
  #8
New Member
 
Luigi Gurreri
Join Date: Jul 2012
Posts: 15
Rep Power: 5
Luigi is on a distinguished road
As I can see from preliminary results, it semms to work well!
Luigi is offline   Reply With Quote

Reply

Tags
additional variable, kinematic diffusivity

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Condensation as an additional variable Clark Griswold CFX 2 April 21, 2012 07:20
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
Problems with additional variable Krishna Premi CFX 1 October 29, 2007 09:19
Multi_component Vs Additional Variable Anurag CFX 2 February 4, 2005 17:45
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 10:36.