Tagged: error-in-fluent, fatal-error, fluent, Remesh, udf-fluent
-
-
September 2, 2021 at 5:24 pm
DexterQiu
SubscriberHi,
I'm new to Fluent. I'm using ANSYS 2021 R2 Fluent to simulate a moving wall within a fluid domain using a UDF. When I preview the remeshed region in the next time step, I always receive an error message saying BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES.
In some rare cases, this problem can be solved by meshing with a different mesh density. However, it will lead to a negative volume error, and it is hard to tell which part in the mesh went wrong. The refined initial mesh can make the error happens more frequently.
What could be the potential causes of the BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES error?
Is there any way to avoid this type of error?
The error message is shown as follows.
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 17876 RUNNING AT DQ-A
= EXIT STATUS: -1 (ffffffff)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 1 PID 45524 RUNNING AT DQ-A
= EXIT STATUS: -1 (ffffffff)
===================================================================================
The same error happens at every thread.
The dynamic mesh setting is shown as below:
blob:https://forum.ansys.com/87f07059-f185-457e-a80f-5c4121a379c5
blob:https://forum.ansys.com/8c9e94bf-207e-4dba-9509-30dcc18df694 blob:https://forum.ansys.com/ff34f16f-465f-40b9-a16e-e3a828b42658Thank you,
Dong Qiu
September 3, 2021 at 12:52 pmKarthik R
AdministratorHello This might be because of the UDF or how you set up your dynamic meshing. You need to provide us with additional details so we are able to understand the issue better.
What is the UDF doing? Please also share screenshots of your starting mesh. What is this mesh quality at the beginning? Also, how did you set up your dynamic meshing?
Karthik
September 3, 2021 at 7:53 pmDexterQiu
SubscriberHi Karthik Thank you so much. I checked my UDF and noticed there was an incorrect parameter in my code. I have revised the code and it is working now.
Thank you Dong Qiu
September 3, 2021 at 7:55 pmKarthik R
AdministratorExcellent! Glad it worked.
Karthik
February 20, 2022 at 11:01 ampratheeba.chandanagarajan
SubscriberHi
I have the same problem.
My UDF is below:
begin_f_loop(f, thread)
{
if (t < 20.0)
{
F_PROFILE(f, thread, position) = 11.8325;
}
else if (t < 50.0)
{
F_PROFILE(f, thread, position) = 22.0135;
}
}
end_f_loop(f, thread)
}
/**********************************************************************
unsteady.c
UDF for specifying a transient temperature profile boundary condition
***********************************************************************/
DEFINE_PROFILE(unsteady_temperature, thread, position)
{
face_t f;
real t = CURRENT_TIME;
begin_f_loop(f, thread)
{
if (t < 20.0)
{
F_PROFILE(f, thread, position) = 373.15;
}
else if (t < 50.0)
{
F_PROFILE(f, thread, position) = 366.15;
}
}
end_f_loop(f, thread)
}
/**********************************************************************
unsteady.c
UDF for specifying a h-value based on time
***********************************************************************/
DEFINE_PROFILE(htc, thread, position)
{
face_t f;
real time = CURRENT_TIME;
begin_f_loop(f, thread)
{
if (time < 20.0)
{
F_PROFILE(f, thread, position) = 50.0;
}
else
{
F_PROFILE(f, thread, position) = 100.0;
}
}
end_f_loop(f, thread)
}
Below is the message displayed on FLUENT
The fl process could not be started.
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 8148 RUNNING AT C19FTAI
= EXIT STATUS: -1 (ffffffff)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 1 PID 22144 RUNNING AT C19FTAI
= EXIT STATUS: -1 (ffffffff)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 2 PID 12564 RUNNING AT C19FTAI
= EXIT STATUS: -1 (ffffffff)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 3 PID 26620 RUNNING AT C19FTAI
= EXIT STATUS: -1 (ffffffff)
The same simulation was running few days back. i did not change any parameter.
Can you please help, ?
Thank You
Pratheeba
February 20, 2022 at 12:38 pmpratheeba.chandanagarajan
SubscriberJust to add details I am running a transient simulation, flow through a pipe and a porous media section. There is change in velocity and temperature as a step change. I am using the viscous resistance for the porous media model and shell conduction with three layers for heat loss through a heat transfer coeffient.
Thank You
Pratheeba
February 21, 2022 at 12:36 pmRob
Ansys EmployeeHave a look at the DEFINE_PROFILE example in the manual - you're missing some fairly important bits at the top. I'd also review the IF statements, as 20 is less than 50 the latter value will always be used until time exceeds 50s in which case I have no idea what will happen.
February 22, 2022 at 3:21 pmpratheeba.chandanagarajan
SubscriberHi Rob
Thank You.
Sorry! The first header file etc was not pasted while I copied.
/**********************************************************************
unsteady.c
UDF for specifying a transient velocity profile boundary condition
***********************************************************************/
#include "udf.h"
DEFINE_PROFILE(unsteady_velocity, thread, position)
{
face_t f;
real t = CURRENT_TIME;
begin_f_loop(f, thread)
{
if (t < 20.0)
{
F_PROFILE(f, thread, position) = 11.8325;
}
else if (t < 50.0)
{
F_PROFILE(f, thread, position) = 22.0135;
}
}
end_f_loop(f, thread)
}
/**********************************************************************
unsteady.c
UDF for specifying a transient temperature profile boundary condition
***********************************************************************/
DEFINE_PROFILE(unsteady_temperature, thread, position)
{
face_t f;
real t = CURRENT_TIME;
begin_f_loop(f, thread)
{
if (t < 20.0)
{
F_PROFILE(f, thread, position) = 373.15;
}
else if (t < 50.0)
{
F_PROFILE(f, thread, position) = 366.15;
}
}
end_f_loop(f, thread)
}
/**********************************************************************
unsteady.c
UDF for specifying a h-value based on time
***********************************************************************/
DEFINE_PROFILE(htc, thread, position)
{
face_t f;
real time = CURRENT_TIME;
begin_f_loop(f, thread)
{
if (time < 20.0)
{
F_PROFILE(f, thread, position) = 50.0;
}
else
{
F_PROFILE(f, thread, position) = 100.0;
}
}
end_f_loop(f, thread)
}
This is my full UDF. Thank you for your suggestion about the IF statement. I will rewrite the IF.
Thank You
Pratheeba
Viewing 7 reply threads- You must be logged in to reply to this topic.
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- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- 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 Contributors-
3720
-
2570
-
1775
-
1236
-
594
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.
-