CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

The Solver Failed with a non zero exit code of 2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2024, 17:36
Default The Solver Failed with a non zero exit code of 2
  #1
New Member
 
Stacy Magrath
Join Date: Apr 2024
Posts: 1
Rep Power: 0
helpagurlout is on a distinguished road
I am trying to simulate a NACA0012 airfoil 2D. I have 8 logical processors. I tried with 4 hoping that would help as has year ago but not now. I really need help. I have copied and pasted what CFX solver produced :

This run of the CFX 2023 R1 Solver started at 21:17:22 on 06 Apr 2024
by user o2-azoui on STU-CZC8208KCC (intel_xeon64.sse2_winnt) using the
command:

"C:\Program Files\ANSYS Inc\v231\CFX\bin\perllib\cfx5solve.pl" -batch
-ccl runInput.ccl -fullname "1 NACA 0012 Square Domain_002"

2023 R1

Point Releases and Patches installed:
ANSYS, Inc. License Manager 2023 R1
Discovery 2023 R1
SpaceClaim 2023 R1
Ansys Sherlock 2023 R1
Autodyn 2023 R1
LS-DYNA 2023 R1
CFD-Post only 2023 R1
CFX (includes CFD-Post) 2023 R1
Chemkin 2023 R1
EnSight 2023 R1
FENSAP-ICE 2023 R1
Fluent (includes CFD-Post) 2023 R1
Polyflow (includes CFD-Post) 2023 R1
Forte (includes EnSight) 2023 R1
TurboGrid 2023 R1
ICEM CFD 2023 R1
Motion 2023 R1
Aqwa 2023 R1
Speos 2023 R1
Speos HPC 2023 R1
Speos for NX 2023 R1
optiSLang 2023 R1
Additive 2023 R1
Customization Files for User Programmable Features 2023 R1
Mechanical Products 2023 R1
Material Calibration App 2023 R1
Icepak (includes CFD-Post) 2023 R1
Remote Solve Manager Standalone Services 2023 R1
Ansys Sound - SAS 2023 R1
Viewer 2023 R1
ACIS Geometry Interface 2023 R1
AutoCAD Geometry Interface 2023 R1
Catia, Version 4 Geometry Interface 2023 R1
Catia, Version 5 Geometry Interface 2023 R1
Catia, Version 6 Geometry Interface 2023 R1
Creo Elements/Direct Modeling Geometry Interface 2023 R1
Creo Parametric Geometry Interface 2023 R1
Inventor Geometry Interface 2023 R1
JTOpen Geometry Interface 2023 R1
NX Geometry Interface 2023 R1
Parasolid Geometry Interface 2023 R1
Solid Edge Geometry Interface 2023 R1
SOLIDWORKS Geometry Interface 2023 R1

Setting up CFX Solver run ...


+--------------------------------------------------------------------+
| |
| CFX Command Language for Run |
| |
+--------------------------------------------------------------------+

LIBRARY:
MATERIAL: Air Ideal Gas
Material Description = Air Ideal Gas (constant Cp)
Material Group = Air Data, Calorically Perfect Ideal Gases
Option = Pure Substance
Thermodynamic State = Gas
PROPERTIES:
Option = General Material
EQUATION OF STATE:
Molar Mass = 28.96 [kg kmol^-1]
Option = Ideal Gas
END
SPECIFIC HEAT CAPACITY:
Option = Value
Specific Heat Capacity = 1.0044E+03 [J kg^-1 K^-1]
Specific Heat Type = Constant Pressure
END
REFERENCE STATE:
Option = Specified Point
Reference Pressure = 1 [atm]
Reference Specific Enthalpy = 0. [J/kg]
Reference Specific Entropy = 0. [J/kg/K]
Reference Temperature = 25 [C]
END
DYNAMIC VISCOSITY:
Dynamic Viscosity = 1.831E-05 [kg m^-1 s^-1]
Option = Value
END
THERMAL CONDUCTIVITY:
Option = Value
Thermal Conductivity = 2.61E-2 [W m^-1 K^-1]
END
ABSORPTION COEFFICIENT:
Absorption Coefficient = 0.01 [m^-1]
Option = Value
END
SCATTERING COEFFICIENT:
Option = Value
Scattering Coefficient = 0.0 [m^-1]
END
REFRACTIVE INDEX:
Option = Value
Refractive Index = 1.0 [m m^-1]
END
END
END
END
FLOW: Flow Analysis 1
SOLUTION UNITS:
Angle Units = [rad]
Length Units = [m]
Mass Units = [kg]
Solid Angle Units = [sr]
Temperature Units = [K]
Time Units = [s]
END
ANALYSIS TYPE:
Option = Steady State
EXTERNAL SOLVER COUPLING:
Option = None
END
END
DOMAIN: Default Domain
Coord Frame = Coord 0
Domain Type = Fluid
Location = B32
BOUNDARY: Inlet
Boundary Type = INLET
Location = Inlet
BOUNDARY CONDITIONS:
FLOW REGIME:
Option = Subsonic
END
HEAT TRANSFER:
Option = Static Temperature
Static Temperature = 288 [K]
END
MASS AND MOMENTUM:
Normal Speed = 51 [m s^-1]
Option = Normal Speed
END
TURBULENCE:
Option = Medium Intensity and Eddy Viscosity Ratio
END
END
END
BOUNDARY: Opening
Boundary Type = OPENING
Location = Bottom,Top
BOUNDARY CONDITIONS:
FLOW REGIME:
Option = Subsonic
END
HEAT TRANSFER:
Opening Temperature = 288 [K]
Option = Opening Temperature
END
MASS AND MOMENTUM:
Option = Entrainment
Relative Pressure = 0 [Pa]
END
TURBULENCE:
Option = Zero Gradient
END
END
END
BOUNDARY: Outlet
Boundary Type = OUTLET
Location = Outlet
BOUNDARY CONDITIONS:
FLOW REGIME:
Option = Subsonic
END
MASS AND MOMENTUM:
Option = Average Static Pressure
Pressure Profile Blend = 0.05
Relative Pressure = 0 [Pa]
END
PRESSURE AVERAGING:
Option = Average Over Whole Outlet
END
END
END
BOUNDARY: Symmetry
Boundary Type = SYMMETRY
Location = Symmetry 2,Symmetry 1
END
BOUNDARY: Wall
Boundary Type = WALL
Location = Wall
BOUNDARY CONDITIONS:
HEAT TRANSFER:
Option = Adiabatic
END
MASS AND MOMENTUM:
Option = No Slip Wall
END
WALL ROUGHNESS:
Option = Smooth Wall
END
END
END
DOMAIN MODELS:
BUOYANCY MODEL:
Option = Non Buoyant
END
DOMAIN MOTION:
Option = Stationary
END
MESH DEFORMATION:
Option = None
END
REFERENCE PRESSURE:
Reference Pressure = 101325 [Pa]
END
END
FLUID DEFINITION: Fluid 1
Material = Air Ideal Gas
Option = Material Library
MORPHOLOGY:
Option = Continuous Fluid
END
END
FLUID MODELS:
COMBUSTION MODEL:
Option = None
END
HEAT TRANSFER MODEL:
Include Viscous Work Term = True
Option = Total Energy
END
THERMAL RADIATION MODEL:
Option = None
END
TURBULENCE MODEL:
Option = SST
END
TURBULENT WALL FUNCTIONS:
High Speed Model = Off
Option = Automatic
END
END
END
OUTPUT CONTROL:
RESULTS:
File Compression Level = Default
Option = Standard
END
END
SOLVER CONTROL:
Turbulence Numerics = First Order
ADVECTION SCHEME:
Option = High Resolution
END
CONVERGENCE CONTROL:
Length Scale Option = Conservative
Maximum Number of Iterations = 100
Minimum Number of Iterations = 1
Timescale Control = Auto Timescale
Timescale Factor = 1.0
END
CONVERGENCE CRITERIA:
Residual Target = 0.000001
Residual Type = RMS
END
DYNAMIC MODEL CONTROL:
Global Dynamic Model Control = On
END
INTERRUPT CONTROL:
Option = Any Interrupt
CONVERGENCE CONDITIONS:
Option = Default Conditions
END
END
END
END
COMMAND FILE:
Version = 23.1
Results Version = 23.1
END
SIMULATION CONTROL:
EXECUTION CONTROL:
EXECUTABLE SELECTION:
Double Precision = Yes
Large Problem = No
END
INTERPOLATOR STEP CONTROL:
Runtime Priority = Standard
MEMORY CONTROL:
Memory Allocation Factor = 1.0
Option = Model Based
END
END
PARALLEL HOST LIBRARY:
HOST DEFINITION: stuczc8208kcc
Remote Host Name = STU-CZC8208KCC
Host Architecture String = winnt-amd64
Installation Root = C:\Program Files\ANSYS Inc\v%v\CFX
END
END
PARTITIONER STEP CONTROL:
Multidomain Option = Automatic
Runtime Priority = Standard
MEMORY CONTROL:
Memory Allocation Factor = 1.0
Option = Model Based
END
PARTITION SMOOTHING:
Maximum Partition Smoothing Sweeps = 100
Option = Smooth
END
PARTITIONING TYPE:
MeTiS Type = k-way
Option = MeTiS
Partition Size Rule = Automatic
Partition Weight Factors = 0.25000, 0.25000, 0.25000, 0.25000
END
END
RUN DEFINITION:
Run Mode = Full
Solver Input File = 1 NACA 0012 Square Domain.def
Solver Results File = F:/ CFD DISS/Smooth NACA 0012 Validation \
Model Process_pending/dp0_CFX_3_Solution_3/1 NACA 0012 Square \
Domain_002.res
END
SOLVER STEP CONTROL:
Runtime Priority = Standard
MEMORY CONTROL:
Memory Allocation Factor = 1.0
Option = Model Based
END
PARALLEL ENVIRONMENT:
Number of Processes = 4
Start Method = Intel MPI Local Parallel
Parallel Host List = stuczc8208kcc*4
END
END
END
END


+--------------------------------------------------------------------+
| |
| Partitioning |
| |
+--------------------------------------------------------------------+




+--------------------------------------------------------------------+
| |
| ANSYS(R) CFX(R) Partitioner |
| |
| 2023 R1 |
| Build 23.1 2022-11-25T14:31:12.124816 |
| Fri Nov 25 16:56:29 GMTST 2022 |
| |
| Executable Attributes |
| |
| double-64bit-int32-archfort-optimised-std-lcomp |
| |
| (C) 1996-2023 ANSYS, Inc. |
| |
| All rights reserved. Unauthorized use, distribution or duplication |
| is prohibited. This product is subject to U.S. laws governing |
| export and re-export. For full Legal Notice, see documentation. |
+--------------------------------------------------------------------+




+--------------------------------------------------------------------+
| Job Information at Start of Run |
+--------------------------------------------------------------------+

Run mode: partitioning run

Host computer: STU-CZC8208KCC (PID:656)

Job started: Sat Apr 6 21:17:32 2024

+--------------------------------------------------------------------+
| License Information |
+--------------------------------------------------------------------+

License Cap: ANSYS CFD Solver
License ID: STU-CZC8208KCC_campus_ads_uwe_ac_uk-o2-azoui-15440-000810

License Cap: ANSYS HPC Parallel
License ID: STU-CZC8208KCC_campus_ads_uwe_ac_uk-o2-azoui-15440-000823

INFO: You are using an academic license.


+--------------------------------------------------------------------+
| Initial Memory Allocation (Actual usage may vary) |
+--------------------------------------------------------------------+

| Real | Integer | Character | Logical | Double
----------+------------+------------+-----------+----------+----------
Mwords | 8.60 | 167.72 | 8.85 | 0.12 | 0.00
Mbytes | 65.63 | 639.80 | 8.44 | 0.46 | 0.00
----------+------------+------------+-----------+----------+----------


+--------------------------------------------------------------------+
| Host Memory Information (Mbytes): Partitioner |
+--------------------------------------------------------------------+
| Host | System | Allocated | % |
+-------------------------+----------------+----------------+--------+
| STU-CZC8208KCC | 32647.21 | 714.33 | 2.19 |
+-------------------------+----------------+----------------+--------+

+--------------------------------------------------------------------+
| The MeTiS partitioning method allocates additional memory. |
| Total memory usage will therefore exceed the values shown above. |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Topology Simplification |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ****** Warning ****** |
| |
| Topology simplification is activated with the following |
| restrictions: |
| |
| - Mesh regions referenced only within User Fortran and NOT |
| in the command file will cause the solver to stop. |
| - The solver will stop during any "Edit Run in Progress" step |
| if new 2D regions are referenced. |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Mesh Statistics |
+--------------------------------------------------------------------+

Domain Name : Default Domain

Total Number of Nodes = 1701406

Total Number of Elements = 9611401
Total Number of Tetrahedrons = 9536911
Total Number of Prisms = 74490

Total Number of Faces = 265544

+--------------------------------------------------------------------+
| Vertex Based Partitioning |
+--------------------------------------------------------------------+

Partitioning of domain: Default Domain

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| SYMASS_ZONE_EL : The solver ran out of temporary space while buil- |
| ding a linked list for a domain. Try setting the expert paramete- |
| r "topology estimate factor" to a value greater than 1.0. Values |
| higher than 1.2 should not be necessary. |
| |
| |
+--------------------------------------------------------------------+

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

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX partitioner exited with return code 1. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| F:/CFD DISS/Smooth NACA 0012 Validation Model |
| Process_pending/dp0_CFX_3_Solution_3/1 NACA 0012 Square |
| Domain_002: |
| |
| trace |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| For CFX runs launched from Workbench, the final locations of |
| directories and files generated may differ from those shown. |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
helpagurlout is offline   Reply With Quote

Old   October 28, 2024, 23:08
Default
  #2
New Member
 
BenjaminWright
Join Date: Oct 2024
Posts: 1
Rep Power: 0
BenjaminWright is on a distinguished road
I can help you understand the error message you received from your CFX simulation and suggest some solutions to get it running with all 8 logical processors.

Error Analysis:

The error message indicates that the solver encountered a problem during the partitioning stage. Here's a breakdown:
slither io
Error Code: ERROR #001100279
Location: Subroutine ErrAction
Message:
The solver ran out of temporary space while building a linked list for a domain.
It suggests increasing the "topology estimate factor" to a value greater than 1.0 (ideally not exceeding 1.2).
Possible Solutions:

Increase "Topology Estimate Factor":

This is the recommended first step. In your CFX settings, locate the "expert parameter" named "topology estimate factor" and increase it from 1.0 to a value between 1.1 and 1.2. This allocates more temporary space for the solver during partitioning.

Simplify Mesh (if possible):

The warning message mentions potential issues with mesh regions. If your mesh is very complex, consider simplifying it (reducing the number of elements) to potentially reduce memory requirements.

Reduce Number of Processors (Temporarily):

While using all 8 processors might be ideal, try running the simulation with fewer processors initially (e.g., 4 or 2). This can help if the memory bottleneck is causing the issue. Once the partitioning completes successfully, you can potentially increase the processors again.

Check Available Memory:

Ensure your system has sufficient physical memory (RAM) available for the simulation. If memory is limited, consider closing unnecessary applications before running the simulation.
BenjaminWright is offline   Reply With Quote

Reply

Tags
ansys, cfd, cfx


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
GAMG crash fxzf OpenFOAM Running, Solving & CFD 6 June 5, 2018 06:09
Coupling to external code using MPI calls from within a solver Regis_ OpenFOAM Programming & Development 0 October 31, 2017 11:50
The solver failed with a non-zero exit code of : 2 paul115 CFX 11 October 30, 2017 23:14
ansys solver terminated with returne code -1 raj.091603.bme CFX 1 February 13, 2014 11:52
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 18:26.