Question about Temperature Settings in grainGrowth_dream3d

79 views
Skip to first unread message

Haibiao

unread,
Jan 26, 2024, 6:15:06 AM1/26/24
to PRISMS-PF Users
Hello PRISMS-PF,

I want to simulate the grain growth process at different temperatures using grainGrowth_dream3d, but I haven't found parameters to control the temperature. Can you provide some advice for me?"。

Thank you,
Haibiao

David Montiel Taboada

unread,
Jan 26, 2024, 10:12:48 AM1/26/24
to Haibiao, PRISMS-PF Users
Hello, Haibiao

In the grainGrowth and grainGrowth_dream3d apps, temperature is not accounted for directly in the free energy or the governing equations. However, you can incorporate the effect of temperature via the grain boundary mobility. 

For example, if you know the temperature-dependence of the mobility of grain boundaries for the polycrystalline microstructure you want to simulate, you can define the temperature in the "Model Constants" section in the parameters.prm file, Then in customPDE.h you can define the mobility as a function of temperature where the private member variables of the class customPDE are defined. For example, for an Arrhenius-type dependence of the mobility on temperature, it would look like the following:

double T = userInputs.get_model_constant_double("T"); //This assigns the variable "T" to the constant defined as T in parameters.prm
double M=M0*exp(-A/kT);

I hope this helps but let me know if you still have questions.

Best,

David

 

--
You received this message because you are subscribed to the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-pf-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-pf-users/10430b54-b946-44ce-8384-de45c2eec599n%40googlegroups.com.

Xuesong Gao

unread,
Oct 4, 2024, 12:41:01 PM10/4/24
to PRISMS-PF Users
Hi, I think this question is relevant to my work. I want to simulate the grain growth during the cooling phase of welding. 
1. If I calculate the temperature history using another FEM solver (say abaqus), can i import the temperature history (format: time[i], temperature[i]) into the grain-growth application?
2. or the temperature is calculated by adding a heat-conduction equation alongside with the grain-growth equation, then the mobility is expressed as a function of temperature?
3. The grain-growth directed to the temperature gradient (i.e., columnar grain) is most important in my case. Can i get this columnar grain shape with just adjusting the mobility as a function of temperature? 
Thanks.  

David Montiel

unread,
Oct 7, 2024, 11:27:57 AM10/7/24
to Xuesong Gao, PRISMS-PF Users
Hello, Xuesong

Please see my inline replies below. 

Do not hesitate to contact us if you have any further questions.

Best,

David

On Fri, Oct 4, 2024 at 12:41 PM Xuesong Gao <gaoxue...@gmail.com> wrote:
Hi, I think this question is relevant to my work. I want to simulate the grain growth during the cooling phase of welding. 
1. If I calculate the temperature history using another FEM solver (say abaqus), can i import the temperature history (format: time[i], temperature[i]) into the grain-growth application?

Will the temperature be space dependent or just time dependent? PRISMS-PF does not yet have the capability to read field data from a file except during initial conditions. But if the data is only time dependent, a simple method for reading the data and interpolating during the simulation can be implemented within your application (I could help with that). However, the simplest approach would be to fit the data to a functional form (e.g., temperature as a polynomial function of time) beforehand and then implement this function in equations.cc as it is done in the application alloySolidification.

2. or the temperature is calculated by adding a heat-conduction equation alongside with the grain-growth equation, then the mobility is expressed as a function of temperature?

This could be done in principle, however typically, temperature diffuses much faster than the characteristic rate involved in grain growth 
 
3. The grain-growth directed to the temperature gradient (i.e., columnar grain) is most important in my case. Can i get this columnar grain shape with just adjusting the mobility as a function of temperature? 
Thanks.  

I'm not sure I understand the details here. Just to make sure we are on the same page, by "grain growth" do you mean the solidification of grains with different orientation, or the growth of grains that occurs after the microstructure is fully solidified? The latter is the more common use of the term. 
 

On Friday, January 26, 2024 at 11:12:48 PM UTC+8 dmontiel wrote:
Hello, Haibiao

In the grainGrowth and grainGrowth_dream3d apps, temperature is not accounted for directly in the free energy or the governing equations. However, you can incorporate the effect of temperature via the grain boundary mobility. 

For example, if you know the temperature-dependence of the mobility of grain boundaries for the polycrystalline microstructure you want to simulate, you can define the temperature in the "Model Constants" section in the parameters.prm file, Then in customPDE.h you can define the mobility as a function of temperature where the private member variables of the class customPDE are defined. For example, for an Arrhenius-type dependence of the mobility on temperature, it would look like the following:

double T = userInputs.get_model_constant_double("T"); //This assigns the variable "T" to the constant defined as T in parameters.prm
double M=M0*exp(-A/kT);

I hope this helps but let me know if you still have questions.

Best,

David

 

On Fri, Jan 26, 2024 at 6:15 AM Haibiao <tuha...@gmail.com> wrote:
Hello PRISMS-PF,

I want to simulate the grain growth process at different temperatures using grainGrowth_dream3d, but I haven't found parameters to control the temperature. Can you provide some advice for me?"。

Thank you,
Haibiao

--
You received this message because you are subscribed to the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-pf-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-pf-users/10430b54-b946-44ce-8384-de45c2eec599n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-pf-use...@googlegroups.com.

Xuesong Gao

unread,
Oct 14, 2024, 10:49:54 AM10/14/24
to PRISMS-PF Users
Hi David, 

Apology for the misunderstanding here and late response. The 'grain growth' means the grains grow in the solidified microstructure. 
For the temperature integration, my temperature is time and space dependent. I can use some analytical equations of temperature (a function of time and space) for now. 
So in the equations.cc file, the temperature can be calculated in the function of customPDE<dim, degree>::explicitEquationRHS with the value of spacial coordinates (q_point_loc) and time. Does it make sense? 

Thanks. 
Xuesong 

David Montiel

unread,
Oct 14, 2024, 11:04:08 AM10/14/24
to Xuesong Gao, PRISMS-PF Users
That is correct. 

For an example of grain growth application se the grainGrowth and grainGrowth_dream3D apps. For an example of a time ane space varying temperature calculation, see the alloySolidification app.

David

Reply all
Reply to author
Forward
0 new messages