CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   returne code 255 (http://www.cfd-online.com/Forums/cfx/114070-returne-code-255-a.html)

BOUALOUACHE March 4, 2013 18:10

returne code 255
 
Hello, I have a problem I will like you to help me solve it,
the problem is that I run my file (. def) on CFX-Slover Manager, meeting starts at calculated within seconds, but just after he displays the following message "An error has occurred in cfx5solve: The ANSYS CFX solver Could not be started, or exited with return Code 255. I did not find the source of this problem although I have to change a lot of settings but it changes nothing.

cdegroot March 4, 2013 20:13

Post the output. Usually there will be more information before the error code.

BOUALOUACHE March 5, 2013 05:01

hi;there is no informations before the indication of the error , there is some calculations but not results ; did you know the cause of this error (returned code 255)??

this is the informations before the indication of the error :

+--------------------------------------------------------------------+
| Job Information |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Memory Allocated for Run (Actual usage may be less) |
+--------------------------------------------------------------------+

Data Type Kwords Words/Node Words/Elem Kbytes Bytes/Node

Real 36501.0 1786.11 3654.12 142582.0 7144.45
Integer 2690.5 131.66 269.35 10509.8 526.62
Character 3847.7 188.28 385.20 3757.5 188.28
Logical 80.0 3.91 8.01 312.5 15.66
Double 144.4 7.06 14.45 1127.9 56.52

+--------------------------------------------------------------------+
| Mesh Statistics |
+--------------------------------------------------------------------+
| Domain Name | Orthog. Angle | Exp. Factor | Aspect Ratio |
+----------------------+---------------+--------------+--------------+
| | Minimum [deg] | Maximum | Maximum |
+----------------------+---------------+--------------+--------------+
| Default Domain | 88.0 OK | 3 OK | 232 ok |
+----------------------+---------------+--------------+--------------+
| | %! %ok %OK | %! %ok %OK | %! %ok %OK |
+----------------------+---------------+--------------+--------------+
| Default Domain | 0 0 100 | 0 0 100 | 0 3 97 |
+----------------------+---------------+--------------+--------------+

Domain Name : Default Domain

Total Number of Nodes = 20436

Total Number of Elements = 9989
Total Number of Hexahedrons = 9989

Total Number of Faces = 20434

+--------------------------------------------------------------------+
| Buoyancy Reference Information |
+--------------------------------------------------------------------+

Domain Group: Default Domain

Buoyancy has been activated. The absolute pressure will include
hydrostatic pressure contribution, using the following reference
coordinates: (-2.17889E-02, 4.99049E-01, 1.00000E+00).

+--------------------------------------------------------------------+
| Average Scale Information |
+--------------------------------------------------------------------+

Domain Name : Default Domain
Global Length = 2.7998E-01
Minimum Extent = 4.3578E-02
Maximum Extent = 2.5000E+00
WATER.Density = 9.9700E+02
WATER.Dynamic Viscosity = 8.8990E-04
WATER.Velocity = 0.0000E+00
WATER.Mass (Conservative) = 1.6637E+01
WATER.Mass (Normalised) = 1.6637E+01
WATER.Volume = 1.6687E-02
WATER.Volume Fraction = 7.6035E-01
AIR.Density = 1.1850E+00
AIR.Dynamic Viscosity = 1.8310E-05
AIR.Velocity = 0.0000E+00
AIR.Mass (Conservative) = 6.2324E-03
AIR.Mass (Normalised) = 6.2324E-03
AIR.Volume = 5.2594E-03
AIR.Volume Fraction = 2.3965E-01
AIR | WATER.Slip Reynolds Number = 2.2407E-09
Wave Speed = 1.6573E+00
Froude Number = 0.0000E+00

+--------------------------------------------------------------------+
| Checking for Isolated Fluid Regions |
+--------------------------------------------------------------------+

No isolated fluid regions were found.

+--------------------------------------------------------------------+
| The Equations Solved in This Calculation |
+--------------------------------------------------------------------+

Subsystem : Momentum and Mass

U-Mom-WATER
V-Mom-WATER
W-Mom-WATER
U-Mom-AIR
V-Mom-AIR
W-Mom-AIR
P-Vol

Subsystem : Volume Fractions

Mass-WATER
Mass-AIR

Subsystem : TurbKE and Diss.K

K-TurbKE-WATER
E-Diss.K-WATER

CFD Solver started: Tue Mar 05 09:54:55 2013


+--------------------------------------------------------------------+
| Convergence History |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Writing transient file 0_full.trn |
| Name : Transient Results 1 |
| Type : Standard |
| Option : Timestep Interval |
+--------------------------------------------------------------------+


================================================== ====================
| Timestepping Information |
----------------------------------------------------------------------
| Timestep | RMS Courant Number | Max Courant Number |
+----------------------+----------------------+----------------------+
| 2.5000E-03 | 0.00 | 0.00 |
----------------------------------------------------------------------

================================================== ====================
TIME STEP = 1 SIMULATION TIME = 2.5000E-03 CPU SECONDS = 4.270E+00
----------------------------------------------------------------------

----------------------------------------------------------------------
COEFFICIENT LOOP ITERATION = 9 CPU SECONDS = 3.823E+01
----------------------------------------------------------------------
| Equation | Rate | RMS Res | Max Res | Linear Solution |
+----------------------+------+---------+---------+------------------+
| U-Mom-WATER | 1.86 | 8.3E-04 | 4.5E-02 | 1.7E-03 OK|
| V-Mom-WATER | 1.30 | 1.1E-02 | 3.7E-01 | 2.4E-03 OK|
| W-Mom-WATER | 0.73 | 8.1E-03 | 2.6E-01 | 1.2E-02 OK|
| U-Mom-AIR | 0.78 | 3.0E-05 | 2.3E-03 | 2.3E+02 F |
| V-Mom-AIR | 0.70 | 4.4E-04 | 2.3E-02 | 2.5E+02 F |
| W-Mom-AIR | 2.06 | 2.6E-03 | 1.3E-01 | 2.0E+01 F |
| P-Vol |99.99 | 3.0E-02 | 3.0E+00 | 9.9 1.4E-01 ok|
+----------------------+------+---------+---------+------------------+
| Mass-WATER | 1.01 | 2.1E-02 | 7.1E-01 | 10.5 2.5E-08 OK|
| Mass-AIR | 1.20 | 2.1E-02 | 9.4E-01 | 10.5 2.5E-08 OK|
+----------------------+------+---------+---------+------------------+
| K-TurbKE-WATER | 0.08 | 1.6E-03 | 6.2E-02 | 11.0 1.6E-02 OK|
| E-Diss.K-WATER | 0.51 | 1.3E-02 | 1.0E+00 | 34.0 9.8E-02 OK|
+----------------------+------+---------+---------+------------------+
----------------------------------------------------------------------
COEFFICIENT LOOP ITERATION = 10 CPU SECONDS = 4.239E+01
----------------------------------------------------------------------
| Equation | Rate | RMS Res | Max Res | Linear Solution |
+----------------------+------+---------+---------+------------------+
| U-Mom-WATER | 0.77 | 6.4E-04 | 6.2E-02 | 1.1E-02 OK|
| V-Mom-WATER | 0.87 | 9.3E-03 | 7.2E-01 | 1.2E-02 OK|
| W-Mom-WATER | 0.77 | 6.2E-03 | 5.0E-01 | 9.8E-03 OK|
| U-Mom-AIR | 0.56 | 1.7E-05 | 8.6E-04 | 1.5E-04 OK|
| V-Mom-AIR | 0.59 | 2.6E-04 | 9.8E-03 | 2.3E-04 OK|
| W-Mom-AIR | 0.19 | 4.9E-04 | 4.2E-02 | 1.0E-03 OK|
| P-Vol | 2.18 | 6.5E-02 | 8.3E+00 | 9.9 5.9E-03 OK|
+----------------------+------+---------+---------+------------------+
| Mass-WATER | 0.99 | 2.1E-02 | 5.4E-01 | 10.5 3.6E-06 OK|
| Mass-AIR | 1.33 | 2.8E-02 | 7.8E-01 | 10.6 3.5E-06 OK|
+----------------------+------+---------+---------+------------------+
| K-TurbKE-WATER |27.71 | 4.3E-02 | 8.3E-01 | 10.8 2.1E-01 ok|
| E-Diss.K-WATER | 3.09 | 3.9E-02 | 2.6E+00 | 89.0 3.6E-06 OK|
+----------------------+------+---------+---------+------------------+


================================================== ====================
| Timestepping Information |
----------------------------------------------------------------------
| Timestep | RMS Courant Number | Max Courant Number |
+----------------------+----------------------+----------------------+
| 2.5000E-03 | 999.99 | 999.99 |
----------------------------------------------------------------------

================================================== ====================
TIME STEP = 2 SIMULATION TIME = 5.0000E-03 CPU SECONDS = 4.692E+01
----------------------------------------------------------------------
COEFFICIENT LOOP ITERATION = 1 CPU SECONDS = 4.692E+01
----------------------------------------------------------------------
| Equation | Rate | RMS Res | Max Res | Linear Solution |
+----------------------+------+---------+---------+------------------+
| U-Mom-WATER | 0.08 | 1.2E-04 | 6.9E-03 | 4.3E-03 OK|
| V-Mom-WATER | 0.08 | 2.4E-03 | 1.9E-01 | 3.6E-03 OK|
| W-Mom-WATER | 0.58 | 1.6E-03 | 1.5E-01 | 8.4E-03 OK|
| U-Mom-AIR | 0.00 | 2.5E-04 | 1.1E-02 | 1.2E-03 OK|
| V-Mom-AIR | 0.00 | 3.8E-03 | 1.4E-01 | 1.8E-03 OK|
| W-Mom-AIR | 0.02 | 8.1E-03 | 3.7E-01 | 4.5E-03 OK|
| P-Vol | 0.19 | 5.2E-03 | 4.5E-01 | 9.9 1.2E-03 OK|
+----------------------+------+---------+---------+------------------+
| Mass-WATER | 2.44 | 2.5E-02 | 8.0E-01 | 10.5 9.7E-05 OK|
| Mass-AIR | 0.36 | 2.0E-02 | 7.6E-01 | 10.5 4.7E-05 OK|
+----------------------+------+---------+---------+------------------+
| K-TurbKE-WATER | 1.24 | 6.0E-02 | 1.7E+00 | 10.9 9.0E-03 OK|
| E-Diss.K-WATER | 0.82 | 2.4E-02 | 1.5E+00 |104.7 2.5E-08 OK|
+----------------------+------+---------+---------+------------------+
----------------------------------------------------------------------
COEFFICIENT LOOP ITERATION = 2 CPU SECONDS = 5.124E+01
----------------------------------------------------------------------
| Equation | Rate | RMS Res | Max Res | Linear Solution |
+----------------------+------+---------+---------+------------------+
| U-Mom-WATER | 0.00 | 1.1E-07 | 6.7E-06 | 2.3E+01 ok|
| V-Mom-WATER | 0.00 | 1.3E-06 | 6.5E-05 | 2.8E+01 ok|
| W-Mom-WATER | 0.00 | 3.1E-06 | 1.8E-04 | 5.3E+01 ok|
| U-Mom-AIR | 0.00 | 2.4E-07 | 2.9E-05 | 1.6E-01 ok|
| V-Mom-AIR | 0.00 | 2.7E-06 | 3.2E-04 | 2.4E-01 ok|
| W-Mom-AIR | 0.00 | 3.1E-06 | 1.4E-04 | 1.8E-01 ok|
| P-Vol | 0.00 | 7.9E-06 | 8.6E-04 | 9.8 7.5E-04 OK|
+----------------------+------+---------+---------+------------------+
| Mass-WATER | 1.42 | 3.5E-02 | 6.9E-01 | 10.5 2.0E-06 OK|
| Mass-AIR | 0.70 | 1.4E-02 | 4.3E-01 | 10.5 1.4E-06 OK|
+----------------------+------+---------+---------+------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver could not be started, or exited with return |
| code 255: . No results file has been created. |
+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+
| The following transient and backup files written by the ANSYS CFX |
| solver have been saved in the directory H:\simutation |
| 000\ESSAI-1\E-2\projet1C_012: |
| |
| 0_full.trn |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| H:\simutation 000\ESSAI-1\E-2\projet1C_012: |
| |
| mon |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.

cdegroot March 6, 2013 00:21

The residual in the linear solution spiked right before the error code and it didn't get to solving the turbulence eqns. Most likely a linear solver problem due to an unstable setup. Check boundary conditions and physics setup. Make sure everything is reasonable. Try adaptive timestepping with 3-5 coefficient loops per timestep, so that the timestep is small enough. It's multiphase and often you need a pretty small timestep.

ghorrocks March 6, 2013 18:15

There is a FAQ on floating point exception error which is useful here: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F


All times are GMT -4. The time now is 09:37.