Non-Zero exit code of: 2
Hi guys,
I was wondering if anyone can help me, i get the following error code when trying to run my simulation in CFX: 'update failed for the Solution componen in Fluid Flow (CFX). The solver failed with a non-zero exit code of: 2' With the following infromation in the details section: Ansys.Addins.Infrastructure.Exceptions.UserReadabl eUpdateFailureException: The solver failed with a non-zero exit code of : 2 at Ansys.Addins.Infrastructure.Solving.Data.SolverTas k.Reconnect(IFullContext context, Boolean callingFromStopCommand) at Ansys.Addins.Infrastructure.Solving.Data.SolverTas k.Reconnect(IFullContext context) at Ansys.Addins.Infrastructure.Solving.Data.SolverTas k.WaitForFinish(IFullContext context, Boolean allowBreakWait) at Ansys.Addins.Infrastructure.Solving.Data.SolverTas k.Start(IFullContext context, ICanStartSolverTask startObject, SolverTaskStartTag startTag, SolverTaskSandboxInformation sandboxInformation, SolverTaskSecInformation secInputInformation) at Ansys.Addins.Infrastructure.Solving.SolverTaskObje cts.SolverTaskUpdateStarter.StartUpdate(ICanStartS olverTask startObject, SolutionSettingsEntity solutionSettings, UpdateOptions updateOptions) at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver (IFullContext context, Boolean forceResume, UpdateOptions updateOptions) at Ansys.CFX.CFXCore.Commands.UpdateSolutionCommand.E xecute(IFullContext context) at Ansys.Core.Commands.Concurrency.CommandWorkUnit.ex ecuteInContext(CommandContext subContext, IExecutionEngineCallback tracer) at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext) at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions) --- Ansys.Core.Commands.CommandFailedException: The solver failed with a non-zero exit code of : 2 CommandName: CFX.UpdateSolution(Container="Solution", UpdateOptions=Set(HeldLicenseId=None, LicenseStatsId="21da957d7f104b828bdb39cc5d5fa388", DesignPointUpdateSolveManager=None, DesignPointUpdateQueue=None, MaxNumberOfCores=1)) at Ansys.Core.Commands.CommandAsyncResult.WaitForSusp endOrComplete(Int32 milliSecondsTimeout, Boolean exitContext) at Ansys.ProjectSchematic.Data.ComponentTemplateEntit y.Update(IFullContext context, IProgressMonitor progressMonitor, DataContainerReference container, String dataGroup, UpdateOptions updateOptions, IEnumerable`1 downstream, IEnumerable`1 allRemaining) at Ansys.ProjectSchematic.Update.UpdateTask.Update(IF ullContext context, IProgressMonitor progressMonitor, UpdateOptions updateOptions, IEnumerable`1 downstream, IEnumerable`1 allRemaining) at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponent(IFullContext context, UpdateTask task, String trackToken) at Ansys.ProjectSchematic.Update.UpdateImpl.<>c__Disp layClass4d.<updateComponentAndDependencies>b__4b() at Ansys.ProjectSchematic.Update.UpdateImpl.executeWi thSelectedErrorBehaviour(Op op, UpdateTask forTask, Op opUponError) at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponentAndDependencies(UpdateTask task, Boolean& didSomething) at Ansys.ProjectSchematic.Update.UpdateImpl.checkAndU pdateComponent(UpdateTask task, Boolean& didSomething) at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething) --- Ansys.Core.Commands.UserReadableFailureException: Update failed for the Solution component in Fluid Flow (CFX). The solver failed with a non-zero exit code of : 2 at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething) at Ansys.ProjectSchematic.Update.UpdateImpl.<UpdateCo mponents>d__2a.MoveNext() at Ansys.ProjectSchematic.Commands.UpdateComponentCom mand.<Execute>d__0.MoveNext() at Ansys.Core.Commands.Concurrency.SuspendableCommand WorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer) at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext) at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions) --- Ansys.Core.Commands.CommandFailedException: Update failed for the Solution component in Fluid Flow (CFX). The solver failed with a non-zero exit code of : 2 CommandName: UpdateComponent(Component="/Schematic/Component:Solution", AllDependencies=True) at Ansys.Core.Commands.CommandAsyncResult.WaitForSusp endOrComplete(Int32 milliSecondsTimeout, Boolean exitContext) at Ansys.ProjectSchematic.GuiOperations.UpdateCompone nt.Invoke(GuiOperationContext context) at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMe taData operationData) at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction) I cant find any information on it anywhere, and as a very novice user of ANSYS, I dont really understand what it means. I went to see my professor at uni and he hadnt seen it before either. I was wondering if anyone could be of assistance? Cheers! |
What does the solver output file say? That usually shows a much clearer error message, and is usually is more helpful than the details, which are very verbose.
|
This is the message from the solver:
Error interpolating results onto the new mesh: C:\Program | | Files\ANSYS Inc\v150\CFX\bin\winnt-amd64\solver-pcmpi.exe exited | | with return code 1. |
So now you have something to target - it is the interpolation of results step. But we cannot tell what based on the sketchy information you have provided so far.
|
Similar error
Hi people, I have a similar error finished with 1 and 2 but maybe because other reasons not talked before:
ERROR #002100011 has occurred in subroutine cVolSec. Message: A negative SECTOR volume has been detected. Execution will proceed ERROR #001100279 has occurred in subroutine ErrAction. Message: Floating point exception: Invalid number ERROR #001100279 has occurred in subroutine ErrAction. Message: Stopped in routine FPX: C_FPX_HANDLERI have different geometries inside the problem to solve: When I apply interface boundary condition between a curved volume of fluid and a curved volume of solid I get this error. When I say to CFX that they are just walls the solver runs. Maybe it is a problem of the mesh but It is quite smooth. Any help please?? Thank you! |
If you got this because of a moving mesh simulation: This is an FAQ: http://www.cfd-online.com/Wiki/Ansys..._went_wrong.3F
If you got this otherwise: In ICEM if you smooth a mesh too much you can turn some elements inside out. You will have to remesh it in ICEM, but make sure you do not smooth the mesh too much again. |
Thank you ghorrocks, It is a static mesh. I tried with a coarser mesh, more automatic and not so tunned by me and now it works. The point is I didn't understand why that happened but with your answer I guess I found the solution :-)
|
Same problem
ERROR #333100220 has occurred in subroutine Out_Memory. |
| Message: | | | | The allocated memory exceeds the system memory on 1 host(s). | | | | The logical expert parameter "enforce system memory limit" | | controls whether this is a fatal error. | | | | The current setting is: fatal | | | | Allocating more than the system memory may result in slow or | | unreliable operation and is not recommended. |
No it is not the same error. Your problem is simply you have run out of memory in your workstation. You can either:
* Get more memory * Use distributed parallel to share it across several workstations * Make the simulation smaller * Buy some time on cloud computing like AWS to run it |
Update failed for the Solution component in Fluid Flow (CFX). The solver failed with a non-zero exit code of : 2
how can ı solve that porblem ?? it so emergency |
Quote:
Quote:
Here on the forum we are all volunteers and we help people when we can. If you need urgent help talk to ANSYS Support as that is what you pay them for. |
+--------------------------------------------------------------------+
| License Information | +--------------------------------------------------------------------+ License Cap: ANSYS CFX Solver (> 512K Nodes) License Cap: ANSYS CFX Solver (Introductory) ANSYS LICENSE MANAGER ERROR Capability CFX Solver does not exist in the ANSYS licensing pool. No specified user or site license preferences match available products in the specified lice nse path: ANSYSLI_SERVERS: FLEXlm Servers: C:\Program Files\ANSYS Inc\ ANSYS Student\Shared Files\Licensing\student.lic License ID: License checkout failed. Capability CFX Solver does not exist in the ANSYS licensing pool. No specified user or site license preferences match available products in the specified lice nse path: ANSYSLI_SERVERS: FLEXlm Servers: C:\Program Files\ANSYS Inc\ ANSYS Student\Shared Files\Licensing\student.lic +--------------------------------------------------------------------+ | ERROR #001100247 has occurred in subroutine . | | Message: | | | | The solver is unable to continue because of licensing problems. | | | | A license for the following capability level could not be checked | | out: | | | | ANSYS CFX Solver (Introductory) | | | | Please carefully examine the error message output above and check | | that: | | | | 1) The license server is specified correctly and is running. | | | | 2) An appropriate license is available for checking out. | | | | These problems can be checked using the ANSYS Client ANSLIC_ADMIN | | utility. For further troubleshooting information please consult | | ANSYS, Inc. Licensing Guide. | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | The ANSYS CFX solver exited with return code 1. No results file | | has been created. | +--------------------------------------------------------------------+ End of solution stage. +--------------------------------------------------------------------+ | 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. okey. please tell me. how can ı solve |
Have you read the message? It tells you exactly what the problem is. It could not find a license.
Also: Please do not post duplicate posts on multiple threads. Just post a question once. I have deleted the duplicate posts. |
look. ı can understand you. you told it is not found licence. but ı have stundent licence. okey. no problem until here. now how can ı solve that problem ?
|
Check that your license server is working. Can you run a tutorial example?
Be aware that the student version has restrictions. I think there is a maximum number of nodes it can handle. Check your model does not have more than the maximum number of nodes. |
I am Facing the same error
Hi,
I am doing pressure loss calculation of a valve in CFX and getting an error in the output file as An error has occurred in cfx5solve: | | | | The ANSYS CFX solver exited with return code 1. No results file | | has been created. | +--------------------------------------------------------------------+ End of solution stage. Can anyone help me to fix this?... Thank You. |
You cannot debug CFX error messages from the error code alone. You need to read it in context of what you are doing.
Please post your output file and an image of what you are doing. And as this has nothing to do with the rest of this thread please start a new thread for a new question. |
Quote:
|
I encountered this problem and solved it
The solution is that the interfering surface must be completely adherent to the other surface If it is a rotating part, for example a wind turbine, any opening in which there are elements and nodes connected to the rotating part must be closed Anyone who needs to contact me directly WhatsApp +9647709692770 |
All times are GMT -4. The time now is 21:58. |