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

Error message in CFX solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2020, 04:26
Default Error message in CFX solver
  #1
Member
 
William
Join Date: Jun 2020
Posts: 70
Rep Power: 6
CFXer is on a distinguished road
Hello!

The solver stopped my simulations after only 3 timesteps given the following error message:

Slave: 10
Slave: 10 +--------------------------------------------------------------------+
Slave: 10 | PROBLEM ENCOUNTERED WHEN EXECUTING CFX EXPRESSION LANGUAGE |
Slave: 10 | |
Slave: 10 | The CFX expression language was evaluating: |
Slave: 10 | Resistance Loss Coefficient |
Slave: 10 | |
Slave: 10 | The problem was: |
Slave: 10 | LOGe-OF-NON-POSITIVE |
Slave: 10 | |
Slave: 10 | FURTHER INFORMATION |
Slave: 10 | |
Slave: 10 | The problem was encountered in executing the expression for: |
Slave: 10 | $SCALAR_0 |
Slave: 10 | The complete expression is: |
Slave: 10 | (0.79*ln(Re)-1.64)^(-2)/0.733[mm] |
Slave: 10 | The error occurs on sub-expression: |
Slave: 10 | ln(Re) |
Slave: 10 | |
Slave: 10 | BACKGROUND INFORMATION |
Slave: 10 | |
Slave: 10 | The error was detected at one location. The same problem may be |
Slave: 10 | present at other locations - that has not been investigated. |
Slave: 10 | The following values are for the first location which has the |
Slave: 10 | problem. |
Slave: 10 | |
Slave: 10 | In this expression, these sub-expressions have been calculated: |
Slave: 10 | |
Slave: 10 | Sub-expression = Value |
Slave: 10 | |
Slave: 10 | 0.79 = 0.790000 |
Slave: 10 | These values were set before reaching the current expression: |
Slave: 10 | |
Slave: 10 | Name = Expression = Value |
Slave: 10 | |
Slave: 10 | Re = density*(-w)*0.733[mm]/visc= -855.198 |
Slave: 10 | w = 0.154518 |
Slave: 10 | viscosity = 1.953092E-05 |
Slave: 10 | density = 147.471 |
Slave: 10 | |
Slave: 10 | END OF DIAGNOSTIC OUTPUT FOR CFX EXPRESSION LANGUAGE |
Slave: 10 +--------------------------------------------------------------------+

Parallel run: Received message from slave
-----------------------------------------
Slave partition : 4
Slave routine : ErrAction
Master location : Message Handler
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Failed to calculate sources in GETSOU for LOSS_F2 from directory |
| "LOSSM/RESIST" on location "6!�� |
| |
| |
| |
| |
+--------------------------------------------------------------------+

Parallel run: Received message from slave
-----------------------------------------
Slave partition : 4
Slave routine : ErrAction
Master location : Message Handler
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine GETSOU |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine MESG_RETRIEVE. |
| Message: |
| Stopping the run due to error(s) reported above |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+


I have searched about the GEUSOU error, but nothing has come out.

Does anyone know what this error message means?

Thank you in advance.
CFXer is offline   Reply With Quote

Old   July 14, 2020, 05:38
Default
  #2
Senior Member
 
karachun's Avatar
 
Join Date: Nov 2015
Posts: 246
Rep Power: 12
karachun is on a distinguished road
Quote:
Originally Posted by CFXer View Post
Does anyone know what this error message means?
Error is obvious. You have this set of expressions.

Re = density*(-w)*0.733[mm]/visc= -855.198
w = 0.154518
viscosity = 1.953092E-05
density = 147.471

Then you try to get natural logarithm from negative value - Re = -855.198.

(0.79*ln(Re)-1.64)^(-2)/0.733[mm]


You can not take logarithms of negative value (actually you can, you get complex numbers with imaginary parts but CFX can not handle imaginary parts and you don't want to work with complex numbers).
karachun is offline   Reply With Quote

Old   July 14, 2020, 07:28
Default
  #3
Member
 
William
Join Date: Jun 2020
Posts: 70
Rep Power: 6
CFXer is on a distinguished road
Quote:
Originally Posted by karachun View Post
Error is obvious. You have this set of expressions.

Re = density*(-w)*0.733[mm]/visc= -855.198
w = 0.154518
viscosity = 1.953092E-05
density = 147.471

Then you try to get natural logarithm from negative value - Re = -855.198.

(0.79*ln(Re)-1.64)^(-2)/0.733[mm]


You can not take logarithms of negative value (actually you can, you get complex numbers with imaginary parts but CFX can not handle imaginary parts and you don't want to work with complex numbers).
Thank you! I have solved the problem with your reply!
CFXer 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
CFX Solver Manager Error Code 1 Peta247 CFX 3 June 4, 2016 12:00
The ANSYS CFX solver exited with return code 1. No results file has been created moodkiller CFX 7 May 23, 2016 03:16
CFX solver workspace & ourfile Problem wangy1767 CFX 1 January 9, 2013 10:38
CFX SOLVER error !!! mehrdadeng CFX 3 November 23, 2009 17:42
problem in CFX solver about isolated volumes Yuan CFX 2 August 16, 2004 23:54


All times are GMT -4. The time now is 16:20.