-
-
November 15, 2020 at 3:49 pm
AGAAMAZ
SubscriberNovember 16, 2020 at 6:26 amNovember 16, 2020 at 7:24 amDrAmine
Ansys EmployeeMeans the Fluent Cortex Process has crashed and might be related to either communication or network issue.nnI recommend updating to a new supported version.nDecember 31, 2020 at 6:39 pmYasserSelima
SubscriberI am facing the same problem with Academic R2020 R2. nI am using CG_MOTION UDF and I am supposed to move few objects. The CG_MOTION function works to the last line and the last Message is printed. And then, it crashes and I receive this messagenJanuary 4, 2021 at 11:44 amRob
Forum ModeratorThat could be the UDF, or could be the solver failing due to the network. What happens if you run on one core parallel? nJanuary 4, 2021 at 7:06 pmYasserSelima
SubscriberHi Rob,nThanks for replying. I found that when I define 14 global variables, it works as intended. However, once I define the 15th variables, I get this error. I changed the variable name many times and still the same issue. I even, used it with same name and removed one of the other 14 variables and the UDF worked fine. Now I am running the simulation with 14 global variables and I defined the 15th as local variable. It is working but I need to compile every time to change this variable the 15th.nI am just wondering is this a limitation in FLUENT, or I am doing something wrong? (I am doing this using an academic version)nJanuary 5, 2021 at 2:04 pmRob
Forum ModeratorI'm not aware of any limitation, how are you defining the variables?nJanuary 5, 2021 at 2:28 pmYasserSelima
SubscriberI define them as double at the top of the file. And I initialize them through DEFINE_INIT and through Excute_ON_DEMAND when required. I also tried to define them as static double but this made no difference.nI define them at the top because I have to keep track of them. Also I report them through DEFINE_REPORT_DEFINITION.nOne of my trials was to make all of them in one vector, but it did not make a difference.nJanuary 5, 2021 at 3:59 pmRob
Forum ModeratorPlease post the code. I (or any other Ansys staff member) won't be debugging the UDF but there may be something obvious or another contributor may spot something. nJanuary 5, 2021 at 4:57 pmYasserSelima
SubscriberHey Rob,nIt is 500 lines code. But here is the part of defining the variablesndouble velo_old_C, y_cg_C; ndouble velo_old_N , y_cg_N ; ndouble velo_old_S , y_cg_S ; ndouble velo_old_NW , y_cg_NW ; ndouble velo_old_NE , y_cg_NE ; ndouble velo_old_SW , y_cg_SW ; ndouble velo_old_SE , y_cg_SE ; ndouble my_tube_mass, my_tube_stiff, my_tube_length, my_tube_damping;nI have 7 DEFINE_CG_MOTION functions and each one uses 2 of the variables defined in lines 1 to 7. The last 4 variables, defined in the 8th line, are being calculated once at the initialization and all the functions use them. When running the simulation, I reach the end of one or two of the CG_MOTION functions and the message is printed correctly. Then, I get the error of fl process could not be restarted.nWhen I calculate the last 4 variables externally and define them locally inside the 7 functions, with their calculated values, and comment the 8th global variable definition line, everything works as intended.nThank you for attention!January 5, 2021 at 5:11 pmAdam_A
Ansys EmployeeIf you are using global variables in a file like this, it's best to make them staticstatic double my_tube_mass, my_tube_stiff, my_tube_length, my_tube_damping;nBut that all looks fine otherwise. There must be something else happening with your my_tube_ variables that's causing the issue.nBe careful about parallel UDFs, treat DEFINE_CG_MOTION UDFs as if they are only run on the compute nodes.nAlso putting these lines at the top of each DEFINE_CG_MOTION UDF is advised:nif (!Data_Valid_P())n {n  return;n }nnnJanuary 5, 2021 at 5:16 pmYasserSelima
SubscriberUsing static does not change the error. I will try to use if (!Data_Valid_P ()) .. hopefully it works. Thank you very much.nJanuary 15, 2021 at 5:26 pmYasserSelima
SubscriberSurprisingly, the problem is solved and I don't know how. Now I am saving more than 14 variables and the fl process does not stop. This works on the Academic Research License as well as the student license. So, there is no limitation as I though.nViewing 12 reply threads- The topic ‘what is the meaning of this line and why – the fl process could not be started’ is closed to new replies.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.Â
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.
Ansys Blog
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- legend min and max
- Ensight hot iron palette from an image
- Streamlines in EnSight using MRI data
- Import MRI data into Ensight
- FLUENT APPLICATIION ERROR
- Total Surface Heat Flux Calculation in Fluent
- Drop Test of a Water-Filled Tube
- Difference between “total pressure” and “absolute pressure”?
- Minimum Orthogonal Quality Less than 0.01 For Transonic Airfoil Flow Analysis
- obtaining pressure distribution by making points in ansys
Top Contributors-
8808
-
4658
-
3153
-
1680
-
1470
Top Rated Tags© 2023 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.
-