-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
R of x gets passed dimensionless x #1236
Comments
actually, more consistent with other things (e.g. initial solid concentration) to write it as a function of dimensionless through-cell position, i.e. inputs = {"Dimensionless through-cell position (x_n)": x}
return pybamm.FunctionParameter("Negative particle distribution in x", inputs) |
Looking at this again, why do we separate the particle radius and its dependence in x into two separate parameters? Wouldn't it be clearer if it was always a single (dimensional input, dimensional output) parameter? |
yeah that would be cleaner. i think we kept it separate so that we had a reference radius to use in the non-dimensionlisation, though i guess you just take the average for that |
Yeah, or evaluate at x=0 and x=1 (might have issues with the average not being defined until discretisation) |
The functions
R_n_of_x
etc. get passed dimensionlessx
but this doesn't get scaled when passed to theFunctionParameter
which depends onx [m]
, e.g.should be
since thicknesses are scaled by
L_x
The text was updated successfully, but these errors were encountered: