Skip to content
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

Scale of E (Young modulus), units of rho, size #61

Open
r03ert0 opened this issue Sep 6, 2020 · 0 comments
Open

Scale of E (Young modulus), units of rho, size #61

r03ert0 opened this issue Sep 6, 2020 · 0 comments

Comments

@r03ert0
Copy link

r03ert0 commented Sep 6, 2020

Hello,

The mpm_solver.py code has independent parameters for scaling dt and E. Shouldn't there be only a scaling for dt, and the scaling of E be computed just from the change in units? Units of E are kg/(m*s^2), so if time units are t=s*scale, then Et = kg/(m*t^2) = (1/scale^2)*E, and E_scale = (1/scale^2) . In the demo_3d_letters2.py, for example, dt_scale=0.5, but E_scale=8 instead of E_scale=(1/0.5^2)=4.

By the way, units are supposed to be MKS everywhere, yes? So density rho is 1000 kg/m^3, like water, and g=9.8 m/s^2 (which should be scaled if dt_scale!=1?). And the default size=1 means the simulation box has dimension 1m?

Thank you!

@r03ert0 r03ert0 changed the title Scale of E (Young modulus), units of rho. Scale of E (Young modulus), units of rho, size Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant