Initial concentrations

solid-solid phase transformations, influence of stresses and strains
Roscoe
Posts: 11
Joined: Mon Jun 26, 2023 9:37 am
anti_bot: 333

Initial concentrations

Post by Roscoe » Mon Jun 26, 2023 9:56 am

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

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: Initial concentrations

Post by ralph » Mon Jun 26, 2023 11:13 am

You can set the initial concentration like describes in Microstructure tutorial on slide 21
https://micress.rwth-aachen.de/training.html

Best,
Ralph

Roscoe
Posts: 11
Joined: Mon Jun 26, 2023 9:37 am
anti_bot: 333

Re: Initial concentrations

Post by Roscoe » Mon Jun 26, 2023 2:04 pm

Dear Ralph,
Thank you for your answer. Does setting this simulation area require ASCII files? How to obtain such files?
Thank you again.
Roscoe

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: Initial concentrations

Post by ralph » 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

Roscoe
Posts: 11
Joined: Mon Jun 26, 2023 9:37 am
anti_bot: 333

Re: Initial concentrations

Post by Roscoe » Tue Jun 27, 2023 10:08 am

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

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: Initial concentrations

Post by ralph » Tue Jun 27, 2023 10:44 am

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
Attachments
AlCu_D_Dendrites_2D_Lin_initialConc.zip
(15.04 KiB) Downloaded 329 times

Roscoe
Posts: 11
Joined: Mon Jun 26, 2023 9:37 am
anti_bot: 333

Re: Initial concentrations

Post by Roscoe » Thu Jul 13, 2023 3:51 am

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
Attachments
1.png
1.png (7.5 KiB) Viewed 30185 times

Bernd
Posts: 1505
Joined: Mon Jun 23, 2008 9:29 pm

Re: Initial concentrations

Post by Bernd » Thu Jul 13, 2023 10:13 pm

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

Roscoe
Posts: 11
Joined: Mon Jun 26, 2023 9:37 am
anti_bot: 333

Re: Initial concentrations

Post by Roscoe » Fri Jul 14, 2023 2:55 am

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

Bernd
Posts: 1505
Joined: Mon Jun 23, 2008 9:29 pm

Re: Initial concentrations

Post by Bernd » Fri Jul 14, 2023 4:13 pm

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

Post Reply