please help me --> FOAM Warning : From function Time::operator++()
hi every body
any body knows what is the meaning of this warning: Code:
Courant Number mean: 6.18417 max: 57.2403 Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" |
If you read the warning, its telling you that the time precision had to be increased as your timestep has just become really really REALLY small (10^-94!). Your simulation crashes after for reasons likely related to that.
Your courant number is really huge at that point (56!) so you should really check what's going on in your simulation, as these are only symptoms of a deeper underlying problem. |
Quote:
I know that the time precision has been really small and my Courant number is huge but I don't understand where is the source of my mistake. Does it originate from my solver?!! |
That is the source of your problem. Unless you have some amazing numerical schemes and/or implicit methods at work, there is no way that a Courant number that big (or time-step that small) will remain stable for long:
http://en.wikipedia.org/wiki/Implicit_method http://en.wikipedia.org/wiki/Courant...Lewy_condition I would recommend looking at the output from your simulation at that point. I can almost guarantee something unphysical is happening. |
At first post some more detailed info (which solver do you use, what are the basic solver settings, characteristics of the solved case.. otherwise we might be as well guessing from crystal ball). It may be caused by a lot of things, e.g.
- does it happen at the beging of your simulation? If yes your initial timestep might be too big... - what Courant number do you set in controlDict? - boundary conditions... |
Quote:
http://www.cfd-online.com/Forums/ope...-get-help.html |
Quote:
Quote:
Quote:
I think I made a mistake somewhere in my solver, but I don't know where!!!!! |
Well, if you made a mistake in your solver, much more information would be needed (perhaps the whole code?).
But, if I were you, I would observe, where the time step begins to decrease significantly (in order of magnitude), set this moment as an end of the simulation and researched behaviour of all the variables (p, U, T, K, epsilon or omega respectively)... |
1 Attachment(s)
Dear petr,
I attach the log file |
Hi Mostafa, I've checked your log and it seems that problems begin to appear after approx. 10 iterations Just to be sure, I would try much smaller time step for the beginning (~ 1e-5, but I don't know any details about your simulation...). But because the divergence begins so quickly, I would guess there might be some error in the code... Anyway, I've seen a post about visco-elastic simulations in openfoam not so long ago - http://www.cfd-online.com/Forums/ope...fluidfoam.html . Try to find some hints there...
|
Quote:
I will do it. another question: any body knows how can I change the transport and viscosity model? |
All times are GMT -4. The time now is 06:25. |