interFoam
1 Attachment(s)
Hello,
i have done a simulation with interFoam. I got the error message like below: Code:
/*---------------------------------------------------------------------------*\ Code:
......Reading field U |
Hello,
you have a Courant number of 0 and a timestep of approximatly 0, perhaps this is the problem. Can you change this? For example a maximal Courant number of 0.1? regards treima |
It seems to me that at there is already something seriously wrong immediately after initialization
time step continuity errors : sum local = 1.06596e+287 The extremely small time step (and related courant number) are, as I see it, a direct consequence of this. So I would recommend you to check boundary conditions and initial conditions of all variables (maybe the interfoam tutorial can help you). Regards, L |
Bubble rising, interFoam
I have made the case simpler and checked the BC. I have made just:
all the variables zeroGradient at all sides except noslip for velocity at the inlet and fixvalue 0 for the pressure at the outlet. However, my case still doesn't work. I wonder if it is because of the setFieldsDict, where I have used sphereToCell... to define the area of the air bubble. who knows why... |
1 Attachment(s)
Quote:
I have put deltaT 0.005, deltaX 1e-4, and the velocity of the bubble 0.02m/s, therefore the Co is 1. The mesh is like below: The Mesh is like below: |
Quote:
Use Code:
adjustTimeStep yes; Code:
maxCo 0.1 By the way: if you have all zeroGradient boundaries the location of your bubble in your mesh is most likely the problem. Because then you have a zeroGradient U and a zeroGradient P at the boundary where the bubble is sticking through. This is only possible if both U and P are constant so with P constant this means that U=0 which means that the bubble cannot move over there. However, it wants to move in the rest of the domain due to buoyancy. I suggest you start of the bubble in the middle of your domain instead of halfway sticking through a boundary and see if that fixes the issue |
All times are GMT -4. The time now is 11:27. |