-
Notifications
You must be signed in to change notification settings - Fork 36
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
time derivative dependent source/reaction term #113
Comments
Isn't this already included in your storage term ? |
Well, I added in the storage term, but i think we should not add in the storage term. I was wondering if there is a way to add this term in the reaction or source term? Here is the paper (https://doi.org/10.1016/j.est.2022.104892). Arguello, M.E., Labanda, N.A., Calo, V.M., Gumulya, M., Utikar, R. and Derksen, J., 2022. Dendrite formation in rechargeable lithium-metal batteries: Phase-field modeling using open-source finite element library. Journal of Energy Storage, 53, p.104892. |
Ok I will think about a simpler test problem which (hopefully...) proves to you that adding this in the storage term is correct... Anyway interesting and challenging application. I am also working partially in electrochemistry, so getting this working would be really interesting for me. If you are interested, we could work on this together on a shared repository. Please note however that this would be not the only problem I am working on... |
Hi Jurgen, I will be happy to work with you on this problem. I will create the repository and share with you shortly. Thank you. |
Hi I am trying to solve the following set of PDEs:
I have implemented the reaction term:
function reactionLi!(f,u,node)
f[ξₙ] = -Lₙdh_dξ(u[ξₙ])((exp((1-α)neFu[ϕₙ]/R/T)) - u[ζₙ](exp(-αneFu[ϕₙ]/R/T))) - Lσdg_dξ(u[ξₙ])
end
Here is my storage term:
function storageLi!(f,u,node)
f[ξₙ] = u[ξₙ]
f[ζₙ] = u[ζₙ]+(Cₘₛ/C₀)u[ξₙ]#ξₙ_val
f[ϕₙ] = neFCₘₛu[ξₙ]
end
The ζₙ indeed includes the time derivative of ξₙ, as a reaction/source term, I do not know how I can pass this time derivative as a reaction/source term. Could you please mind to help on this issue?
The text was updated successfully, but these errors were encountered: