TAGGED: fluid
-
-
September 10, 2020 at 9:20 am
shoji
SubscriberI'm trying to operate Fluent in non-graphical mode from MATLAB using aas and TUI code, but when MATLAB send a command which make Fluent create dynamic mesh (following command), Fluent display the error(following image) and crushes.
September 10, 2020 at 11:26 amKarthik Remella
AdministratorHello,nAnsys employees are not able to download any files from the learning forum as Ansys.nHaving said that, can you confirm if you are able to run your case correctly on standalone Fluent? Is your dynamic mesh set-up working correctly? Are you able to obtain a converged solution? I'd like to understand if this problem is with Matlab integration or with the dynamic mesh set-up.nThanks.nKarthiknSeptember 11, 2020 at 3:30 amSeptember 11, 2020 at 7:28 amshoji
SubscriberI can fix this error, and the cause was my programming mistake.n
However, I can't fix this error.n
This occur when MATLAB send following command. nI calculate Fluent simulation repeatedly, and this command can work for first 8 times, but after MATLAB send this command 8 times, error occurred (9th time). n
n
September 11, 2020 at 10:56 amRob
Forum ModeratorHow many cells have you got when it fails? If you're using Student or Teaching key you're limited to 512k cells. nSeptember 14, 2020 at 3:56 amshoji
SubscriberThe number of Total cells is 266k. nSeptember 14, 2020 at 11:21 amKarthik Remella
AdministratorHello,nAre you saying that your Matlab Fluent connection worked in the last 8 attempts and this issue you are talking about appears the 9 time you send this command?nCould you please clarify this so we can understand things better?nThanks.nKarthiknSeptember 15, 2020 at 5:51 amshoji
SubscriberSure.nnWhat I want to do is running fluent repeatedly (about 100 times). And the name of the program to run fluent is Fluent_pitch and I repeat it by using below matlab program. n
Of course I can run Fluent_Pitch correctly. However when I run fluent_repeat, fluent pitch run correctly for the first several times, then program stops at following code. nI said it can work 8 times, but this time it can work only 5 times.n
This is the video how the program work and stop.nArraynThanks.n
September 18, 2020 at 4:26 amSeptember 23, 2020 at 2:00 amKarthik Remella
AdministratorHello,nPlease take a look at this blog post and make sure that your code is correct. nAlso, If you still looking to debug this issue, you might first want to isolate the issue. Here is what I'd do.nFirst, I would type out each command that you have in your journal file and test them line by line by copying them into Fluent console. Fluent console asks a lot of questions and if one of these questions are missed or incorrectly answered, then the case would throw an error. This is because there are no exception in the journal file.nOnce you are sure of this, then I'd use the journal file and make sure that your case is running exactly as it should.nOnce all these tests work, then you will lastly try to run your case using Matlab commands. nThis will help you isolate where the issue and you can then take care of this.nThanks.nKarthiknSeptember 25, 2020 at 10:17 amshoji
SubscriberHellonThank you for the comment.nnI tried step1,2 and 3 , and Fluent worked without error. However when I run fluent repeatedly from MATLAB error occurred.nAlthough Fluent works for the first several times, the error occurred at bellow program after Fluent run several times.n
Fluent run as follow program without error for the first several times.nnconnect fluent nload UDFncreate dynamic meshninitializenstart calculationnnThanksn September 28, 2020 at 11:04 amRob
Forum ModeratorIf the system works a few times and then fails, what is different about the command or starting point?nViewing 11 reply threads- The topic ‘Fluent crushes when it create dynamic mesh’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
5879
-
1906
-
1420
-
1306
-
1021
Top Rated Tags© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.


