|
[Sponsors] |
October 28, 2015, 13:56 |
Additional Variable Source Term in CFX
|
#1 |
Member
Pranjal Singh
Join Date: Sep 2015
Posts: 34
Rep Power: 11 |
Hi there, I've been trying to do the additional variable source term idea given at http://www.eureka.im/4110.html 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: Code:
FLOW: Flow Analysis 1 DOMAIN: Fluid Domain &replace SUBDOMAIN: P Subdomain Coord Frame = Coord 0 Location = B34 MESH MOTION: Option = Unspecified END SOURCES: EQUATION SOURCE: wnow Option = Source Source = (w-wnow)* 1000 [kg m^-3 s^-1] END END END END END 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! |
|
October 28, 2015, 16:12 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
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? |
|
Tags |
ccl, code, source |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |