On Wed, Apr 17, 2024 at 9:33 AM Nils Winkler <winklernil...@gmail.com> wrote:
>
> Hi,
>
> I am using fipy to deal with a system of three coupled nonlinear partial 
> differential equations. Two dependent parameters have Naumann BCs and one 
> periodic BCs. Is it possible to implement these at the same time?
>
> Using only a periodic mesh with internal BCs for the Naumann BC does not work 
> because the respective two dependent parameters are not continuous at the 
> boundary.
> Can one somehow combine a periodic with a normal mesh? Or is it possible to 
> use a normal mesh and impose periodic boundary conditions internally?

Yes, you can do that. You'll have to define the dependent variables
across both the domains and map the variable values over at each sweep
/ timestep so there will be some overhead.

-- 
Daniel Wheeler

-- 
To unsubscribe from this group, send email to fipy+unsubscr...@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+unsubscr...@list.nist.gov.

Reply via email to