-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling integral terms with FiPy #824
Comments
Hi Pavan,
I don't think FiPy handles these types of equations very well. They are
purely hyperbolic looking at the paper. FiPy also hasn't got any examples
with integral terms though I imagine those could be implemented.
Regardless, it's not FiPy's strong point. You might want to look into
Clawpack as an alternative for high resolution sharp interface tracking
solvers.
Cheers,
Daniel
…On Fri, Oct 1, 2021 at 1:58 AM Pavan Inguva ***@***.***> wrote:
Hi
I was wondering if it is FiPy currently includes any support for PDEs with
integral terms e.g. population balance models with integral terms to
account for breakage etc (see
https://aiche.onlinelibrary.wiley.com/doi/full/10.1002/aic.11484 for a
bit more detail). If not, would it be possible to use a scipy function call
and supply that result as an explicit source term?
Thanks for the help!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#824>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPFCHAILSZIOS6256OXXRDUEVEX7ANCNFSM5FD4WIXA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Daniel Wheeler
|
Hi Daniel, thanks for the quick reply. It is also possible to include a diffusion term with those models, hence I wasnt too focused on the fact that many of these models are violently hyperbolic. How would you suggest I go about implementing those integral terms? Would the scipy route be a good first guess? Best |
Hi! Would like to ask a follow-up question. How would I go about implementing the Mckendrick-von Foerster equation which has a funky bc df/dt + df/da = -k(a) f, f(t,0) = \int_{0}^{\infty} b(a) f(t,a) da, where b(a) is some sort of analytical function with respect to a. I guess one strategy could be to include a explicit source term at the first node of the domain and compute the integral and pass it to the source? But that seems like quite an unelegant implementation. I am aware of the hyperbolic nature of this PDE, but the Van-Leer scheme seems to work quite well with this, so I would think FiPy should be able to handle it. Thanks for the help! |
No activity in 6 months |
Hi
I was wondering if it is FiPy currently includes any support for PDEs with integral terms e.g. population balance models with integral terms to account for breakage etc (see https://aiche.onlinelibrary.wiley.com/doi/full/10.1002/aic.11484 for a bit more detail). If not, would it be possible to use a scipy function call and supply that result as an explicit source term?
Thanks for the help!
The text was updated successfully, but these errors were encountered: