Houjun:

Indeed my question is not that clear. The upper panel is actually a 'potential' (phi, solving a Poisson's equation), the lower panel is the x-component of ExB (E=-\nabla phi, B is out of paper), a derivative quantity. This ExB would be used to transport plasma density, (and this plasma density field is then feedback to Poisson's equation through rhs and coef.).

The relevant literatures assume different kinds of BCs, e.g., Neumann for both potential and plasma density in y (one mentioned extrapolation too) and periodic in x. Those simulations usually show a good symmetry in x, but mine shows asymmetry quickly near the top boundary. Although we'll be mainly interested in what'll happen in the interior, this boundary is a nuisance. Don't know how you can enforce \partial rho (density) / \partial y = 0 at the top boundary directly in the transport equation, except modifying the flow field near the boundary?

I think you already fixed the problem, but as a general rule: The questions you ask, namely which boundary condition to choose, is not a mathematical one. It is one of modeling the system you want to simulate. What boundary condition is appropriate depends on what system you try to describe, not whether the results of a simulation appear right or wrong, or convenient or not.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/a50023f9-f821-99cd-a108-a9ce0aed7d2b%40colostate.edu.

Reply via email to