# Have the default values of the entropy viscosity parameters in ASPECT changed?

**URL:** <https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320>\
**Category:** ASPECT\
**Created:** [January 3, 2019, 10:06am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320 "2019-01-03T10:06:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gassmoeller](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/gassmoeller/32/11_2.png) [@gassmoeller](https://community.geodynamics.org/u/gassmoeller)\
**Post date:** [January 3, 2019, 10:06am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/1 "2019-01-03T10:06:42Z")

</div>

On behalf of Gerry Puckett and received on the deprecated mailing list:

Hi,

I’m writing a paper with Jon Robey for Computers & Fluids that describes the implementation of his VOF interface tracking algorithm in ASPECT in great detail. One of the reviewers wrote

- In Section 3.3, the authors describe the use of [the] entropy  
viscosity stabilization technique in the energy (or temperature)  
equation. … I believe the use of such stabilization method[s,]  
akin to artificial diffusion is justifiable only if it does not  
significantly change the engineering results of the problem. The  
authors need to demonstrate that.

- On the related note, the authors also need to show the functional  
form of this entropy and its  
dependence to the local Péclet number. A comment on how they select  
the stabilization parameters  
values are also needed for completeness.

Following the discussion in

[40] Kronbichler, M., Heister, T., Bangerth, W., 2012. High accuracy  
mantle convection simulation through modern numerical methods.  
Geophysical Journal International 191 (1), 12–29.

we have gone into great detail to address the first sentence in 2. above. In particular, in reference [40] on page 18 it is stated that

```
1. ... the constant \alpha_max = 0.026d depends only on the spatial
   dimension d.

2. ... we choose the constant \alpha_max _E = 1, see also the
   discussion in Guermond et al. (2011).

```

However, it seems that Jon has found that in his computations

```
3. "For the temperature-dependent models in this paper, the values
   chosen for the stabilization parameters are the default values
   for ASPECT, \alpha_max = 0.078, and \alpha_E = 0.33."

```

I have asked Jon to double check that this is what is in the parameter file that is output with the values of the parameters that have been used in a particular computation.

Nevertheless, I thought it would be a good idea to ask on aspect-devel what current defaults are.

One other observation. I noticed that

if the dimension d = 3, then we have,

```
   \alpha_max = 0.078 = 0.026 * 3 = = 0.026 * d

```

and then the statement in 1. concerning how \alpha\_max is chosen is  
consistent with the statement in 3., /except that our d should be /d =2.

Also is there a simple way to address this request from the reviewer?

“A comment on how they select the stabilization parameters values  
are also needed for completeness.”

Comments, thoughts, explanations … ?

Thanks for your attention to this issue. I’m trying to ensure that what we write in a refereed journal article about ASPECT is correct, at least at the time at which we wrote it.

Happy New Year!

Gerry

---

<div class="post-metadata">

**Author:** ![gassmoeller](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/gassmoeller/32/11_2.png) [@gassmoeller](https://community.geodynamics.org/u/gassmoeller)\
**Post date:** [January 3, 2019, 10:23am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/2 "2019-01-03T10:23:15Z")

</div>

Hi Gerry,

The entropy viscosity parameters have indeed changed since the first ASPECT paper, (that happened in 2012 already, see [https://aspect.geodynamics.org/doc/doxygen/changes\_between\_0\_81\_and\_0\_82.html](https://aspect.geodynamics.org/doc/doxygen/changes_between_0_81_and_0_82.html)) mostly because the initial parameters were chosen for the temperature equation that contains some natural diffusion. When using these parameters for the composition equation we noticed that oscillations could grow. The new parameters were chosen (if I remember correctly) by running the van Keken Rayleigh-Taylor overturn problem (Keken, P.V., King, S.D., Schmeling, H., Christensen, U.R., Neumeister, D. and Doin, M.P., 1997. A comparison of methods for the modeling of thermochemical convection. _Journal of Geophysical Research: Solid Earth_ , _102_ (B10), pp.22477-22495.) and choosing the smallest values for cR that led to a constant or decreasing maximum and minimum composition value over time.

You are right that the value of beta is currently hardcoded and not changed in dependence of dimensionality as it could be (this would require a bit of technical adjustments). It is also set to 0.078, which was the old recommended value for a 3D model, but is now the recommended value for 2D models as mentioned in the description of this parameter in the manual (so you are fine using it for 2D models). Of course that means the default is actually not optimal for 3D models, but if I remember correctly, beta is more of a hard upper bound for the stabilization in regions with extremely sharp gradients. Nearly all cells do not reach this bound, and so the stabilization is instead governed by cR. It has been a while since I looked into this though, you might want to check this.

In short, while the basic principles of the current stabilization in ASPECT are still the same the parameters have been adjusted to not rely on natural diffusion to provide sufficient stabilization and the formula also has changed a bit (it now also includes a dependence on the strain rate, but that is switched off by default).

Hope that helps,  
Rene

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 3, 2019, 10:41pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/3 "2019-01-03T22:41:12Z")

</div>

Hi, I am trying to determine why (I think) Ying wrote in a previous paper

In our work we do not use a second-order extrapolation to treat the advection  
term (u · ∇T, ψ) and the entropy viscosity term (ν h (T ) ∇T , ∇ψ) Ω explicitly  
in time as described in [41]. We use the fully implicit adaptive Backward Differentiation Formula of order 2 (BDF2) [41, 78] to discretize the temperature equation in time.  
Jon does not know where this came from, and I find it hard to believe that Ying recoded one small piece of the entropy viscosity.

Is this also a default change that was made after

```
[41] Kronbichler, M., Heister, T., Bangerth, W., 2012. High accuracy mantle convection simulation through modern numerical methods. Geophysical Journal International 191 (1), 12–29.

```

was published.

---

<div class="post-metadata">

**Author:** ![gassmoeller](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/gassmoeller/32/11_2.png) [@gassmoeller](https://community.geodynamics.org/u/gassmoeller)\
**Post date:** [January 4, 2019, 9:20am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/4 "2019-01-04T09:20:49Z")

</div>

Hi Gerry,  
yes that is another change that was introduced after the publication of the 2012 paper. See Section 3.1 of the second ASPECT paper:

Heister, T., Dannberg, J., Gassmöller, R., & Bangerth, W. (2017). High accuracy mantle convection simulation through modern numerical methods–II: realistic models and problems. _Geophysical Journal International_ , _210_ (2), 833-851.

Best,  
Rene

---

<div class="post-metadata">

**Author:** ![mibillen](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/mibillen/32/169_2.png) [@mibillen](https://community.geodynamics.org/u/mibillen)\
**Post date:** [January 4, 2019, 4:54pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/5 "2019-01-04T16:54:32Z")

</div>

You will need to ask Ying. I have no idea.  
Magali

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 10, 2019, 9:37pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/6 "2019-01-10T21:37:45Z")

</div>

Rene, May I use you response to my question concerning “How the new parameters were chosen” in my response to a reviewer’s question

```
    "A comment on how they select the stabilization parameters 
     values are also needed "for completeness."

```

Also, do you or anyone else know the answer to

```
    (if I remember correctly)

```

Are the statements following them correct, or should I put the question to the forum community?

Thanks!

- G

---

<div class="post-metadata">

**Author:** ![gassmoeller](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/gassmoeller/32/11_2.png) [@gassmoeller](https://community.geodynamics.org/u/gassmoeller)\
**Post date:** [January 11, 2019, 9:57am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/7 "2019-01-11T09:57:15Z")

</div>

Hi Gerry,  
I found an email thread between Wolfgang and me from 11/12/2012 that discussed these changes and yes you can use my answer for your reply, I remembered correctly.

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 11, 2019, 5:11pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/8 "2019-01-11T17:11:35Z")

</div>

Hi Rene,

Thank you!

– G

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 21, 2019, 3:15am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/9 "2019-01-21T03:15:09Z")

</div>

Hi Rene,

I’m trying to write in our paper your explanation of how the coefficients \alpha\_{max} and \alpha\_E, etc. were chosen. In particular, I am trying to understand what the coefficient or parameter that you call cR is.

But I can’t find a reference to cR in either the 2012 or 2017 papers.

I understand that what is called \alpha\_{max} in the 2012 paper you are referring to as \beta. What are you now calling the parameter that is called \alpha\_E in the 2012 paper?

Is that you refer to as cR? In other words is referred to as \alpha\_{max} in the 2012 paper is what you are calling cR?

Thanks!

- G

---

<div class="post-metadata">

**Author:** ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)\
**Post date:** [January 21, 2019, 5:44pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/10 "2019-01-21T17:44:40Z")

</div>

Gerry, have you checked the manual / parameter documentation in ASPECT?  
Let me quote:

> - set **cR** = _0.33_ [List list of \<[Double 0…MAX\_DOUBLE (inclusive)]\> of length 0…4294967295 (inclusive)]
> 
> - set **beta** = _0.078_ [List list of \<[Double 0…MAX\_DOUBLE (inclusive)]\> of length 0…4294967295 (inclusive)]

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 21, 2019, 6:12pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/11 "2019-01-21T18:12:51Z")

</div>

Hi Timo,

That was going to be my next step, which I left for today. 🙂

I didn’t expect the manual entry to be so detailed that it would state:

> For historical reasons, the name used here is different from the one used in the 2012  
> paper by Kronbichler, Heister and Bangerth that describes ASPECT, see \cite{KHB12}.  
> This parameter corresponds to the factor αE in the formulas following equation (15) of the  
> paper.

That is why I wanted to double check with Rene. These manual entries are great!

May I now ask you an unrelated question? How did you get into the math / LaTeX mode so  
that cR and αE printed correctly, with R and E as subscripts?

Thank you!

- Gerry

---

<div class="post-metadata">

**Author:** ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)\
**Post date:** [January 21, 2019, 6:49pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/12 "2019-01-21T18:49:10Z")

</div>

> [@egpuckett](#):
>
> How did you get into the math / LaTeX mode so  
> that cR and αE printed correctly, with R and E as subscripts?

By writing latex between dollar signs: \sqrt{\frac{1}{\pi}}

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 29, 2019, 3:53am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/13 "2019-01-29T03:53:43Z")

</div>

Rene has explained how the default value of c\_R was chosen; namely,

> The entropy viscosity parameters have indeed changed since the first ASPECT paper, mostly because the initial parameters were chosen for the temperature equation that contains some natural diffusion. When using these parameters for the composition equation we noticed that oscillations could grow. The new parameters were chosen by running the van Keken Rayleigh-Taylor overturn problem (Keken, P.V., King, S.D., Schmeling, H., Christensen, U.R., Neumeister, D. and Doin, M.P., 1997. A comparison of methods for the modeling of thermochemical convection. Journal of Geophysical Research: Solid Earth , 102 (B10), pp.22477-22495.) and choosing the smallest values for c\_R that led to a constant or decreasing maximum and minimum composition value over time.

Could anyone tell me how the default value of \beta was chosen?

---

<div class="post-metadata">

**Author:** ![bangerth](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/bangerth/32/52_2.png) [@bangerth](https://community.geodynamics.org/u/bangerth)\
**Post date:** [January 29, 2019, 4:12am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/14 "2019-01-29T04:12:14Z")

</div>

I think the description in the results section of step-31 is still valid:  
[https://dealii.org/developer/doxygen/deal.II/step\_31.html#Numericalexperimentstodetermineoptimalparameters](https://dealii.org/developer/doxygen/deal.II/step_31.html#Numericalexperimentstodetermineoptimalparameters)  
The exact value of beta may later have been modified, but the methodology to  
choose them was similar to the one discussed in the link above.

Best  
W.

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 29, 2019, 4:41am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/15 "2019-01-29T04:41:59Z")

</div>

Thanks for the quick response!

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 29, 2019, 6:34pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/16 "2019-01-29T18:34:45Z")

</div>

I plan to reference that in my paper. I am trying a BibTeX entry of the following form

> @MISC{BETA-CR:2019,  
> TITLE = {Numerical experiments to determine optimal parameters},  
> YEAR = {2019},  
> howpublished = {{R}eference documentation for deal.II},  
> note = {{T}he step-31 tutorial program},  
> }

However, the entry in the bibliography doesn’t look good:

> References  
> [1] , 2019. Numerical experiments to determine optimal parameters. Reference  
> documentation for deal.II, The step-31 tutorial program.

Note the comma after [1]. I think if I add an author or authors it would be better. If this is OK who should I add as author(s)?

---

<div class="post-metadata">

**Author:** ![bangerth](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/bangerth/32/52_2.png) [@bangerth](https://community.geodynamics.org/u/bangerth)\
**Post date:** [January 29, 2019, 9:59pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/17 "2019-01-29T21:59:59Z")

</div>

I have previously used the following entries for step-31 and step-32:

@Misc{dealiistep31,  
author = {M. Kronbichler and W. Bangerth},  
title = {deal.{II} tutorial program step-31,  
\url{[http://www.dealii.org/developer/doxygen/deal.II/step\_31.html](http://www.dealii.org/developer/doxygen/deal.II/step_31.html)}},  
year = 2011  
}

@Misc{dealiistep32,  
author = {M. Kronbichler and T. Heister and W. Bangerth},  
title = {deal.{II} tutorial program step-32,  
\url{[http://www.dealii.org/developer/doxygen/deal.II/step\_32.html](http://www.dealii.org/developer/doxygen/deal.II/step_32.html)}},  
year = 2011  
}

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 29, 2019, 11:49pm UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/18 "2019-01-29T23:49:19Z")

</div>

Thank you! ❤

> Post must be at least 20 characters  
> Have you tried the ❤ button?

I’m not sure why the heart button is the preferred button, but what the heck! 😃

---

<div class="post-metadata">

**Author:** ![gassmoeller](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/gassmoeller/32/11_2.png) [@gassmoeller](https://community.geodynamics.org/u/gassmoeller)\
**Post date:** [January 30, 2019, 12:06am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/19 "2019-01-30T00:06:04Z")

</div>

I forwarded the post-length issue to Tyler and he fixed it. Any length should be fine from now on.

---

<div class="post-metadata">

**Author:** ![egpuckett](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/egpuckett/32/123_2.png) [@egpuckett](https://community.geodynamics.org/u/egpuckett)\
**Post date:** [January 30, 2019, 12:14am UTC](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320/20 "2019-01-30T00:14:08Z")

</div>

Thanks! (Just testing …) 🙂

[Next page](https://community.geodynamics.org/t/have-the-default-values-of-the-entropy-viscosity-parameters-in-aspect-changed/320.md?page=2)
