Maybe there are some bugs in navier stokes modules #21996
-
Dear developers, I am developing the RANS k-omega turbulence model based on MOOSE FEM. Now my k-omega codes can be used to simulate some simple cases. But in other complex cases, the convergence of the code is difficult. So I find some bugs(maybe which is a normal phenomenon but I think it is abnormal) in laminar simulation when I debug my turbulence codes. Here is the list about the bugs(Please allow me to call it a bug).
for example, Maybe you will tell me that it does not matter. But in fact in complex problems especially in tips: In the above problem, I use
Now I use It sounds crazy, and it doesn't make sense in theory, but I've actually found these problems, so it feels like some bugs to me. Best regards. QINGJI SU |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 54 replies
-
I would have to see the hand-coded and AD inputs in order to understand why you are getting different behavior between the two cases. Regarding the scaling ... I believe what you are seeing there is a consequence of the fact that degrees of freedom controlled by Dirichlet boundary conditions are included in the nonlinear system. So as you scale your physics rows, your Dirichlet rows remain unscaled and so you have different operators |
Beta Was this translation helpful? Give feedback.
-
Hi @lindsayad, If I use the
If I use
In fact, the output on the screen if I use As I know, the reason for So I suspect that there are some bugs when the Here are my input files:
Thanks and best wishes. |
Beta Was this translation helpful? Give feedback.
-
Hi @lindsayad When I debugged I found a problem in MOOSE. Now please admit me introduce the problem to you. Firstly, let us consider a transient heat conduction problem. Here is the PDE of the heat conduction problem. If we consider the problem as one dimension. Set the params as: Now, let us create an input file. Here are the details of the input file.
The solution is shown here: Obviously, there are some values that are bigger than In fact, this is an abnormal phenomenon. Secondly, let me prove my comment. This is the plot calculated by At last, I use So, I suspect that there are some bugs in the Thanks. |
Beta Was this translation helpful? Give feedback.
I would have to see the hand-coded and AD inputs in order to understand why you are getting different behavior between the two cases.
Regarding the scaling ... I believe what you are seeing there is a consequence of the fact that degrees of freedom controlled by Dirichlet boundary conditions are included in the nonlinear system. So as you scale your physics rows, your Dirichlet rows remain unscaled and so you have different operators