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

Execute commands through the AAS Toolbox

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2019, 05:30
Default Execute commands through the AAS Toolbox
  #1
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7
Xabierenko is on a distinguished road
Hi! So I have been trying to add the execution of a couple of commands from Matlab making use of the AAS Toolbox. I basically copied the structure that you input in the TUI command prompt on fluent but when I put it in Matlab it doesn't work.

These are the couple of commands that need to be executed which when introduced on the TUI command prompt work perfectly:
Code:
solve/execute-commands/add-edit a 41 "time-step" "define/boundary-conditions/zone-type wall) 7 pressure-outlet"
solve/execute-commands/add-edit b 41 "time-step" "define/boundary-conditions/pressure-outlet mv yes no 1067 no yes yes no no no"
But when I try to do the same on MATLAB i just get an error which in my experience doesn't make any sense since I'm just sending a TUI command to fluent which works properly when directly typing it on Fluent:
Code:
iFluentTuiInterpreter.doMenuCommandToString(['solve/execute-commands/add-edit a 41 "time-step" "define/boundary-conditions/zone-type wall) ',num2str(mv),' pressure-outlet"'])
iFluentTuiInterpreter.doMenuCommandToString('solve/execute-commands/add-edit b 41 "time-step" "define/boundary-conditions/pressure-outlet mv yes no 1067 no yes yes no no no"')

Java exception occurred:
AAS_CORBA.EFluentGenericError: IDL:AAS_CORBA/EFluentGenericError:1.0

	at AAS_CORBA.EFluentGenericErrorHelper.read(EFluentGenericErrorHelper.java:80)

	at AAS_CORBA._ICoFluentSchemeControllerStub.doMenuCommandToString(_ICoFluentSchemeControllerStub.java:126)
Thanks for your help!!
Xabierenko is offline   Reply With Quote

Old   April 10, 2019, 01:30
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Code:
wall)
why do you have bracket here?

change " to space"space
best regards
AlexanderZ is offline   Reply With Quote

Old   April 10, 2019, 03:01
Default
  #3
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7
Xabierenko is on a distinguished road
Thanks for the fast answer! I don't know if I fully understand what do you mean by change " to space"space. Do you mean the following?

Code:
iFluentTuiInterpreter.doMenuCommandToString('solve/execute-commands/add-edit b 41 " time-step " " define/boundary-conditions/pressure-outlet mv yes no 1067 no yes yes no no no "')
Xabierenko is offline   Reply With Quote

Reply

Tags
aas, fluent, matlab, tui commands


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
Cannot Execute DEFINE_ON_DEMAND Function via MATLAB ANSYS_aaS Toolbox ahouse8 FLUENT 2 February 25, 2019 12:06
Cannot Execute DEFINE_ON_DEMAND Function via MATLAB ANSYS_aaS Toolbox ahouse8 ANSYS 0 February 22, 2019 14:48
Fluent Execute Commands: Syntax for return pisykl FLUENT 0 June 16, 2016 21:45
Save picture from Execute commands and journal files FJSJ FLUENT 0 January 29, 2015 09:56
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 06:19


All times are GMT -4. The time now is 06:12.