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

AAS Matlab toolbox - Journal file

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

Like Tree3Likes
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2019, 06:16
Post AAS Matlab toolbox - Journal file
  #1
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 3
Xabierenko is on a distinguished road
I have succesfully connected both Fluent and Matlab through the toolbox. The following command succesfully prints the summary on the matlab console.

Code:
iFluentTuiInterpreter.doMenuCommandToString('report summary')
Nevertheless, when I try to load the journal file I find the followin error.

Code:
iFluentTuiInterpreter.doMenuCommandToString('file/read-journal "Journal.jou"')

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)
I have tried changing in several ways the input file but I don't manage to solve this problem.
Xabierenko is offline   Reply With Quote

Old   March 12, 2019, 20:53
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,342
Rep Power: 20
AlexanderZ will become famous soon enough
Code:
iFluentTuiInterpreter.doMenuCommandToString('file read-journal \"Journal.jou\" ')
best regards
Xabierenko likes this.
AlexanderZ is offline   Reply With Quote

Old   March 13, 2019, 04:17
Default
  #3
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 3
Xabierenko is on a distinguished road
Thanks for your fast reply but I still get the same error.
Xabierenko is offline   Reply With Quote

Old   March 13, 2019, 20:36
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,342
Rep Power: 20
AlexanderZ will become famous soon enough
long time ago I've read somewhere that you can't run journal in aaS regime (but i'm not sure about it 100%)

so you may write your journal in matlab and run as regular TUI commands

best regards
Xabierenko likes this.
AlexanderZ is offline   Reply With Quote

Old   March 14, 2019, 11:42
Default
  #5
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 3
Xabierenko is on a distinguished road
Okay, yes i'm doing it one by one. Do you happen to know any place where I could find useful examples of TUI commands?
I manage to do most of thing but I'm trying to set the value of the velocity-inlet of 4 boundaries to a udf profile but I don't manage to write the correct syntax. It has to be something similar to:

Code:
iFluentTuiInterpreter.doMenuCommandToString('define/boundary-conditions/set/velocity-inlet (pv4 pv3 pv2 pv1) vmag yes yes pvs_profile')
Xabierenko is offline   Reply With Quote

Old   March 14, 2019, 20:37
Default
  #6
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,342
Rep Power: 20
AlexanderZ will become famous soon enough
Code:
iFluentTuiInterpreter.doMenuCommandToString('define/boundary-conditions/set/velocity-inlet pv4 pv3 pv2 pv1 () vmag yes yes pvs_profile')
you dont need to put names of boundaries into brackets
in console press enter, you will see the list of TUI commands.
I dont know about any file with description of TUI commands

best regards
Xabierenko likes this.
AlexanderZ is offline   Reply With Quote

Old   March 15, 2019, 02:50
Default
  #7
New Member
 
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 3
Xabierenko is on a distinguished road
Thanks for your responses!!

Kind regards
Xabierenko is offline   Reply With Quote

Reply

Tags
aas, fluent, matlab

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 60 April 23, 2020 10:53
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 11 November 1, 2016 06:43
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41


All times are GMT -4. The time now is 20:54.