This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
faq [2022/10/26 18:49] marijn.nijenhuis [3. Changing units] |
faq [2023/11/09 22:30] (current) marijn.nijenhuis [3. Changing units] |
||
---|---|---|---|
Line 46: | Line 46: | ||
===== 3. Changing units ===== | ===== 3. Changing units ===== | ||
- | When the system parameters are expressed with very small numbers, you may receive the warning "Mass coefficients turn out to be very small" or related error " | + | When the system parameters are expressed with very small numbers, you may receive the warning "Mass coefficients turn out to be very small" or the related error " |
The example file that comes with SPACAR Light assumes meters as the default unit for length. To change to other units, your script should be adjusted in several places, depending on how each physical quantity scales with the length L: | The example file that comes with SPACAR Light assumes meters as the default unit for length. To change to other units, your script should be adjusted in several places, depending on how each physical quantity scales with the length L: | ||
Line 53: | Line 53: | ||
* (rotations in radians are independent of length) | * (rotations in radians are independent of length) | ||
* moment of inertia ('' | * moment of inertia ('' | ||
- | * forces ('' | + | * forces ('' |
- | * moments ('' | + | * moments ('' |
* material stiffness properties ('' | * material stiffness properties ('' | ||
* material density ('' | * material density ('' | ||
* cross-sectional dimensions ('' | * cross-sectional dimensions ('' | ||
- | * gravitational acceleration ('' | + | * gravitational acceleration ('' |
- | In other words, if your script assumes meters as the unit for length, and you want to go to millimeters, | + | In other words, if your script assumes meters as the unit for length, and you want to go to millimeters, |
Note that output values, so numbers you see in the '' | Note that output values, so numbers you see in the '' |