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

CFX error: Variable is not allowed to have a component name prefix

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

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2019, 13:38
Default CFX error: Variable is not allowed to have a component name prefix
  #1
Member
 
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 6
Goenitz is on a distinguished road
Hi all,

My mixture name is MSR and while using CCL I am getting this error.

The variable 'p' referenced by parameter 'Flux' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/BOUNDARY:Catalyst/BOUNDARY SOURCE/SOURCES/EQUATION SOURCE:CH4.mf' is not allowed to have a component name prefix.

I have changed the formula for instance:
MSR.CH4.p to simple CH4.p but what other prefix there can be?

P.S CH4.mf depends on CH4.p
Goenitz is offline   Reply With Quote

Old   September 16, 2019, 14:41
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,772
Rep Power: 31
Opaque will become famous soon enough
Why do you expect p (as in pressure) to accept a component suffix? Are you expecting partial pressure? that behavior is not supported in ANSYS CFX

p, when used in property evaluations, is effectively the Absolute Pressure.

For other expressions, it is safer to just refer to Absolute Pressure directly and avoid confusion/problems.
Goenitz likes this.
Opaque is offline   Reply With Quote

Old   September 16, 2019, 15:17
Default
  #3
Member
 
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 6
Goenitz is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Why do you expect p (as in pressure) to accept a component suffix? Are you expecting partial pressure? that behavior is not supported in ANSYS CFX

p, when used in property evaluations, is effectively the Absolute Pressure.

For other expressions, it is safer to just refer to Absolute Pressure directly and avoid confusion/problems.
Oh man.. Thank you.. Instead of that I will use
pabs*CH4.molf =CH4.p

actually, i formulate the equation as it is in paper but didn't realize that partial pressure term should be replaced in other form
Goenitz is offline   Reply With Quote

Reply

Tags
ccl, cfx

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
Error: Update failed for the setup component in Fluid Flow CFX nudi1001 CFX 4 January 17, 2023 04:01
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 17:38
how to define a not-moving chemical component in CFX? cardioCFD CFX 5 January 22, 2018 19:36
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


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