-
Notifications
You must be signed in to change notification settings - Fork 25
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
Normalized units ? #3
Comments
The default of PICMI is SI for now. For application to a code that supports other units, I can see two possibilities: |
I see one problem about both solutions. There is no unique way to convert from natural units (which are arbitrary) to any other absolute system of units (like SI). If an input file is defined in natural units, then codes which use SI won't work, which is very significant IMO. In Smilei we chose to keep natural units to ensure generality (typically, astrophysical simulations hate microns). |
If there is an infinite possibility for converting from a natural units system to SI, then the layer that does the conversion just picks one. In the end, either the simulation studies some physics and it does not matter what the actual dimensions of quantities are, either it is related to say an experimental setup and the input script should actually use the actual dimensions (whether it is in SI, cgs or other). |
If there is a layer that does the conversion, then should the outputs be converted back ? Would that be a requirement for all codes to support all conversions ? |
This would be taken care of with the OpenPMD format, assuming that the code used supports it for its data output. |
From what the standard looks like right now, I believe units are in SI, or at least in usual explicit units (e.g. microns).
Is there a plan to switch to the natural set of units for Maxwell/Vlasov codes ?
See for instance Smilei's doc.
The text was updated successfully, but these errors were encountered: