|
[Sponsors] |
March 12, 2019, 07:16 |
AAS Matlab toolbox - Journal file
|
#1 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
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') 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) |
|
March 12, 2019, 21:53 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
iFluentTuiInterpreter.doMenuCommandToString('file read-journal \"Journal.jou\" ') |
|
March 13, 2019, 05:17 |
|
#3 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Thanks for your fast reply but I still get the same error.
|
|
March 13, 2019, 21:36 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
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 |
|
March 14, 2019, 12:42 |
|
#5 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
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') |
|
March 14, 2019, 21:37 |
|
#6 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
iFluentTuiInterpreter.doMenuCommandToString('define/boundary-conditions/set/velocity-inlet pv4 pv3 pv2 pv1 () vmag yes yes pvs_profile') 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 |
|
March 15, 2019, 03:50 |
|
#7 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Thanks for your responses!!
Kind regards |
|
Tags |
aas, fluent, matlab |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |