-
-
December 6, 2017 at 4:32 pm
sdeb31
SubscriberI am trying to solve the generic transport equation
for diffusion only. I made a UDF for the diffusion. This is a four-sided geometry.
#include "udf.h"
#include "mem.h"
DEFINE_DIFFUSIVITY(magfun, c, t, i)
{
real diff;
diff = -1/(NV_MAG(C_UDSI_G(c,t,0))+0.000000001);
return diff;
}
which I used in material properties of the fluid. I also have a source term which I used in cell zone conditions. When I run the simulation, not only do I get different answer each time I run the simulation, none of the results match what I should be getting.
When I save and close the file, and reopen it, I get this error
Can anyone help me out?
-
December 7, 2017 at 8:25 am
Luca
SubscriberI am new in this field, but a reasonable question could be: How much nodes has your mesh? Different results from the same simulation could come from a dipendence with the mesh. Try to refine your mesh and restart your job. (I had the same problem, without the error, and i solved it only refining the mesh).
I hope this could help you!
Luca
-
December 7, 2017 at 9:54 am
Raef.Kobeissi
SubscriberHello I agree with Luca, any simple change in your setup, mesh, or even model will give you a different result.
-
- You must be logged in to reply to this topic.

Boost 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.
- 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: Received signal SIGSEGV
-
4998
-
3129
-
2359
-
1306
-
922
© 2023 Copyright ANSYS, Inc. All rights reserved.