SV: Solving the Cahn-Hilliard equation

2014-04-07 Thread Joakim Odqvist
Hi Jon, Thanks! It works perfectly. However, we are also trying to implement a sensible adaptive time-step control for this problem and have faced some problems. If the default solver (trilinos LinearGMRESSolver) is used we find that the mobility/diffusion coefficient and the thermodynamic

Re: Solving the Cahn-Hilliard equation

2014-04-07 Thread Guyer, Jonathan E. Dr.
On Apr 7, 2014, at 4:42 AM, Joakim Odqvist odqv...@kth.se wrote: If the default solver (trilinos LinearGMRESSolver) is used we find that the mobility/diffusion coefficient and the thermodynamic factor is only evaluated at the beginning of the time-step which causes numerical instabilities if

SV: Solving the Cahn-Hilliard equation

2014-04-07 Thread Joakim Odqvist
Hi, Thank you for the quick reply. This is a real problem we have at the moment, and the coeff doesn't (as far as we can see) update itself. No, you are right, the specific solver shouldn't have any bearing on this problem I guess. Joakim -Ursprungligt meddelande- Från:

Re: Parallel meshing

2014-04-07 Thread Daniel Wheeler
On Thu, Apr 3, 2014 at 1:08 PM, Seufzer, William J. (LARC-D307) bill.seuf...@nasa.gov wrote: Dan, Do you mean to set the environment variable with os.environ? Would this be different from setting the variable as part of the PBS start up script? Yes. Are you suggesting that all cores are

Variable -- Term

2014-04-07 Thread Charles Reid
Hi there, I'm attempting to implement an operator-split scheme that requires me to apply an Adams Bashforth scheme to a convection term (distinct from other terms, like diffusion or reaction). The Fipy example covering the similar Crank-Nicholson scheme showed the approach for an entire equation,

Re: Variable -- Term

2014-04-07 Thread Charles Reid
(Oops, that CellVariable should be a FaceVariable.) Charles On Mon, Apr 7, 2014 at 11:08 AM, Charles Reid charlesre...@gmail.comwrote: Hi there, I'm attempting to implement an operator-split scheme that requires me to apply an Adams Bashforth scheme to a convection term (distinct from