|
[Sponsors] |
ERROR #001100279 has occurred in subroutine ErrAction. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 8, 2015, 15:27 |
ERROR #001100279 has occurred in subroutine ErrAction.
|
#1 |
New Member
Germán Salazar
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
I am a bit afraid to post as I may not even understand the answer...the thing is that I am not a CFD kind of guy but a programmer who supports engineers, and at this time, the engineers do not quite have the time to support me.
I have this user fortran code that fell on my lap and trying to compile and run...here is a more complete error message: | PROBLEM ENCOUNTERED WHEN EXECUTING CFX EXPRESSION LANGUAGE | | The CFX expression language was evaluating: | Additional Variable Value | | The problem was: | User Fortran: NAME | | FURTHER INFORMATION | | The problem was encountered in executing the expression for: | $SCALAR_0 | The complete expression is: | VelocityComponents(x,y,z,3) | The error occurs on sub-expression: | 3 | | BACKGROUND INFORMATION | | The error was detected at one location. The same problem may be | present at other locations - that has not been investigated. | The following values are for the first location which has the | problem. | | | END OF DIAGNOSTIC OUTPUT FOR CFX EXPRESSION LANGUAGE +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | Writing crash recovery file +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | ERROR #001100279 has occurred in subroutine ErrAction. | Message: | Stopped in routine CEL_WRAP Any (generic) insight into this error message? Was $SCALAR_0 evaluated to 3? Or, did the program attempt to evaluate the velocitycomponents call to assign it to $SCALAR? The velocitycomponents call, by the way, ultimately comes down a piece of fortran code that I can control, debug or something. Thanks in advance for any hints you may offer. gsal |
|
April 8, 2015, 19:01 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
CFX comes with some examples of user fortran. It is in the documentation. It gives examples of how to get user fortran working on CFX.
From my reading this looks like a CEL error (so in the CFX control language, not fortran) as you have called a variable "VelocityComponents(x,y,z,3)", but that variable is just defined to have 3 arguments. |
|
April 8, 2015, 23:31 |
|
#3 |
New Member
Germán Salazar
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
thanks for replying, ghorrocks
I looked into the CEL code and there are 3 instances where velocity components are called upon, one for each direction u, v, and w...the calls have the number hard coded, so, it is not like that last argument needs to be calculated: ...velocitycomponents(x,y,z,1) ...velocitycomponents(x,y,z,2) ...velocitycomponents(x,y,z,3) and 4 arguments is correct. So, I am afraid that's not it By the time the program fails, this subroutine has been called successfullly several times; so, there must be something else going on that is not quite reflected by the error message. I searched the forums and I seem to recall a thread reporting the same error message and curiously similar: Instead of: | VelocityComponents(x,y,z,3) | The error occurs on sub-expression: | 3 it said: | Q(Temperature) | The error occurs on sub-expression: | e sub-expression e? really? ...that's a funny message, don't you think? it almost looks like this CFX error routine just reports the last character in the argument list. thanks again, I will keep looking. |
|
April 9, 2015, 07:11 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
If it runs a few times successfully before this point then I would be suspicious of numerical errors like divide by zero, square root of a negative number or some other invalid mathematics.
|
|
April 9, 2015, 10:27 |
|
#5 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Without looking into the library of expressions used, i.e. LIBRARY/CEL/EXPRESSIONS section, and the source code, it would be very difficult for anyone here to pinpoint the source of the problem.
I do agree with Glenn, that since it worked a few times earlier, there may be a sub-expression (impossible to tell w/o the proper context) which would have created a floating point exception, but was caught by the CFX Expression Language before hand and provided some hint (apparently incomplete) of the problem. |
|
April 14, 2015, 14:47 |
|
#6 |
New Member
Germán Salazar
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
I am back...to report resolution, may it help somebody in the future with a similar problem.
I had inherited the aforementioned Fortran sources that were written by inexperience writers...they were not pretty at all, nor easy to read or follow. In the process of cleaning and beautifying the sources with hundreds of changes, I made a typo from 'wsource' to 'Wsource'...in a regular string or Fortran itself, this is not a problem, but in this case, this string refers to a CEL quantity and CEL is case sensitive! And yes, calculation of 'wsource' in the CEL file is via velocitycomponents(x,y,z,3), hence the hint in the error message... ...if CEL is case sensitive and 'wsource' IS different from 'Wsource', then, I don't think that expecting an error message saying something like "variable does not exist" is too much to ask. Anyway, there it is. Thanks for you assistance. gsal |
|
Tags |
$scalar_0, cel_wrap, erraction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR #001100279 has occurred in subroutine ErrAction. | smnaryal | CFX | 11 | December 20, 2017 17:32 |
ERROR #001100279 has occurred in subroutine ErrAction. | aniseh | CFX | 6 | October 5, 2015 12:01 |
ERROR #001100279 has occurred in subroutine ErrAction. | sujay | CFX | 8 | December 10, 2014 13:09 |
ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | sujay | CFX | 1 | June 10, 2013 23:30 |
ERROR #001100279 has occurred in subroutine ErrAction. | P9408 | CFX | 1 | August 19, 2009 08:56 |