-
Notifications
You must be signed in to change notification settings - Fork 33
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
Solve transport problem with open/closed boundary #7
Comments
Hi, your system is very close to what we are doing for semiconductor devices (and, recently, for perovskite solid electrolytes), just without the diffusion. Therefore, the transport part is hyperbolic, and one disclaimer appears to be necessary here: the method is quite bad at capturing sharp shocks as upwinding introduces artificial diffusion. So you need to check if your solution is good enough in this sense. The singular exception happens because I need to think about the bc at the conductive parts. Do you have a formal description for these ? I worked with outflow bc for fluid pronlems, there might be similarities. These are not implemented yet here. As for the field depedency, this can be done with the current version in 1D. For higher dimensions, consistent electric field reonstruction from the two point flux gradients needs a bit of effort. In our C++ code, we did use the gradient of the P1 FEM reconstruction of the solution averaged from the elements having one edge in common. |
Thanks a lot for your response!
There can be indeed sharp shocks. However currently the main quantity of interest for me is collection efficiency. E.g. understanding how many charged particles get collected at the boundaries vs how many neutralize in the chamber. And artificial diffusion does not have a large influence on this.
Ah thanks!
No I do not have a formal description. It would be good to have this formalized better. Operationally I think what needs to be done is
Ah great, can you show how to inform
So in each timestep you solve a What I thought was to estimate |
I would like to compute the steady-state of a particle density
ρ
, that is moved under a velocity fieldv
and is produced at a rates
.-div(vρ) + s = 0
The boundary condition is that particles are free to leave the simulation volume at boundaries, but no particles can enter the simulation that way. (Does this boundary condition have a name?)
I tried
But it errors:
How to solve this problem with
VoronoiFVM.jl
?Background
The above is a simplified example of an issue I face. Really I would like to simulate an ionization chamber. The equations are:
Reactions involving electrons have a dependence on E.
The unknowns are
(φ, E, ρₑ, ρ₋, ρ₊ )
. The other functions/constants are known. I am interested in both time evolution and steady-state (∂ₜρᵢ = 0).Boundary conditions
The boundary decomposes into parts that are conductive Γ₁ and parts that are not Γ₂:
∂Ω = Γ₁ ∪ Γ₂
The boundary condition for the charge carriers ρᵢ is:
The text was updated successfully, but these errors were encountered: