Due to the variety of wave-equations and source-time functions one can use in Salvus Compute, the question of "which units are my results out put in?" can be non-trivial. If you are interested in precicely determining the units of input and output, please read on.
Within Salvus we consider a formulation of the acoustic wave equation based on a scalar displacement potential. The strong form of this equation is:
Here represents density, is the speed of sound, and by definition the units of the state variable are . Depending on the units of our forcing term , physically useful units can be extracted from the solution as follows.
Desired output | Symbol | Field to save | Further operations |
---|---|---|---|
Pressure () | ["phi_t"] | None | |
Particle velocity () | ["gradient-of-phi"] | Multiply by the inverse density |
Desired output | Symbol | Field to save | Further operations |
---|---|---|---|
Pressure () | ["phi"] | Multiply by the inverse density | |
Particle velocity () | ["gradient-of-phi"] | Multiply by the inverse density squared |
For more information on the physical equations solved in Salvus, please check out our paper here. Additionally, a complete list of fields which can be output can be found in the documentation.