Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL ERROR after running a simulation for several seconds #3

Open
tigra opened this issue Feb 11, 2016 · 1 comment
Open

FATAL ERROR after running a simulation for several seconds #3

tigra opened this issue Feb 11, 2016 · 1 comment

Comments

@tigra
Copy link

tigra commented Feb 11, 2016

Trying to model heat convection inside the woodstove. As soon as I put in a powerful power source, or a nonzero wind speed, it starts to fall with "FATAL ERROR" (I suppose because of inability to solve the equation using numerical methods). Well, it suggests to decrease steplenth, but this way I am able to model even smaller portion of time of model's work.

Tried both with version on site and with version compiled from github.

Attached is an example of such file.

borov_e2d.zip

@charxie
Copy link
Collaborator

charxie commented Feb 14, 2016

Energy2D is not unconditionally stable, meaning that a transient numerical simulation can "blow up" when the condition becomes more turbulent, such is in the cases of low viscosity, high temperature, or fast fluid speed. There is also a fundamental constraint in transient simulations that limits the length of the time step we can use. For example, if your model has a width of 1 m with air blowing in at a speed of 1 m/s, and you use a time step of 0.1 s, then within just 10 steps the air must blow across. If there are a lot of interactions on its way such is in the case of turbulence, it is hardly possible for a numerical algorithm to handle this situation within only 10 steps. We typically will need thousands of steps to have an approximate solution. This means that the time step must be very small, which can make the simulation appear to be very slow to be practical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants