Page 1 of 2

Initial concentrations

Posted: Mon Jun 26, 2023 9:56 am
by Roscoe
Dear everyone,
I want to set up an initial simulation area with element segregation band. For example, the simulation area contains low manganese area and high manganese area. Do you know how to achieve this? Hope to get your guidance and help.
Looking forward to your reply.
Roscoe

Re: Initial concentrations

Posted: Mon Jun 26, 2023 11:13 am
by ralph
You can set the initial concentration like describes in Microstructure tutorial on slide 21
https://micress.rwth-aachen.de/training.html

Best,
Ralph

Re: Initial concentrations

Posted: Mon Jun 26, 2023 2:04 pm
by Roscoe
Dear Ralph,
Thank you for your answer. Does setting this simulation area require ASCII files? How to obtain such files?
Thank you again.
Roscoe

Re: Initial concentrations

Posted: Mon Jun 26, 2023 3:20 pm
by ralph
The usual and most flexible way is to write your own script.
A text editor might also be possible for easy geometries (e.g. horizontal layers).

If you want, you can also use DP_MICRESS operations. Local coordinates are given by x, y, z variables.
- open an arbitrary result file with the desired geometry
- go to operations
- create a new result window
- modify the expression according to your needs
- export the result windows with file->export window as dataset

Example expression for a high concentration band at the bottom of a 100x100 geometry:

Code: Select all

( z < 30 ) ? 5.0 : 0.1

Re: Initial concentrations

Posted: Tue Jun 27, 2023 10:08 am
by Roscoe
ralph wrote:
Mon Jun 26, 2023 3:20 pm
The usual and most flexible way is to write your own script.
A text editor might also be possible for easy geometries (e.g. horizontal layers).

If you want, you can also use DP_MICRESS operations. Local coordinates are given by x, y, z variables.
- open an arbitrary result file with the desired geometry
- go to operations
- create a new result window
- modify the expression according to your needs
- export the result windows with file->export window as dataset

Example expression for a high concentration band at the bottom of a 100x100 geometry:

Code: Select all

( z < 30 ) ? 5.0 : 0.1
I am new to MICRESS software and I would like to ask you again. For setting the initial concentration file, can you share one to learn?
Best,
Roscoe

Re: Initial concentrations

Posted: Tue Jun 27, 2023 10:44 am
by ralph
Attached is a modification of an example.
Instead of setting a constant copper concentration of 3 at%, a range from 3.5 at% at the bottom to 0 at% at the top is set.
I used this expression in DP_MICRESS:

Code: Select all

( 700 - z-1 )  / 700 * 3.5
Be aware that I just modified the initial concentration and did not check whether the overall simulation is reasonable with this setting.

Best,
Ralph

Re: Initial concentrations

Posted: Thu Jul 13, 2023 3:51 am
by Roscoe
Dear Ralph,
I tried to learn by modifying the example, but the information in the picture appeared after the beginning, and I wanted to know why and how to solve this problem.
Best,
Roscoe

Re: Initial concentrations

Posted: Thu Jul 13, 2023 10:13 pm
by Bernd
Dear Roscoe,

Have you already been able to open and run unchanged example driving files by using the MICpad editor? Then it should also work with the .dri-file which Ralph has created for you.

Best wishes
Bernd

Re: Initial concentrations

Posted: Fri Jul 14, 2023 2:55 am
by Roscoe
Dear Bernd,
This is an example of a software system. It can be able to open and run until it is modified. But after I changed the Initial concentrations, the message above appeared.
Best,
Roscoe

Re: Initial concentrations

Posted: Fri Jul 14, 2023 4:13 pm
by Bernd
Hi Roscoe,

This seems impossible - maybe you change the file rights of the .dri-file or something similar by your modification?

Or what exactly did you do?

Bernd