TAGGED: #fluent-#cfd-#ansys
-
-
August 27, 2024 at 1:37 amShivam SinghBbp_participant
Hello Everyone, I am doing a project on Horizontal film boiling. I follow the tutorial available on the internet but whenever i try to run the calucation fluent will automatically closes and workbench shows the message as follows:
Failed in handling Cortex/Fluent command messageWorkBench Error: Could not register file; Name :SYS-1.cas.h5; Type :caseError Occured during handling message in WorkBench: An error occurred in FLUENT during execution of an internal command
An error occurred in FLUENT during execution of an internal commandFailed in handling Cortex/Fluent command messageWorkBench Error: Could not handle event: SolutionGridCheckError Occured during handling message in WorkBench: An error occurred in FLUENT during execution of an internal command
An error occurred in FLUENT during execution of an internal command
Please help me to solve this error.I use VOF model taking water liquid and water vapor as material.
For heat and mass transfer udf i use the code whose link as given below:
https://innovationspace.ansys.com/forum/forums/topic/film-boiling/ -
August 27, 2024 at 11:07 amRobForum Moderator
If you launch Fluent in standalone mode what happens? You may need to export the Fluent case from Workbench. Can you run other models?
-
August 28, 2024 at 12:50 pmShivam SinghBbp_participant
Thankyou for the reply. If I launch fluent throungh CMD CD and try to run the case file it will exit the application automatically, and shows above error if i launch fluent through workbench. I try to simulate nucleate boiling and it run and shows result.
-
-
August 28, 2024 at 1:15 pmRobForum Moderator
And with a different case file? It's not clear whether you have an installation issue in that Fluent won't run or a model issue.
-
August 29, 2024 at 12:10 pmShivam SinghBbp_participant
Sir, Thankyou for helping me. My mesh is completely loaded in the fluent. There is no problem in my mesh. When i try to run the calulation the fluent window will shut down automatically and the workbecnch shows the error which i mentioned above. As you suggested i try to do some other simulation( nucleate boiling) and and it calculate completely and shows the result.
I put some pictures of film boiling which shows the problem.
-
-
August 29, 2024 at 12:21 pmRobForum Moderator
Film boiling in 2d?
-
August 29, 2024 at 12:49 pmShivam SinghBbp_participant
Yes, sir
-
-
August 29, 2024 at 1:20 pmRobForum Moderator
Please show an image of the multiphase panels & tabs.
-
August 29, 2024 at 1:32 pm
-
-
August 29, 2024 at 1:36 pmRobForum Moderator
What phase interaction did you set?
-
August 29, 2024 at 2:11 pmShivam SinghBbp_participant
These are my phase interaction:
Then I compiled the udf which i pasted from this forum :https://innovationspace.ansys.com/forum/forums/topic/film-boiling/
In function hook i select my init function::libudf in the Initialization and area density::libudf in the Adjust.
In memory i give 3 to the memory location.
My cell boundary condition are as :
Same settings for liquid also.
In boundary condition > wall> thermal> temperature> and in temperature column i gave 383.
In boundary condition>outlet( phase: mixture)>thermal> backflow temp: 373K.
In boundary condition>outlet( phase: fluid)>multiphase> backflow volume fraction: 1.
Reference values:
Solution methods:
Solution Controls:
Initilization:
I make a custom function(linear function) for temperature variation along y direction in mesh and patch it:
When i try to solve it it automatically closes.
Help me what I have done wrong.
-
-
August 29, 2024 at 2:15 pmRobForum Moderator
Turn off the UDF and see what happens. You've not got any mechanism for the phase mass exchange. The UDF also uses UDMs, have you assigned those?
-
August 29, 2024 at 2:37 pmShivam SinghBbp_participant
Yes, I assigned UDM = 3.
If i turned off the udf my cell boundary condition which is based on udf will not work. Whatever function I assigned to function hook is also invalid. Then how can I solve this.
You also mentioned that i dont have any mechanism for the phase mass exchange what i have to do for this.
-
-
August 29, 2024 at 3:09 pmRobForum Moderator
If you want boiling you need to set a phase mass exchange - it's in phase heat & mass transfer tab. Similarly, if you're not sure about boiling you may want to review the UDF very carefully: UDFs are not something I'd start with.
-
August 30, 2024 at 2:30 pm
-
-
August 30, 2024 at 2:48 pmRobForum Moderator
Click No, and then scroll up to see if the error is useful.
-
August 30, 2024 at 3:15 pmShivam SinghBbp_participant
IIt shows this error:
Error in the fluent (fl) process : ended abnormally
Operation stopped.
Operation stopped.
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 1520 RUNNING AT DESKTOP-2GE7CNR
= EXIT STATUS: -1 (ffffffff)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 1 PID 15640 RUNNING AT DESKTOP-2GE7CNR
= EXIT STATUS: -1073740791 (c0000409)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 2 PID 2220 RUNNING AT DESKTOP-2GE7CNR
= EXIT STATUS: -1073740791 (c0000409)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 3 PID 4092 RUNNING AT DESKTOP-2GE7CNR
= EXIT STATUS: -1 (ffffffff)
===================================================================================
-
-
August 30, 2024 at 3:22 pmRobForum Moderator
Which is probably linked to the UDF.
-
August 31, 2024 at 11:04 amShivam SinghBbp_participant
Yes, you are right sir. I have checked my udf and found out where error occur but i didn’t know how to solve it.
This is my finction (a part of udf)DEFINE_ADJUST(area_density, domain){Thread *t;Thread **pt;cell_t c;Domain *pDomain = DOMAIN_SUB_DOMAIN(domain, 0);real voidx, voidy, voidz = 0;Message(“Entering DEFINE_ADJUST(area_density)…\n”);if (pDomain == NULL) {Message(“Error: Sub-domain P_PHASE not found.\n”);return;}Alloc_Storage_Vars(pDomain, SV_VOF_RG, SV_VOF_G, SV_NULL);Scalar_Reconstruction(pDomain, “vof”, SV_VOF, -1, SV_VOF_RG, NULL);Scalar_Derivatives(pDomain, “vof”, SV_VOF, -1, SV_VOF_G, SV_VOF_RG, Vof_Deriv_Accumulate);Alloc_Storage_Vars(domain, SV_T_RG, SV_T_G, SV_NULL);T_derivatives(domain);Free_Storage_Vars(domain, SV_T_RG, SV_NULL);mp_thread_loop_c(t, domain, pt) {if (FLUID_THREAD_P(t)) {Thread *tp = pt[P_PHASE];begin_c_loop(c, t) {#if RP_3DC_UDMI(c, t, 0) = (C_VOF_G(c, tp)[0] * C_T_G(c, t)[0] + C_VOF_G(c, tp)[1] * C_T_G(c, t)[1] + C_VOF_G(c, tp)[2] * C_T_G(c, t)[2]);#endif#if RP_2DC_UDMI(c, t, 0) = (C_VOF_G(c, tp)[0] * C_T_G(c, t)[0] + C_VOF_G(c, tp)[1] * C_T_G(c, t)[1]);#endif}end_c_loop(c, t)}}Message(“Freeing storage variables…\n”);Free_Storage_Vars(pDomain, SV_VOF_RG, SV_VOF_G, SV_NULL);Free_Storage_Vars(domain, SV_T_G, SV_NULL);Message(“Exiting DEFINE_ADJUST(area_density)…\n”);}
in this function error occurs inScalar_Reconstruction(pDomain, “vof”, SV_VOF, -1, SV_VOF_RG, NULL);Scalar_Derivatives(pDomain, “vof”, SV_VOF, -1, SV_VOF_G, SV_VOF_RG, Vof_Deriv_Accumulate);
I also tried by putting "pressure-based" but result is same. I tried to search it but i didn't find an answer.
When I remove these two scalars then there is no error in calculation but my results are coming not accurate. Can you help me to solve this
-
-
- You must be logged in to reply to this topic.
-
376
-
187
-
167
-
156
-
140
© 2024 Copyright ANSYS, Inc. All rights reserved.