From 33c72cc4c4ed2caf7e3de78ee24bb1668ef2e739 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 20 Sep 2012 13:01:28 +0100 Subject: [PATCH] ENH: etc/controlDict: added dimensionSet symbols --- etc/controlDict | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/etc/controlDict b/etc/controlDict index 04ec43aca08..2199d7ec7a9 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -964,4 +964,34 @@ DimensionedConstants } +DimensionSets +{ + unitSet SI; // USCS + + SICoeffs + { + // Basic units + kg kg [ 1 0 0 0 0 0 0 ] 1.0; + m m [ 0 1 0 0 0 0 0 ] 1.0; + s s [ 0 0 1 0 0 0 0 ] 1.0; + K K [ 0 0 0 1 0 0 0 ] 1.0; + mol mol [ 0 0 0 0 1 0 0 ] 1.0; + A A [ 0 0 0 0 0 1 0 ] 1.0; + Cd Cd [ 0 0 0 0 0 0 1 ] 1.0; + + // Derived units + Pa Pa [ kg^1 m^-2 ] 1.0; + + // Scaled units + mm mm [ kg^1 m^-2 ] 1e-3; + + + // Set of units used for printing. Can be any basic or derived + // but not scaled (only supported for dimensionedScalar, etc) + printUnits (kg m s K mol A Cd); + } +} + + + // ************************************************************************* // -- GitLab