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

Kinematic Diffusivity - Problem with additional variable

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2014, 13:03
Default Kinematic Diffusivity - Problem with additional variable
  #1
New Member
 
Claudia
Join Date: May 2014
Posts: 7
Rep Power: 12
clau90 is on a distinguished road
Hi,
I am trying to model the transport of non reactive particles in a blood vessel, which I have defined with the additional variable function. The diffusivity coefficient for these particles is dependent on the shear strain rate, with a linear relationship defined as:

Deff = alfa * sstrnr + D

Where alfa is a given coefficient. I have initially tried to assign this expression to the kinematic diffusivity, but the software wouldn't recognize the sstrnr variable. For this reason, I have defined another additional variable (unspecified) for the diffusivity equal to the expression, and then assigned this value to the diffusivity coefficient.

The software is not giving me any error. However, when I try to run my definition file, I get an error:

Error processing expression 'Kinematic Diffusivity'.
The expression is invalid because:
Diffusiv is not available for use in this term

Error processing expression: Kinematic Diffusivity = Diffusiv
+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| C:\Program Files\ANSYS Inc\v150\CFX\bin\winnt-amd64\ccl2flow.exe |
| was interrupted by signal QUIT (3) |
+------------------------------------------

I have tried to run a steady state simulation assigning a constant value to the diffusivity, so that the variables could be initialised and started my new one from that, but it's giving the same error. What am I doing wrong? How can I fix this error?

Thank you,

Claudia
clau90 is offline   Reply With Quote

Old   May 13, 2014, 16:40
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
You can create the following CCL snippet, and use it at run time

Code:
RULES:
  PARAMETER: Kinematic Diffusivity
     Dependency List = ANY
  END
END
This will bypass the error check you have found in your previous attempts; however, there may be a very good reason why the Dependency List does not allow all possible combinations (possible recursions ?). Review your results carefully to be certain the software is executing what you intend it to do.
Opaque is offline   Reply With Quote

Old   May 13, 2014, 21:58
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The main reason you cannot define some variables as functions of some other variables is because it leads to additional cross terms in the fundamental equations which CFX does not account for. This is in addition to reasons like recursions and implementation issues like that.

In this case making the diffusivity a function of shear strain rate would introduce lots of horrible cross terms linking diffusivity to the momentum equation. If those terms are significant then there is no way of doing this model in CFX (if you are lucky you might be able to add some of the terms as source terms, but source terms are a little limited in scope). If you are really lucky then these terms are small and can be ignored - then you are OK for using CFX with the work-around Opaque describes.
Mazze[ITA] likes this.
ghorrocks is offline   Reply With Quote

Old   May 14, 2014, 10:54
Default
  #4
New Member
 
Claudia
Join Date: May 2014
Posts: 7
Rep Power: 12
clau90 is on a distinguished road
Thank you so much for the reply! It worked fine, for the moment it seems like it is not affecting the flow (I have compared the flow domain with previous simulations and there is no difference) but I will be careful in checking the results.

Thank you again,

Claudia
clau90 is offline   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
solidification viscosity governed through an additional variable l.te CFX 8 September 13, 2012 20:19
Negative value of additional variable fkzstar CFX 12 July 9, 2012 19:49
Kinematic Diffusivity error lg88 CFX 3 March 18, 2012 17:52
Additional variable as output of an expression Chander CFX 1 November 22, 2011 13:54
Transport of additional variable bearli CFX 4 July 7, 2010 13:10


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