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

CFX error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2017, 07:54
Default CFX error
  #1
New Member
 
Join Date: May 2017
Posts: 14
Rep Power: 9
RyanBari is on a distinguished road
Hi there
Anybody can help me to solve this problem:
"Update failed for the Solution component in Fluid Flow (CFX). The solver failed with a non-zero exit code of : 2"
When I finished setup part of workbench and I wanted to update the solution I encountered this problem.
I searched about this problem on the Internet but I didn't find any useful instruction.
In addition, the software I'm working is CFX
Best regards
RyanBari is offline   Reply With Quote

Old   June 19, 2017, 04:00
Default
  #2
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
read the out-file.
or post it here (complete out file in CODE environment or attachment)
-Maxim- is offline   Reply With Quote

Old   April 26, 2018, 05:15
Default Out file-same problem
  #3
New Member
 
Join Date: Nov 2016
Posts: 16
Rep Power: 10
kites is on a distinguished road
+--------------------------------------------------------------------+
| |
| CFX Command Language Upgrade |
| |
+--------------------------------------------------------------------+

Added /SIMULATION CONTROL/EXECUTION CONTROL/EXECUTABLE SELECTION/Double
Precision = Off.


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

LIBRARY:
CEL:
EXPRESSIONS:
HydroP = fluidDen*g*(fluidHt-y)*fluidVF
fluidDen = 998[kg m^-3]
fluidHt = 0.00565[m]
fluidVF = if(y<fluidHt,1,0)*if(y>-0.0103[m],1,0)
END
END
MATERIAL: Air at 25 C
Material Description = Air at 25 C and 1 atm (dry)
Material Group = Air Data, Constant Property Gases
Option = Pure Substance
Thermodynamic State = Gas
PROPERTIES:
Option = General Material
EQUATION OF STATE:
Density = 1.185 [kg m^-3]
Molar Mass = 28.96 [kg kmol^-1]
Option = Value
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-02 [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
THERMAL EXPANSIVITY:
Option = Value
Thermal Expansivity = 0.003356 [K^-1]
END
END
END
MATERIAL: Water
Material Description = Water (liquid)
Material Group = Water Data, Constant Property Liquids
Option = Pure Substance
Thermodynamic State = Liquid
PROPERTIES:
Option = General Material
EQUATION OF STATE:
Density = 997.0 [kg m^-3]
Molar Mass = 18.02 [kg kmol^-1]
Option = Value
END
SPECIFIC HEAT CAPACITY:
Option = Value
Specific Heat Capacity = 4181.7 [J kg^-1 K^-1]
Specific Heat Type = Constant Pressure
END
REFERENCE STATE:
Option = Specified Point
Reference Pressure = 1 [atm]
Reference Specific Enthalpy = 0.0 [J/kg]
Reference Specific Entropy = 0.0 [J/kg/K]
Reference Temperature = 25 [C]
END
DYNAMIC VISCOSITY:
Dynamic Viscosity = 8.899E-4 [kg m^-1 s^-1]
Option = Value
END
THERMAL CONDUCTIVITY:
Option = Value
Thermal Conductivity = 0.6069 [W m^-1 K^-1]
END
ABSORPTION COEFFICIENT:
Absorption Coefficient = 1.0 [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
THERMAL EXPANSIVITY:
Option = Value
Thermal Expansivity = 2.57E-04 [K^-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 = Transient
EXTERNAL SOLVER COUPLING:
Option = None
END
INITIAL TIME:
Option = Automatic with Value
Time = 0 [s]
END
TIME DURATION:
Option = Total Time
Total Time = 20 [s]
END
TIME STEPS:
Option = Timesteps
Timesteps = 0.01 [s]
END
END
DOMAIN: Default Domain
Coord Frame = Coord 0
Domain Type = Fluid
Location = B7
BOUNDARY: inlet
Boundary Type = SYMMETRY
Location = inlet
END
BOUNDARY: outlet
Boundary Type = SYMMETRY
Location = outlet
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:
Buoyancy Reference Density = 1.185 [kg m^-3]
Gravity X Component = 0 [m s^-2]
Gravity Y Component = -9.81 [m s^-2]
Gravity Z Component = 0 [m s^-2]
Option = Buoyant
BUOYANCY REFERENCE LOCATION:
Option = Automatic
END
END
DOMAIN MOTION:
Option = Stationary
END
MESH DEFORMATION:
Option = None
END
REFERENCE PRESSURE:
Reference Pressure = 1 [atm]
END
END
FLUID DEFINITION: Air
Material = Air at 25 C
Option = Material Library
MORPHOLOGY:
Option = Continuous Fluid
END
END
FLUID DEFINITION: Water
Material = Water
Option = Material Library
MORPHOLOGY:
Option = Continuous Fluid
END
END
FLUID MODELS:
COMBUSTION MODEL:
Option = None
END
FLUID: Air
FLUID BUOYANCY MODEL:
Option = Density Difference
END
END
FLUID: Water
FLUID BUOYANCY MODEL:
Option = Density Difference
END
END
HEAT TRANSFER MODEL:
Homogeneous Model = True
Include Viscous Work Term = True
Option = Total Energy
END
THERMAL RADIATION MODEL:
Option = None
END
TURBULENCE MODEL:
Option = k epsilon
BUOYANCY TURBULENCE:
Option = None
END
END
TURBULENT WALL FUNCTIONS:
High Speed Model = Off
Option = Scalable
END
END
FLUID PAIR: Air | Water
Surface Tension Coefficient = 0.072 [N m^-1]
INTERPHASE TRANSFER MODEL:
Option = None
END
MASS TRANSFER:
Option = None
END
END
MULTIPHASE MODELS:
Homogeneous Model = On
FREE SURFACE MODEL:
Option = None
END
END
END
INITIALISATION:
Option = Automatic
FLUID: Air
INITIAL CONDITIONS:
VOLUME FRACTION:
Option = Automatic with Value
Volume Fraction = 1-fluidVF
END
END
END
FLUID: Water
INITIAL CONDITIONS:
VOLUME FRACTION:
Option = Automatic with Value
Volume Fraction = fluidVF
END
END
END
INITIAL CONDITIONS:
Velocity Type = Cartesian
CARTESIAN VELOCITY COMPONENTS:
Option = Automatic with Value
U = 3 [m s^-1]
V = 4 [m s^-1]
W = 2 [m s^-1]
END
STATIC PRESSURE:
Option = Automatic with Value
Relative Pressure = HydroP
END
TEMPERATURE:
Option = Automatic
END
TURBULENCE INITIAL CONDITIONS:
Option = Medium Intensity and Eddy Viscosity Ratio
END
END
END
OUTPUT CONTROL:
RESULTS:
File Compression Level = Default
Option = Standard
END
TRANSIENT RESULTS: Transient Results 1
File Compression Level = Default
Option = Standard
OUTPUT FREQUENCY:
Option = Timestep Interval
Timestep Interval = 2
END
END
END
SOLVER CONTROL:
Turbulence Numerics = First Order
ADVECTION SCHEME:
Option = High Resolution
END
CONVERGENCE CONTROL:
Maximum Number of Coefficient Loops = 10
Minimum Number of Coefficient Loops = 1
Timescale Control = Coefficient Loops
END
CONVERGENCE CRITERIA:
Residual Target = 1.E-4
Residual Type = RMS
END
TRANSIENT SCHEME:
Option = Second Order Backward Euler
TIMESTEP INITIALISATION:
Option = Automatic
END
END
END
END
COMMAND FILE:
Version = 16.0
Results Version = 16.0
END
SIMULATION CONTROL:
EXECUTION CONTROL:
EXECUTABLE SELECTION:
Double Precision = No
END
PARALLEL HOST LIBRARY:
HOST DEFINITION: desktop8drf1pf
Remote Host Name = DESKTOP-8DRF1PF
Installation Root = C:\Program Files\ANSYS Inc\v%v\CFX
Host Architecture String = winnt-amd64
END
END
RUN DEFINITION:
Solver Input File = sloshing cylindrical 2d.def
Run Mode = Full
Solver Results File = D:/Desktop files/sloshing full 2d/sloshing full \
2d_pending/dp0_CFX_1_Solution_1/sloshing cylindrical 2d_001.res
END
SOLVER STEP CONTROL:
PARALLEL ENVIRONMENT:
Start Method = Serial
END
END
END
END


+--------------------------------------------------------------------+
| |
| Solver |
| |
+--------------------------------------------------------------------+




+--------------------------------------------------------------------+
| |
| ANSYS(R) CFX(R) Solver |
| |
| Release 16.0 |
| Build 16.0 2014.11.14-23.10-133146 |
| Fri Nov 14 23:52:10 GMTST 2014 |
| |
| Executable Attributes |
| |
| single-64bit-int32-supfort-optimised-noprof-lcomp |
| |
| (C) 2014 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: serial run

Host computer: DESKTOP-8DRF1PF (PID:4596)

Job started: Wed Apr 25 08:30:21 2018

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

License Cap: ANSYS CFX Solver (Max 128K Nodes)
License ID: DESKTOP-8DRF1PF-user-14296-010283


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

| Real | Integer | Character | Logical | Double
----------+------------+------------+-----------+----------+----------
Mwords | 34.90 | 2.12 | 4.01 | 0.12 | 0.07
Mbytes | 133.14 | 8.11 | 3.82 | 0.46 | 0.52
----------+------------+------------+-----------+----------+----------


+--------------------------------------------------------------------+
| Host Memory Information (Mbytes) |
+--------------------------------------------------------------------+
| Host | System | Allocated | % |
+-------------------------+----------------+----------------+--------+
| DESKTOP-8DRF1PF | 3962.68 | 146.04 | 3.69 |
+-------------------------+----------------+----------------+--------+


+--------------------------------------------------------------------+
| ****** Notice ****** |
| The Wall Heat Transfer Coefficient written to the results file for |
| any turbulent phase with heat transfer is based on the turbulent |
| wall function coefficient. It is consistent with the Wall Heat Flux|
| the wall temperature, and the Wall Adjacent Temperature |
| (near-wall temperature). If you would like it to be based on a |
| user-specified bulk temperature instead, please set the expert |
| parameter "tbulk for htc = <value>". |
+--------------------------------------------------------------------+

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

Domain Name : Default Domain

Total Number of Nodes = 7662

Total Number of Elements = 5000
Total Number of Prisms = 6
Total Number of Hexahedrons = 4994

Total Number of Faces = 5218

+--------------------------------------------------------------------+
| Reference Pressure Information |
+--------------------------------------------------------------------+

Domain Group: Default Domain

Pressure has not been set at any boundary conditions.
The pressure will be set to 0.00000E+00 at the following location:
Domain : Default Domain
Node : 1 (equation 1)
Coordinates : (-1.17578E-02, 2.83495E-02, 0.00000E+00).

+--------------------------------------------------------------------+
| ****** Notice ****** |
| This is a multiphase simulation in a closed system. |
| A global correction will be applied to the volume fractions to |
| accelerate mass conservation. |
+--------------------------------------------------------------------+

Domain Group: Default Domain

Buoyancy has been activated. The absolute pressure will include
hydrostatic pressure contribution, using the following reference
coordinates: (-1.17578E-02, 2.83495E-02, 0.00000E+00).
+--------------------------------------------------------------------+
| |
| FATAL ERROR : |
| |
| Initial values are required for all variables in TRANSIENT runs. |
| In this simulation, no initial value was set for |
| |
| Variable : Water.Temperature |
| Domain : Default Domain |
| |
| The value can be set using the Initialisation Branch in CFX Pre. |
| |
| To bypass this message and use default solver initial values, |
| set the expert parameter "transient initialisation override = t" |
| |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver has terminated without writing a results |
| file. Command on host desktop8drf1pf (DESKTOP-8DRF1PF) exited |
| with return code 0. |
+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| D:/Desktop files/sloshing full 2d/sloshing full |
| 2d_pending/dp0_CFX_1_Solution_1/sloshing cylindrical 2d_001: |
| |
| mon |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| 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.
kites is offline   Reply With Quote

Old   April 26, 2018, 07:37
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
While there are a lot of error and warnings in this, the real problem is clearly this one:

Quote:
FATAL ERROR : |
| |
| Initial values are required for all variables in TRANSIENT runs. |
| In this simulation, no initial value was set for |
| |
| Variable : Water.Temperature |
| Domain : Default Domain |
| |
| The value can be set using the Initialisation Branch in CFX Pre.
You need to define a complete initial condition.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


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