CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   AAS Matlab toolbox - Journal file (https://www.cfd-online.com/Forums/fluent/215655-aas-matlab-toolbox-journal-file.html)

Xabierenko March 12, 2019 06:16

AAS Matlab toolbox - Journal file
 
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.

AlexanderZ March 12, 2019 20:53

Code:

iFluentTuiInterpreter.doMenuCommandToString('file read-journal \"Journal.jou\" ')
best regards

Xabierenko March 13, 2019 04:17

Thanks for your fast reply but I still get the same error.

AlexanderZ March 13, 2019 20:36

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 March 14, 2019 11:42

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')

AlexanderZ March 14, 2019 20:37

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 March 15, 2019 02:50

Thanks for your responses!!

Kind regards


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