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

Fluent Scheme Variable in Matlab AAS Mode

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2021, 04:52
Default Fluent Scheme Variable in Matlab AAS Mode
  #1
New Member
 
Amitav tikadar
Join Date: Jul 2017
Location: Atlanta
Posts: 14
Rep Power: 9
ATIKADAR is on a distinguished road
I am trying to define this scheme variable (rp-var-define ’htc 2000.0 ’real #f) in Matlab 2018b as follows in order to assign new value to a variable in an interpreted udf file-

str = ["(re-var-define 'htc 2000.0' real #f)"];

iFluentTuiInterpreter.doMenuCommandToString(str);


but its shows this error-

Warning: Objects of AAS_CORBA/_ICoFluentUnitStub class exist - not clearing java

Java exception occurred:
AAS_CORBA.EFluentGenericError: IDL:AAS_CORBA/EFluentGenericError:1.0
at AAS_CORBA.EFluentGenericErrorHelper.read(EFluentGe nericErrorHelper.java:80)
at AAS_CORBA._ICoFluentSchemeControllerStub.doMenuCom mandToString(_ICoFluentSchemeControllerStub.java:1 26)


I have tried all possible combinations for 'str' variable but nothing worked. I am using Fluent 2020 R1 version. Can someone please help?

TIA.

Last edited by ATIKADAR; July 16, 2021 at 18:45.
ATIKADAR is offline   Reply With Quote

Old   July 16, 2021, 18:46
Default
  #2
New Member
 
Amitav tikadar
Join Date: Jul 2017
Location: Atlanta
Posts: 14
Rep Power: 9
ATIKADAR is on a distinguished road
I have solved the issue. Thanks.
ATIKADAR is offline   Reply With Quote

Old   October 10, 2022, 04:57
Default
  #3
New Member
 
ZhangJiming
Join Date: Oct 2022
Posts: 1
Rep Power: 0
VincentZ is on a distinguished road
Quote:
Originally Posted by ATIKADAR View Post
I have solved the issue. Thanks.
Can you ask how to solve it? I also had the same problem,Thanks!
VincentZ is offline   Reply With Quote

Reply

Tags
fluent, fluent - udf


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
how to run fluent from matlab without using aas toolbox? artemis96 ANSYS 7 May 23, 2022 13:16
Fluent in Batch mode: How to repeat process? h0rst FLUENT 1 July 5, 2019 13:32
How to set as input parameter in Fluent a variable existing outside it? didimad FLUENT 1 March 3, 2015 12:10
modify a intern variable of Fluent with scheme and UDF fanch33 Fluent UDF and Scheme Programming 3 March 2, 2015 12:01
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 19:58


All times are GMT -4. The time now is 15:01.