Hello everyone,
I am implementing an ice phase-field model in PRISMS-PF and need to introduce a modified gradient operator acting on the field , as part of the model formulation.
Specifically, I would like to define a gradient variant of the form:
grad_gamma(u, gamma)
As a first step, I plan to implement a fixed version:
grad2(u) corresponding to gamma = 2
before generalizing it to a user-defined parameter gamma.
My questions are:
Has a similar gradient variation (e.g., scaled, weighted, or gamma-dependent gradient) already been implemented in any existing PRISMS-PF ice or phase-field applications?
In PRISMS-PF, is the recommended approach to:
construct this directly in the RHS evaluation using grad(u) and returning a modified scalargradType, or
introduce a new helper/operator at a lower level?
If gamma should be user-defined via the parameter file, is there a preferred pattern for passing it cleanly into the gradient calculation?
Any references to existing examples or guidance on best practices would be greatly appreciated.
Thank you.
--
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 visit https://groups.google.com/d/msgid/prisms-pf-users/d33e72d5-a899-4b9a-b31a-7d4152808be0n%40googlegroups.com.
From the paper, I see gradient terms written with a subscript Gamma (∇_Γ), which appears to indicate an interface/surface gradient, while elsewhere Gamma (Γ) is also used as a model parameter listed in the table of constants.
I am currently unsure whether:
this requires implementing a new gradient operator (e.g., a surface/interface gradient), or
Gamma is meant to be used only as a parameter that scales existing coefficients multiplying the standard gradient.
I will provide the relevant equations, parameter table, and a link to the paper PDF for reference. https://www.nature.com/articles/s41524-017-0015-1.pdf
Any guidance on the intended interpretation and recommended implementation approach in PRISMS-PF would be greatly appreciated.
Thank you.


To view this discussion visit https://groups.google.com/d/msgid/prisms-pf-users/9206439f-f70c-4d0d-86dd-efaee94c2ba9n%40googlegroups.com.

Hello David,
Thank you very much for the explanation, that cleared things up for me. I can see now how the grad_gamma term is defined and how it can be implemented as an anisotropic bulk gradient using the constant matrix.
I’ll go ahead and try implementing it following your suggestion. If I run into any questions or issues along the way, I’ll reach out.
Thanks again for taking the time to help.
Best regards,
Jorge