Search found 167 matches

by ralph
Thu Mar 24, 2022 9:41 am
Forum: solid-solid phase transformations
Topic: pearlite
Replies: 14
Views: 6447

Re: pearlite

Hi all,

in fact, it is possible to open results with a wrong geometry file. If so, your simulation times for the time steps should be wired.
Did you mix up results from Linux and Windows (base.geoF, base_geoF.mcr)?

Best,
Ralph
by ralph
Mon Mar 21, 2022 9:42 am
Forum: post-processing
Topic: Extracting nuleation positions
Replies: 13
Views: 9484

Re: Extracting nuleation positions

... or in other words:
Take the whole number part before the decimal point for the coordinates.
This can be done by an integer division, type casting of the result or cutting by a function (e.g. math.floor() in Python).

Best,
Ralph
by ralph
Wed Mar 16, 2022 3:45 pm
Forum: post-processing
Topic: Extracting nuleation positions
Replies: 13
Views: 9484

Re: Extracting nuleation positions

Yes, indeed.
The zp is just an linear index for a 2D or 3D array.
e.g. in the second line of code, you count the number of full x rows (2D) which is the z coordinate.

2D:

Code: Select all

zp = zp - 1
z = zp / (dimX+2)
zp = zp - z * (dimX+2)
x = zp
Best,
Ralph
by ralph
Wed Mar 16, 2022 11:40 am
Forum: post-processing
Topic: Extracting nuleation positions
Replies: 13
Views: 9484

Re: Extracting nuleation positions

Hi Moritz,

if we are going 2D, we do not store boundary cells in Y direction (dimY+2 = 3).
If you omit the 2 steps for the Y coordinate, it should work.

Of course, you can scale the array coordinate by the grid spacing for your plot.

Best,
Ralph
by ralph
Mon Mar 14, 2022 4:03 pm
Forum: post-processing
Topic: Extracting nuleation positions
Replies: 13
Views: 9484

Re: Extracting nuleation positions

EDITED: Sorry. It's not the modulo funktion. It is an integer division. Hi Moritz, you can calculate the coordinates backwards by using the modulo function. zp = 1 + x + (dimX+2) * y + (dimX+2)*(dimY+2) * z zp = zp - 1 z = zp / [(dimX+2)(dimY+2)] zp = zp - z * [(dimX+2)(dimY+2)] y = zp / (dimX+2) zp...
by ralph
Thu Mar 10, 2022 9:07 am
Forum: thermodynamics
Topic: TQ_interface couple
Replies: 7
Views: 13974

Re: TQ_interface couple

Hi Shaojie Lyu, you used an Thermo-Calc phase index which is not in your new GES5 file. This way you will get a user-defined phase with name 4 and later MICRESS cannot find database information for this phase. See here your GES5 file contents: # Selection of Phases # ------------------- # The databa...
by ralph
Wed Mar 09, 2022 3:49 pm
Forum: thermodynamics
Topic: TQ_interface couple
Replies: 7
Views: 13974

Re: TQ_interface couple

Is this the driving file?
Could you post the sections 'components' and 'phase selection' from the scr (standard output) or in file (in the results)?
by ralph
Wed Mar 09, 2022 2:56 pm
Forum: thermodynamics
Topic: TQ_interface couple
Replies: 7
Views: 13974

Re: TQ_interface couple

If the versions do not match, you will get a license error while reading the GES5 file with MICRESS.

Best,
Ralph

Edited:
Usually, newer databases are compatible. Of course, it depends on the changes in the database. I think we had no problems with steel databases, yet.
by ralph
Wed Mar 09, 2022 2:34 pm
Forum: thermodynamics
Topic: TQ_interface couple
Replies: 7
Views: 13974

Re: TQ_interface couple

Hi Shaojielv, I do not see any figure attached to your post. However, a typical problem is that the databases used to make the examples GES5 file have a different version than yours. In the GES_Files folder, you will find an according Thermo-Calc macro file for each GES5 file. You can modify it and ...
by ralph
Thu Feb 10, 2022 2:54 pm
Forum: post-processing
Topic: Extracting nuleation positions
Replies: 13
Views: 9484

Re: Extracting nuleation positions

I there any possibility to extract a dataset after the simulation, which contains infomation about the position and size of nuclei set or forming in the simulation? We will introduce a tabular output for nucleation events in the next version of MICRESS. In the current version, I am afraid you have ...