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

Additional Command Language -in Workbench!

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2011, 09:51
Default Additional Command Language -in Workbench!
  #1
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
Good day to everyone.
I have a very simple question and unfortunately I did not find any help in the guides or in the customer portal.
I have some simulations that runs perfectly till the convergence. Unfortunately they work only if I use some Additional Command Language (in the Solver, in the Custom solver options I just use the command -ccl in the solver arguments).
My problem comes when I want to run some simulation with workbench ( I would ike to solve some GDO problem). If I try to run something with workbench, i don't have the possibility to use the ccl command and the simulations explode.
Is there a possibility to use Additional Command Language -ccl in workbench? Thanks.
If this question was already answered, the moderator can delete the topic.

p.s. I know I can run with batch mode, but I really would like to use the Workbench.
Elvira_Coot is offline   Reply With Quote

Old   July 11, 2011, 10:00
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 506
Rep Power: 11
stumpy is on a distinguished road
Turn on beta features in WB and then right-click and look at the Properties of the Solution cell in the project schematic.
stumpy is offline   Reply With Quote

Old   July 11, 2011, 10:47
Default
  #3
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
Hello Stumpy!

You mean that with CFX Beta it should work?
Elvira_Coot is offline   Reply With Quote

Old   July 11, 2011, 11:34
Default
  #4
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
I am using Workbench 13 SP2.
Beta are turned on (Tools, options, appearance,display, beta feature).
But when I try to edit the solution cell, I don't even see the fenster "solver arguments".
With or without beta.
Elvira_Coot is offline   Reply With Quote

Old   July 11, 2011, 12:16
Default
  #5
Senior Member
 
Join Date: Apr 2009
Posts: 506
Rep Power: 11
stumpy is on a distinguished road
If you right-click on the Solution cell in the project then select "Properties", you should see a "Solver Arguments" field where you can enter a full path and name to the CCL file.
stumpy is offline   Reply With Quote

Old   July 11, 2011, 15:37
Default
  #6
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
Thank you
It still does not work.
It does not even start,
Message:
Ansys.Core.Commands.UserReadableFailureException: The CFX Solver for system CFX did not produce a results file. No output file is available.
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.HandleRun Failure(IFullContext context, CFXSolverRun run)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.OnTaskRec onnect(IFullContext context, SolverTask task, CommandCancellationStatus interruptStatus)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Re connect(IFullContext context)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Wa itForFinish(IFullContext context, Boolean allowBreakWait)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.St art(IFullContext context, ICanStartSolverTask startObject, SolverTaskStartTag startTag)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver WithSolverTask(SolutionSettingsEntity solutionSettings, CFXJobDefinition cfxJobDef, CFXAppInfo cfxAppInfo, CUEAppArgList args, SolverIntermediateData solverData, Boolean forceResume, String runName, Boolean isMultiConfig)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver (IFullContext context, Boolean forceResume)
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 CFX Solver for system CFX did not produce a results file. No output file is available.
CommandName: CFX.UpdateSolution(Container="Solution")
at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.Core.Commands.CommandAsyncResult.Wait()
at Ansys.ProjectSchematic.Data.ComponentTemplateEntit y.Update(IFullContext context, IProgressMonitor progressMonitor, DataContainerReference container, List`1 downstream, List`1 allRemaining)
at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponent(IFullContext context, UpdateTask task)
at Ansys.ProjectSchematic.Update.UpdateImpl.<>c__Disp layClass1d.<updateComponentAndDependencies>b__1c()
at Ansys.ProjectSchematic.Update.UpdateImpl.executeWi thSelectedErrorBehaviour(Op op, UpdateTask forTask)
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)
--- System.InvalidOperationException: Update of the Solution component in CFX failed: The CFX Solver for system CFX did not produce a results file. No output file is available.
at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething)
at Ansys.ProjectSchematic.Update.UpdateImpl.<UpdateCo mponents>d__3.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 of the Solution component in CFX failed: The CFX Solver for system CFX did not produce a results file. No output file is available.
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.UIManager.<>c__DisplayClassb.<InvokeOpera tion>b__a()
at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction)"

I sent it to the support, but I suppose I will get some answers in months..
Elvira_Coot is offline   Reply With Quote

Old   July 12, 2011, 09:49
Default
  #7
Senior Member
 
Join Date: Apr 2009
Posts: 506
Rep Power: 11
stumpy is on a distinguished road
Did you use a full path to the ccl file?
stumpy is offline   Reply With Quote

Old   July 12, 2011, 10:04
Default
  #8
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
In solver Arguments I wrote:
-ccl C:\Documents...\rules.ccl
I wrote the full path.
This is the message I got:

Ansys.Core.Commands.UserReadableFailureException: The CFX Solver for system prototype did not produce a results file. No output file is available.
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.HandleRun Failure(IFullContext context, CFXSolverRun run)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.OnTaskRec onnect(IFullContext context, SolverTask task, CommandCancellationStatus interruptStatus)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Re connect(IFullContext context)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Wa itForFinish(IFullContext context, Boolean allowBreakWait)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.St art(IFullContext context, ICanStartSolverTask startObject, SolverTaskStartTag startTag)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver WithSolverTask(SolutionSettingsEntity solutionSettings, CFXJobDefinition cfxJobDef, CFXAppInfo cfxAppInfo, CUEAppArgList args, SolverIntermediateData solverData, Boolean forceResume, String runName, Boolean isMultiConfig)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver (IFullContext context, Boolean forceResume)
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 CFX Solver for system prototype did not produce a results file. No output file is available.
CommandName: CFX.UpdateSolution(Container="Solution")
at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.Core.Commands.CommandAsyncResult.Wait()
at Ansys.ProjectSchematic.Data.ComponentTemplateEntit y.Update(IFullContext context, IProgressMonitor progressMonitor, DataContainerReference container, List`1 downstream, List`1 allRemaining)
at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponent(IFullContext context, UpdateTask task)
at Ansys.ProjectSchematic.Update.UpdateImpl.<>c__Disp layClass1d.<updateComponentAndDependencies>b__1c()
at Ansys.ProjectSchematic.Update.UpdateImpl.executeWi thSelectedErrorBehaviour(Op op, UpdateTask forTask)
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)
--- System.InvalidOperationException: Update of the Solution component in prototype failed: The CFX Solver for system prototype did not produce a results file. No output file is available.
at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething)
at Ansys.ProjectSchematic.Update.UpdateImpl.<UpdateCo mponents>d__3.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 of the Solution component in prototype failed: The CFX Solver for system prototype did not produce a results file. No output file is available.
CommandName: UpdateComponent(Component="/Schematic/Component:Solution", Force=True)
at Ansys.Core.Commands.CommandAsyncResult.WaitForSusp endOrComplete(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.CFX.CFXCore.Commands.UpdateFromSolverManager Gui.Invoke(GuiOperationContext context)
at Ansys.UI.UIManager.<>c__DisplayClassb.<InvokeOpera tion>b__a()
at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction)
Elvira_Coot is offline   Reply With Quote

Old   July 12, 2011, 10:37
Default
  #9
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
I have now a doubt..What do you mean with "full path"?
Thanks for your help
Elvira_Coot is offline   Reply With Quote

Old   July 12, 2011, 12:29
Default
  #10
Senior Member
 
Join Date: Apr 2009
Posts: 506
Rep Power: 11
stumpy is on a distinguished road
By full path I just meant what you had, C:/etc/etc/file.ccl. So you don't get that error when the ccl file is not set? And there's no .out file created? If so, them I'm afraid I'm out of ideas :-(
stumpy is offline   Reply With Quote

Old   July 12, 2011, 12:37
Default
  #11
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
without ccl file the simulation starts, but then it diverges.
With the rules on the solver manager the workbench does not start. I don't even get an out file.


I tried everthing, that's pity.
I think I have to give up the idea of using this workbench.
I can't use ccl, to use Icem is also quite difficult if I wanna perform GDO...I'm starting to think that workbench is not the ideal software if you wanna do some real simulation and not the flow in a static mixer. A good argument for the next ansys meeting.

That's it.
Thanks for your help

Last edited by Elvira_Coot; July 12, 2011 at 12:58.
Elvira_Coot is offline   Reply With Quote

Old   July 14, 2011, 02:32
Default
  #12
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
Elvira_Coot is on a distinguished road
Is there something in the documentation that can help me?
I am lost in the customer portal...
Elvira_Coot is offline   Reply With Quote

Reply

Tags
ccl addional command, optimization, workbench

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 236 December 10, 2014 16:06
PEM Fuel cell module meshes. ICEM vs workbench aarvay FLUENT 16 September 15, 2014 11:21
[ANSYS Meshing] Workbench 13: Structured Hexa Meshes rooftop ANSYS Meshing & Geometry 18 May 13, 2014 04:57
emag beta feature: charge density charlotte CFX 4 March 22, 2011 11:14
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 00:05.