Jared Barber (jared_barber)
Member Username: jared_barber
Post Number: 9 Registered: 01-2007
| Posted on Saturday, June 30, 2007 - 05:01 am: | |
I want to model, in 2-d, a rigid moving circle through a tube of 2-d Poiseuille flow. I have attached the code that I have written to try and accomplish this task. FlexPDE5 complains that a number I use inside of the boundaries section is not a constant. I realize FlexPDE5 may not be written to support nonconstant functions, but ideally I'd like FlexPDE5 to evaluate x0 at whatever time step it is on (it is only a function of time and as such always remains constant during any given time step) and use that constant to construct the boundary of my circle at that time step. How can I do this without calling FlexPDE5 from some other program? I want to use FlexPDE5's time integrator. In addition, I would love it if there was some way to make a condition which, when met, the time integration would stop (rather than the time integration having to be defined beforehand between two constants). Hopefully either FlexPDE5 can do this or can be made to do this. If FlexPDE5 can't do this yet, I imagine it would not be hard for them to be incorporated. Let me know, Jared |