--
To unsubscribe from this group, send email to fipy+uns...@list.nist.gov
View this message at https://list.nist.gov/fipy
---
To unsubscribe from this group and stop receiving emails from it, send an email to fipy+uns...@list.nist.gov.
<CurvatureModelEquations.pdf><MinimalCurvatureModel.py>
On Feb 9, 2022, at 1:48 AM, Matan Mussel <mata...@gmail.com> wrote:
Hi Jonathan,
Thank you for getting back to me. You are correct, these are the same equations I previously asked about. This version is almost the original form (which is attached to this message). Indeed, when usingeq1.solve(dt=dt)
eq2.solve(dt=dt)I do not get an error message. Unfortunately, I don't get anything reasonable either. For simplicity, I set sigma to zero and ignore the third equation just to see if something reasonable occurs for phi (which should maintain its boundary). Unfortunately, already after the first iteration, the phi field becomes almost zero everywhere (see attached two images at t=0 and t=0.0025.
May I ask what is the difference in calculation between using:
eq1.solve(dt=dt)
eq2.solve(dt=dt)
andeq = eq1 & eq2eq.solve(dt=dt)
?
Thank you and it is really great that you guys at NIST provide this lively support.Matan
<phaseFieldCurvatureModel.pdf><CH_0.0025.png><CH_0.0000.png>
On Feb 14, 2022, at 3:57 AM, Matan Mussel <mata...@gmail.com> wrote:
Can you please explain in more detail how to change the solver? In the terminal window I typed "FIPY_SOLVERS=scipy". However, if I then type"python3 -c "from fipy import *; print(DefaultSolver)", the output I receive is <class 'fipy.solvers.petsc.linearGMRESSolver.LinearGMRESSolver'>. This, to the best of my understanding, indicates that the solver I am using is still PETSc. Indeed, I still get the error about the diagonals and cannot see the solutions you describe.
I was also thinking that there may be a sign-error but I double checked with past published works and all use the same equation with similar signs (e.g., equation 29 here).
Thanks again and best regards,
Matan
On Feb 20, 2022, at 10:38 AM, Matan Mussel <mata...@gmail.com> wrote:
Jonathan,
A few comments regarding your version of the code:1. Equation 4 is missing one term (see equation29 in Campelo 2006) which is: "+ fp.ImplicitSourceTerm(coeff=epsilon**2 * phi.faceGrad.divergence, var=sigma)"
2. Instead of using the factor 1e3 in terms containing sigma in equation 4, we can move it to equation 3 as a time scale in order to slow down the transient change of sigma.
3. I changed the code to cylindrical coordinates and I am now trying to identify known solutions (e.g., figure 1 in Campelo 2006). Unfortunately, the parameter values are not well specified. So far, I was unable to obtain physically reasonable solutions. If I'll be able to identify a regime that works I will upload the code here.
Thank you again for your great help,Matan
On Sun, Feb 20, 2022 at 9:23 AM Matan Mussel <mata...@gmail.com> wrote:
Hi Jonathan,
Thank you very much, the modifications you made to the code are incredibly helpful! In particular, the way you rewrote the equation for sigma is something I did not know how to do alone.
I started examining this version of the code. I am still wondering about the equations since after ~500dt the circle takes an octagonal shape, and after ~1100dt the solution diverges. I'll try to use parameters with a known solution. Since the solutions I know of were solved in cylindrical coordinates, I'll try first to convert the code to work with a cylindrical grid.
Thank you again for your significant help,Matan
On Feb 20, 2022, at 2:23 AM, Matan Mussel <mata...@gmail.com> wrote:
Hi Jonathan,
Thank you very much, the modifications you made to the code are incredibly helpful! In particular, the way you rewrote the equation for sigma is something I did not know how to do alone.
I started examining this version of the code. I am still wondering about the equations since after ~500dt the circle takes an octagonal shape, and after ~1100dt the solution diverges. I'll try to use parameters with a known solution. Since the solutions I know of were solved in cylindrical coordinates, I'll try first to convert the code to work with a cylindrical grid.
Thank you again for your significant help,Matan
On Feb 21, 2022, at 7:48 PM, 'Guyer, Jonathan E. Dr. (Fed)' via fipy <fi...@list.nist.gov> wrote:
On Feb 20, 2022, at 2:23 AM, Matan Mussel <mata...@gmail.com> wrote:
I started examining this version of the code. I am still wondering about the equations since after ~500dt the circle takes an octagonal shape, and after ~1100dt the solution diverges. I'll try to use parameters with a known solution. Since the solutions I know of were solved in cylindrical coordinates, I'll try first to convert the code to work with a cylindrical grid.I haven’t observed either, but maybe I didn’t run long enough. The octagonal symmetry doesn’t surprise me; it’s almost certainly “feeling” the edges of the mesh.