prisms-center / phaseField

PRISMS-PF: An Open-Source Phase-Field Modeling Framework
https://prisms-center.github.io/phaseField/
Other
229 stars 119 forks source link

Missing cubic term in model used by alloySolidification app #211

Closed david-montiel-t closed 4 months ago

david-montiel-t commented 4 months ago

The term phi^3 in governing equation 132 from Echebarria et al. (https://doi.org/10.1103/PhysRevE.70.061604). Is missing from the model. Adding this term results in unphysical simulation results with the current settings of the app.

david-montiel-t commented 4 months ago

The term is not missing. It appears by simply rearranging the expression below in the code:

scalarvalueType eq_xi = ((phi-constV(lamda)(U+tep+constV(U_off))(constV(1.0)-phiphi))(constV(1.0)-phi*phi));