September 10, 2020 at 9:20 amshojiSubscriber
I'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 RAdministratorHello,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 amshojiSubscriberI can fix this error, and the cause was my programming mistake.nHowever, 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). nnSeptember 11, 2020 at 10:56 amRobAnsys EmployeeHow 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 amshojiSubscriberThe number of Total cells is 266k. nSeptember 14, 2020 at 11:21 amKarthik RAdministratorHello,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 amshojiSubscriberSure.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. nOf 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.nThis is the video how the program work and stop.nArraynThanks.nSeptember 18, 2020 at 4:26 amSeptember 23, 2020 at 2:00 amKarthik RAdministratorHello,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 amshojiSubscriberHellonThank 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.nFluent run as follow program without error for the first several times.n
nconnect fluent nload UDFncreate dynamic meshninitializenstart calculationnnThanksnSeptember 28, 2020 at 11:04 amRobAnsys EmployeeIf the system works a few times and then fails, what is different about the command or starting point?nViewing 11 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Rated Tags
© 2022 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.