Overflow-Error
Overflow-Error
Hello everyone!
I am currently experimenting with very large values for seed densities. Naturally, this leads to very high numbers of grains during solidification. Unfortunately, this seems to cause problems, possibly with the hardware I am using.
The early stages of the simulations look like this:
The width of the simulation domain is approximately 6 µm.
This is the displayed error in the .log file:
The simulation stopps after 22 steps and before it should stop. Has anyone a suggestion on how to prevent this from happening?
As always, I am very thankful for all your replies.
Best regards,
Moritz
I am currently experimenting with very large values for seed densities. Naturally, this leads to very high numbers of grains during solidification. Unfortunately, this seems to cause problems, possibly with the hardware I am using.
The early stages of the simulations look like this:
The width of the simulation domain is approximately 6 µm.
This is the displayed error in the .log file:
The simulation stopps after 22 steps and before it should stop. Has anyone a suggestion on how to prevent this from happening?
As always, I am very thankful for all your replies.
Best regards,
Moritz
Re: Overflow-Error
Hi Moritz,
Difficult to say without more information. It could be either a memory overflow, e.g. because of too many grains, or a writing problem. Unfortunately, in your screen snapshot I cannot see the file name at the right side, where MICRESS obviously tried to write unsuccessfully: C:\Temp...
Bernd
Difficult to say without more information. It could be either a memory overflow, e.g. because of too many grains, or a writing problem. Unfortunately, in your screen snapshot I cannot see the file name at the right side, where MICRESS obviously tried to write unsuccessfully: C:\Temp...
Bernd
Re: Overflow-Error
Hi Bernd,
this error occurs for different writing locations.
In the screenshot it is a file on the C:\ drive and when I tried it on another machine, it is a file on a network drive.
In both cases the TabGD.txt is affected.
Best regards,
Moritz
this error occurs for different writing locations.
In the screenshot it is a file on the C:\ drive and when I tried it on another machine, it is a file on a network drive.
In both cases the TabGD.txt is affected.
Best regards,
Moritz
Re: Overflow-Error
Hi Moritz,
The .TabGD-output file can easily get very large, because it gives information about every grain at every output time step. So, the simplest solution would be to just deactivate the .TabGD-output (remove "tab_grain_data" in terse input mode, or replace it by "no_tab_grain_data" otherwise) .
If this removes the problem, then it is just fine. Otherwise, you should try to reduce the number of grains, e.g. by using "categorize" in phase data and nucleation input, so that grains with identical properties can be assigned to the same grain number. Please note that a high number of grains leads to quadratically increasing memory usage: depending on your computer you probably will get a memory overflow somewhere between 10000-20000 grains...
Bernd
The .TabGD-output file can easily get very large, because it gives information about every grain at every output time step. So, the simplest solution would be to just deactivate the .TabGD-output (remove "tab_grain_data" in terse input mode, or replace it by "no_tab_grain_data" otherwise) .
If this removes the problem, then it is just fine. Otherwise, you should try to reduce the number of grains, e.g. by using "categorize" in phase data and nucleation input, so that grains with identical properties can be assigned to the same grain number. Please note that a high number of grains leads to quadratically increasing memory usage: depending on your computer you probably will get a memory overflow somewhere between 10000-20000 grains...
Bernd
Re: Overflow-Error
Hi Bernd,
thanks for the suggestion. Deactivating the TabGD output solved the problem.
Is it correct, that if I want an putput file for every specific grain, because I want to analyse the microstructure, that I can solve this problem by using a more capable computer?
Best regards
Moritz
thanks for the suggestion. Deactivating the TabGD output solved the problem.
Is it correct, that if I want an putput file for every specific grain, because I want to analyse the microstructure, that I can solve this problem by using a more capable computer?
Best regards
Moritz
Re: Overflow-Error
Hi Moritz,
I guess Bernd meant that reducing the number of grains by categorizing saves time and avoids this 'record overflow' in TabGD output because of less data.
A more capable computer (more main memory) allows you to simulate more grains. It will not solve this output problem.
Best,
Ralph
I guess Bernd meant that reducing the number of grains by categorizing saves time and avoids this 'record overflow' in TabGD output because of less data.
A more capable computer (more main memory) allows you to simulate more grains. It will not solve this output problem.
Best,
Ralph
Re: Overflow-Error
Hi,
For the size of the .TabGD-file the number of grains and the number of output time-steps is relevant!
Bernd
For the size of the .TabGD-file the number of grains and the number of output time-steps is relevant!
Bernd