CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Additional Variable Source Term in CFX

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2015, 12:56
Default Additional Variable Source Term in CFX
PranjalNewton's Avatar
Pranjal Singh
Join Date: Sep 2015
Posts: 34
Rep Power: 10
PranjalNewton is on a distinguished road
Hi there, I've been trying to do the additional variable source term idea given at to deal with problems with recursive CEL in CFX. I tried the other methods suggested but they don't work for me.

So, I'm using this CCL expression:

FLOW: Flow Analysis 1
  DOMAIN: Fluid Domain
    &replace SUBDOMAIN: P Subdomain
      Coord Frame = Coord 0
      Location = B34
        Option = Unspecified
        EQUATION SOURCE: wnow
          Option = Source
          Source = (w-wnow)* 1000 [kg m^-3 s^-1]
This gives no CCL interpretation warning but a general warning that wnow is not available as an option in the Sources tab. Isee that it really is the case as there is only "continuity" option there.
The exact error is:

The object "/FLOW:Flow Analysis 1/DOMAIN:Fluid Domain/SUBDOMAIN:P Subdomain/SOURCES" contains the following object: "wnow" whose name is not in the set of those allowed: "continuity".

Note that I've defined the additional variable "wnow" as =w so that I get a 'copy' of w value from previous iteration to be used in present.

Please Help. Thanks!
PranjalNewton is offline   Reply With Quote

Old   October 28, 2015, 15:12
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
You are posting a short snippet of the command file out of context.

How is the variable/equation wnow defined, and activated on the given domain. Is the definition, and activation compatible to support a source in a subdomain?
Opaque is online now   Reply With Quote


ccl, code, source

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18

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