File: units_fr.dat

package info (click to toggle)
convertall 0.7.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,724 kB
  • sloc: python: 2,289; makefile: 8
file content (756 lines) | stat: -rw-r--r-- 26,297 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
#*****************************************************************************
# units.dat, the units data file, version 0.6.0
#
# ConvertAll, a units conversion programme
# Copyright (C) 2014, Douglas W. Bell
#
# This is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License, Version 2.  This programme is
# distributed in the hope that it will be useful, but WITTHOUT ANY WARRANTY.
#*****************************************************************************
#
# Units are defined by an optional quantity and an equivalent unit or unit
# combination.  A python expression may be used for the quantity, but is
# resticted to using only the following operators: *, /, +, -, **, (, ).
# Beware of integer division truncation: be sure to use a float for at
# least one of the values.
#
# The unit type must be placed in square brackets before a set of units.
# The first comment after the equivalent unit will be put in parenthesis after
# the unit name (usually used to give the full name of an abbreviated unit).
# The next comment will be used in the programme list's comment column;
# later comments and full line comments are ignored.
#
# Non-linear units are indicated with an equivalent unit in square brackets,
# followed by either equations or equivalency lists for the definition.
# For equations, two are given, separated by a ';'.  Both are functions of
# "x", the first going from the unit to the equivalent unit and the second
# one in reverse.  Any valid Python expression returning a float (including 
# the functions in the math module) should work.  The equivalency list is a 
# python list of tuples giving points for linear interpolation.
#
# All units must reduce to primitive units, which are indicated by an
# equivalent unit starting with '!'.  A special "unitless" primitve unit
# (usualty called "unit") has '!!' for an equivalent unit.  Circular references
# must also be avoided.
#
# Primitive units:  kg, m, s, K, A, mol, cd, rad, sr, bit, unit
#
##############################################################################

#
# mass units
#
[masse]
kg                = !                  # kilogramme
kilogramme          = kg
key               = kg                 # # jargon de drogue
hectogramme         = 100 gramme
decagramme          = 10 gramme
gramme              = 0.001 kg
g                 = gramme               # gramme
decigramme          = 0.1 gramme
centigramme         = 0.01 gramme
milligramme         = 0.001 gramme
mg                = milligramme          # milligramme
microgramme         = 0.001 mg
tonne             = 1000 kg            # # metriqu
tonne metrique        = tonne
megagramme          = tonne
kilotonne         = 1000 tonne         # # metrique
gigagramme          = 1e9 gramme
teragramme          = 1e12 gramme
carat             = 0.2 gramme
ct                = carat              # carat
amu               = 1.66053873e-27 kg  # masse atomique
masse atomique  = amu
livre             = 0.45359237 kg
lb                = livre              # livres
lbm               = livre              # livres
once             = 1/16.0 livre
oz                = once              # once
lid               = once              # # jargon de drogue
livre troy        = 5760 grain
lb troy           = livre troy         # livre troy
once troy        = 1/12.0 lb troy
oz troy           = once troy         # once troy
ton               = 2000 lb            # # impériale
kiloton           = 1000 ton           # # impériale
slug              = lbf*s^2/ft
stone             = 14 lb
grain             = 1/7000.0 lb
pennyweight       = 24 grain
masse solaire        = 1.9891e30 kg


#
# length / distance units
#
[longueur]
m                    = !              # mètre
mètre                = m
decimètre            = 0.1 m
cm                   = 0.01 m         # centimètre
centimètre           = cm
mm                   = 0.001 m        # millimètre
millimètre           = mm
micromètre           = 1e-6 m
micron               = micromètre
nanomètre            = 1e-9 m
nm                   = nanomètre      # nanomètre
decamètre            = 10 m
hectomètre           = 100 m
km                   = 1000 m         # kilomètre
kilomètre            = km
megamètre            = 1000 km
angstrom             = 1e-10 m
fermi                = 1e-15 m        # # grandeur nucléaire
pouce                 = 2.54 cm
in                   = pouce         # pouce
inches               = pouce
mil                  = 0.001 pouce
microinch            = 1e-6 pouce
microinches          = microinch
pied                 = 12 pouce
ft                   = pied           # pied
feet                 = pied
pied US survey       = 1200/3937.0 m
verge                 = 3 ft
yd                   = verge           # verge
mile                 = 5280 ft
mi                   = mile           # mille
nautical mile        = 1852 m
nmi                  = nautical mile  # mille nautique
league               = 3 mile
chain                = 66 ft
brasse               = 6 ft
fm		     = brasse
perche                  = 5.5 verge
furlong              = 40 perche
main                 = 4 pouce
cubit                = 21.8 pouce      # # coudée biblique
point                = 1/72.0 pouce      # # point de caractère
pica                 = 12 point
calibre              = 1.0 pouce       # # calibre d'une arme
terrain de football  = 100 yd
marathon             = 46145 yd
mille suedois          = 10 km
ua                   = 1.49597870691e11 m   # unité astronomique
unite astronomique    = ua
annee lumiere           = 365.25 vitesse lumiere * jour
minute lumiere         = vitesse lumiere * min
seconde lumiere        = vitesse lumiere * s
parsec               = 3.0856775813e16 m
kiloparsec           = 1000 parsec
megaparsec           = 1000 kiloparsec
screw size           = [in] 0.013*x + 0.06 ; (x - 0.06) / 0.013 \
                       # # Diamètre unifié, non linéaire
AWG                  = [in] 92.0**((36-x)/39.0)/200.0 ; \
                       36 - 39.0*log(200.0*x)/log(92.0) \
                       # Diamètre de câble électrique \
                       # utilisé -1, -2 for 00, 000; non linéaire
American Wire Gauge  = [in] 92.0**((36-x)/39.0)/200.0 ; \
                       36 - 39.0*log(200.0*x)/log(92.0) \
                       #  # utilisé -1, -2 for 00, 000; non linéaire
standard gauge       = [in] [(-5, .448350), (1, .269010), (14, .0747250), \
                       (16, .0597800), (17, .0538020), (20, .0358680), \
                       (26, .0179340), (31, .0104615), (36, .00672525), \
                       (38, .00597800)] # acier \
                       # Diamètre standard, non linéaire
zinc gauge           = [in] [(1, .002), (10, .02), (15, .04), (19, .06), \
                       (23, .1), (24, .125), (27, .5), (28, 1)]  \
                       # # épaisseur de la feuille de métal, non linéaire
taille bague            = [in] 0.1018*x + 1.4216 ; (x - 1.4216) / 0.1018  \
                       # # Taille américaine, circ., non linéaire
grandeur soulier homme       = [in] x/3.0 + 7 + 1/3.0 ; (x - 7 - 1/3.0) * 3 \
                       # # Taille américainre, non linéaire
grandeur soulier femme     = [in] x/3.0 + 6 + 5/6.0 ; (x - 6 - 5/6.0) * 3 \
                       # # Taille américainre, non linéaire


#
# unités de temps
#
[temps]
s             = !                 # seconde
sec           = s                 # seconde
seconde        = s
ms            = 0.001 s           # milliseconde
milliseconde   = ms
microseconde   = 1e-6 s
ns            = 1e-9 s            # nanoseconde
nanoseconde    = ns
minute        = 60 s
min           = minute            # minute
heure          = 60 min
hr            = heure              # heure
bell          = 30 min            #  # définition nautique
watch         = 4 heure
watches       = watch
jour           = 24 hr
semaine          = 7 jour
wk            = semaine              # semaine
fortnight     = 14 jour
mois         = 1/12.0 annee
annee          = 365.242198781 jour
yr            = annee              # année
annee calendrier = 365 jour
decennie        = 10 annee
siecle       = 100 annee
siecles     = siecle
millenaire    = 1000 annee
millennia     = millenaire
[horaire]
man heure      = 168/40.0 heure
man week      = 40 man heure
man month     = 1/12.0 man year
man year      = 52 man week


#
# température
#
[temperature]
K                 = !     # Kelvin
Kelvin            = K
deg K             = K     # Kelvin
degree Kelvin     = K

C                 = [K] x + 273.15 ; x - 273.15  # Celsius  # non linéaire
Celsius           = [K] x + 273.15 ; x - 273.15  #          # non linéaire
deg C             = [K] x + 273.15 ; x - 273.15  # Celsius  # non linéaire
degre Celsius    = [K] x + 273.15 ; x - 273.15  #          # non linéaire

R                 = 5/9.0 K     # Rankine
Rankine           = R
deg R             = R           # Rankine
F                 = [R] x + 459.67 ; x - 459.67  # Fahrenheit  # non linéaire
Fahrenheit        = [R] x + 459.67 ; x - 459.67  #             # non linéaire
deg F             = [R] x + 459.67 ; x - 459.67  # Fahrenheit  # non linéaire
degree Fahrenheit = [R] x + 459.67 ; x - 459.67  #             # non linéaire

[temp. diff.]
C deg             = K        # degré Celsius
Celsius degree    = C deg
F deg             = R        # degré Fahrenheit
Fahrenheit degree = F deg


#
# electrical units
##
[intensité du courrant]
A              = !              # ampère
ampère         = A
amp            = A
milliampère    = 0.001 A
milliamp       = milliampère
mA             = milliampère    # milliamèpre
microampère    = 0.001 mA
kiloampère     = 1000 A
kA             = kiloampère     # kiloampère
[charge]
coulomb        = A*s
amp heure       = A*hr
mAh            = 0.001 amp heure # miliampère-heure
milliamp heure  = mAh
[voltage]
volt           = W/A
V              = volt           # volt
millivolt      = 0.001 volt
mV             = millivolt      # millivolt
kilovolt       = 1000 volt
kV             = kilovolt       # kilovolt
[resistance]
ohm            = V/A
milliohm       = 0.001 ohm
microhm        = 0.001 milliohm
kilohm         = 1000 ohm
[conductance]
siemens        = A/V
[capacité]
farad          = coulomb/V
millifarad     = 0.001 farad
microfarad     = 0.001 millifarad
nanofarad      = 1e-9 farad
picofarad      = 1e-12 farad
[flux mag.]
weber          = V*s
Wb             = weber          # weber
maxwell        = 1e-8 Wb
[inductance]
henry          = Wb/A
H              = henry          # henry
millihenry     = 0.001 henry
mH             = millihenry     # millihenry
microhenry     = 0.001 mH
[flux de densité]
tesla          = Wb/m^2
T              = tesla          # tesla
gauss          = maxwell/cm^2


#
# molecular units
#
[quantité moléculaire]
mol          = !           # mole       # masse molaire
mole         = mol         #            # masse molaire
gramme mole    = mol
kilomole     = 1000 mol
kmol         = kilomole    # kilomole
livre mole   = mol*lbm/gramme
lbmol        = livre mole  # mole-livres
[nombre d'atomes]
avogadro     = gramme/(amu*mol)


#
# Illumination units
#
[lum. intens.]
cd          = !          # candela
candela     = cd

[flux lumineux]
lumen        = cd * sr
lm           = lumen     # lumen

[illuminance]
lux          = lumen/m^2
footcandle   = lumen/ft^2
mètrecandle  = lumen/m^2

[luminance]
lambert      = cd/(pi*cm^2)
millilambert = 0.001 lambert
footlambert  = cd/(pi*ft^2)


#
# angular units
#
[angle]
radian      = !
rad         = radian         # radian
cercle      = 2 pi*radian
tour        = cercle
revolution  = cercle
rev         = revolution     # tour
degre      = 1/360.0 cercle
deg         = degre         # degré
arc min     = 1/60.0 degre  # minute
arc minute  = arc min
min arc     = arc min        # minute
minute arc  = arc min
arc sec     = 1/60.0 arc min # seconde
arc seconde  = arc sec
sec arc     = arc sec        # seconde
seconde arc  = arc sec
quadrant    = 1/4.0 cercle
right angle = quadrant
gradian     = 0.01 quadrant


#
# solid angle units
#
[angle dans les solides]
sr         = !      # stéradian
steradian  = sr
sphère     = 4 pi*sr
hemisphère = 1/2.0 sphère


#
# information units
#
[données informatiques]
bit              = !
kilobit          = 1000 bit          #                  # en base 10
megabit          = 1000 kilobit      #                  # en base 10
byte             = 8 bit
B                = byte              # byte
kilobyte         = 1024 byte         #                  # en binaire
kB               = kilobyte          # kilobyte         # en binaire
megabyte         = 1024 kB           #                  # en binaire
MB               = megabyte          # megabyte         # en binaire
gigabyte         = 1024 MB           #                  # en binaire
GB               = gigabyte          # gigabyte         # en binaire
terabyte         = 1024 GB           #                  # en binaire
TB               = terabyte          # terabyte         # en binaire
petabyte         = 1024 TB           #                  # en binaire
PB               = petabyte          # petabyte         # en binaire

kilobyte IEC std = 1000 byte         #                  # en base 10
kB IEC std       = kilobyte IEC std  # kilobyte         # en base 10
megabyte IEC std = 1000 kB IEC std   #                  # en base 10
MB IEC std       = megabyte IEC std  # megabyte         # en base 10
gigabyte IEC std = 1000 MB IEC std   #                  # en base 10
GB IEC std       = gigabyte IEC std  # gigabyte         # en base 10
terabyte IEC std = 1000 GB IEC std   #                  # en base 10
TB IEC std       = terabyte IEC std  # terabyte         # en base 10
petabyte IEC std = 1000 TB IEC std   #                  # en base 10
PB IEC std       = petabyte IEC std  # petabyte         # en base 10

kibibyte         = 1024 byte
KiB              = kibibyte          # kibibyte
mebibyte         = 1024 KiB
MiB              = mebibyte          # mebibyte
gibibyte         = 1024 MiB
GiB              = gibibyte          # gibibyte
tebibyte         = 1024 GiB
TiB              = tebibyte          # tebibyte
pebibyte         = 1024 TiB
PiB              = pebibyte          # pebibyte

[transfert de donnée]
bps              = bit/sec           # bits / seconde
kbps             = 1000 bps          # kilobits / sec.  # en base 10


#
# Unitless numbers
#
[quantitée]
unite               = !!
1                  = unite            # unité
pi                 = 3.14159265358979323846 unite
paire               = 2 unite
tour du chapeau          = 3 unite          # # sports
douzaine              = 12 unite
doz                = douzaine           # douzaine
trieze à la douzaine       = 13 unite
score              = 20 unite
grosse              = 144 unite
grande grosse        = 12 grosse
ream               = 500 unite
pourcent            = 0.01 unite
%                  = pourcent
millieme               = 0.001 unite
[taux d'intérêt]
APR                = [unite] log(1 + x/100) ;  (exp(x) - 1)*100 \
                     # annual % rate # based on continuous comlivreing
[concentration]
proof              = 1/200.0 unite    # # contenant d'alcool
ppm                = 1e-6 unite       # parties par million
partie par million  = ppm
ppb                = 1e-9 unite       # parties par milliard
partie par milliard  = ppb
ppt                = 1e-12 unite      # parties par billion
partie par billion = ppt
karat              = 1/24.0 unite     # # pureté de l'or
carat d'or         = karat           # # pureté de l'or


#
# force units
#
[force]
newton         = kg*m/s^2
N              = newton          # newton
dekanewton     = 10 newton
kilonewton     = 1000 N
kN             = kilonewton      # kilonewton
meganewton     = 1000 kN
millinewton    = 0.001 N
dyne           = cm*g/s^2
kg force       = kg * acceleration gravitationnelle    # kilogramme-force
kgf            = kg force        # kilogramme-force
kilogramme force = kg force
gramme force     = g * acceleration gravitationnelle
livre force    = lbm * acceleration gravitationnelle
lbf            = livre force     # livres-force
tonne force      = tonne * acceleration gravitationnelle
once force    = once * acceleration gravitationnelle
ozf            = once force     # once-force


#
# area units
#
[aire]
barn          = 1e-28 m^2       # # physique des particules
are           = 100 m^2
decare        = 10 are
dekare        = 10 are
hectare       = 100 are
acre          = 10 chain^2
section       = mile^2
township      = 36 section
homestead     = 160 acre
rai           = 1600 m^2        # # Thai
ngaan         = 400 m^2         # # Thai
circular pouce = 1/4.0 pi*in^2   # # cercle d'un pouce de surface
circular mil  = 1/4.0 pi*mil^2  # # cercle d'un mille de surface


#
# volume units
#
[volume]
cc                   = cm^3                 # centimètre cube
centimètre cube     = cc
litre                = 1000 cc
l                    = litre                # litre
liter                = litre
decilitre            = 0.1 litre
centilitre           = 0.01 litre
millilitre           = cc
ml                   = millilitre           # millilitre
dekalitre            = 10 litre
hectolitre           = 100 litre
kilolitre            = 1000 litre
kl                   = kilolitre            # kilolitre
megalitre            = 1000 kilolitre
gallon               = 231 in^3             #             # US liquide
gal                  = gallon               # gallon      # US liquide
quart                = 1/4.0 gallon         #             # US liquide
qt                   = quart                # litre       # US liquide
pint                 = 1/2.0 quart          #             # US liquide
pt                   = pint                 # pinte        # US liquide
once liquide          = 1/16.0 pint          #             # US
fl oz                = once liquide          # once liquide # US
impérial gallon      = 4.54609 litre
imp gal              = impérial gallon      # gallon impérial
gallon impérial      = impérial gallon
impérial quart       = 1/4.0 imp gal
imp qt               = impérial quart       # litre impérial
quart impérial       = impérial quart
impérial pint        = 1/8.0 imp gal
imp pt               = impérial pint        # pinte impériale
pint impérial        = impérial pint
once liquide impériale = 1/160.0 imp gal
imp fl oz            = once liquide impériale # once liquide impériale
tasse                  = 8 fl oz
cuillier a table           = 1/16.0 tasse
c-a-t                 = cuillier a table	# cuillère à table
cuillier a the             = 1/3.0 c-a-t
tsp                  = cuillier a the             # cuillère à thé
baril               = 42 gallon
bbl                  = baril               # baril
shot                 = 1.5 fl oz
fifth                = 1/5.0 gallon         #             # alcool
bouteille de vin          = 750 ml
magnum               = 1.5 litre            #             # alcool
tonneau                  = 15.5 gallon          #             # bière
hogshead wine        = 63 gal
hogshead beer        = 54 gal
bushel               = 2150.42 in^3
peck                 = 1/4.0 bushel
cord                 = 128 ft^3
board foot           = ft^2*in
board feet           = board foot


#
# velocity units
#
[vitesse]
noeud        = nmi/hr
kt          = noeud             # noeud
vitesse lumiere = 2.99792458e8 m/s
mph         = mi/hr            # milles/heure
kph         = km/hr            # kilomètres/heure
mach        = 340.29 m/s       # # mur du son
[vitesse de rotation]
rpm         = tour/min          # tour/min
rps         = tour/sec          # tour/sec


#
# flow rate units
#
[flux de fluide]
gph         = gal/hr           # gallons/heure
gpm         = gal/min          # gallons/minute
cfs         = ft^3/sec         # pieds cubes/seconde
cfm         = ft^3/min         # pieds cubes/minute
lpm         = l/min            # litre/min
[flux de gaz]
sccm        = atm*cc/min       # TPN cc/min      # pression * flux
sccs        = atm*cc/sec       # TPN cc/sec      # pression * flux
slpm        = atm*l/min        # TPN litre/min   # pression * flux
slph        = atm*l/hr         # TPN litre/heure  # pression * flux
scfh        = atm*ft^3/heure    # TPN pied cube/heure  # pression * flux
scfm        = atm*ft^3/min     # TPN pied cube/min   # pression * flux


#
# pressure units
#
[pression]
Pa                    = N/m^2                    # Pascal
pascal                = Pa
hPa                   = 100 Pa                   # hectoPascal
hectopascal           = hPa
kPa                   = 1000 Pa                  # kiloPascal
kilopascal            = kPa
MPa                   = 1000 kPa                 # megaPascal
megapascal            = MPa
GPa                   = 1000 MPa                 # gigaPascal
gigapascal            = GPa
atm                   = 101325 Pa                # atmosphère
atmosphère            = atm
bar                   = 1e5 Pa
mbar                  = 0.001 bar                # millibar
millibar              = mbar
microbar              = 0.001 mbar
decibar               = 0.1 bar
kilobar               = 1000 bar
megabar               = 1000 kilobar
mm Hg                 = mm*densité Hg*acceleration gravitationnelle
millimètre de Hg      = mm Hg
torr                  = mm Hg
in Hg                 = in*densité Hg*acceleration gravitationnelle    # mm de Hg
pouce de Hg            = in Hg
m water               = m*densité eau*acceleration gravitationnelle  # mètre de H2O
m H2O                 = m water                  # mètre de H2O
metre de water        = m water
in water              = in*densité eau*acceleration gravitationnelle # pouce de H2O
in H2O                = in water                 # pouce de H2O
inch of water         = in water
ft water              = ft*densité eau*acceleration gravitationnelle # pied de H2O
ft H2O                = ft water                 # pied de H20
feet of water         = ft water
foot of head          = ft water
ft hd                 = ft water                 # foot of head
psi                   = lbf/in^2                 # livre / pouce carré
livre par pouce carre    = psi
ksi                   = 1000 psi                 # 1000 lb / pouce carré


#
# density units
#
[densite]
densité eau         = gramme/cm^3
densité eau salee     = 1.025 gramme/cm^3
densité Hg            = 13.5950981 gramme/cm^3
densité air           = 1.293 kg/m^3          # # a TPN
densité acier         = 0.283 lb/in^3         # # acier carbone
densité aluminum      = 0.098 lb/in^3
densité zinc          = 0.230 lb/in^3
densité cuivre-zinc         = 0.310 lb/in^3         # # 80Cu-20Zn
densité cuivre        = 0.295 lb/in^3
densité fonte          = 0.260 lb/in^3         # # fonte
densité nickel        = 0.308 lb/in^3
densité tin           = 0.275 lb/in^3
densité titane     = 0.170 lb/in^3
densité argent        = 0.379 lb/in^3
densité nylon         = 0.045 lb/in^3
densité polycarbonate = 0.045 lb/in^3


#
# energy units
#
[energie]
joule                = N*m
J                    = joule             # joule
kilojoule            = 1000 joule
kJ                   = kilojoule         # kilojoule
megajoule            = 1000 kilojoule
gigajoule            = 1000 megajoule
millijoule           = 0.001 joule
mJ                   = millijoule        # millijoule
calorie              = 4.1868 J
cal                  = calorie           # calorie
kilocalorie          = 1000 cal
kcal                 = kilocalorie       # kilocalorie
calorie food         = kilocalorie
thermie              = 1000 kcal
Btu                  = cal*lb*R/(g*K)    # British thermal unit
British thermal unit = Btu
therm                = 100000 Btu
erg                  = cm*dyne
electronvolt         = 1.602176462e-19 J
eV                   = electronvolt      # electronvolt
kWh                  = kW*heure           # kilowatt-heure
kilowatt heure        = kWh
tonne TNT              = 4.184e9 J


#
# power units
#
[puissance]
watt              = J/s
W                 = watt            # watt
kilowatt          = 1000 W
kW                = kilowatt        # kilowatt
megawatt          = 1000 kW
MW                = megawatt        # megawatt
gigawatt          = 1000 MW
GW                = gigawatt        # gigawatt
milliwatt         = 0.001 W
horsepower        = 550 ft*lbf/sec
hp                = horsepower      # chevaux-vapeur
horsepower metrique = 75 kgf*m/s


#
# frequency
#
[frequence]
hertz       = unite/sec
Hz          = hertz      # hertz
millihertz  = 0.001 Hz
kilohertz   = 1000 Hz
kHz         = kilohertz  # kilohertz
megahertz   = 1000 kHz
MHz         = megahertz  # megahertz
gigahertz   = 1000 MHz
GHz         = gigahertz  # gigahertz


#
# radioactivity
#
[radioactivite]
becquerel       = unite/sec
Bq              = becquerel     # becquerel
curie           = 3.7e10 Bq
millicurie      = 0.001 curie
roentgen        = 2.58e-4 coulomb/kg
[dose de radiation]
gray            = J/kg
Gy              = gray          # gray
rad. abs. dose  = 0.01 Gy       # # rad commun
sievert         = J/kg          # # equiv. dose
millisievert    = 0.001 sievert # # equiv. dose
Sv              = sievert       # sievert # equiv. dose
rem             = 0.01 Sv       # # roentgen equiv mammal
millirem        = 0.001 rem     # # roentgen equiv mammal


#
# viscosity
#
[viscosite]
poise        = g/(cm*s)
P            = poise       # poise
centipoise   = 0.01 poise
cP           = centipoise  # centipoise

[viscosite]
stokes       = cm^2/s
St           = stokes      # stokes
centistokes  = 0.01 stokes
cSt          = centistokes # centistokes


#
# misc. units
#
[acceleration]
acceleration gravitationnelle                = 9.80665 m/s^2
[constante]
constante de gravite       = 6.673e-11 N*m^2/kg^2
constante des gaz           = 8.314472 J/(mol*K)     # R
[consommation d'essence]
mpg                    = mi/gal               # milles/gallon
mpg imp                = mi/gallon impérial   # milles/gallon imp.
litre par 100 km       = [mpg] 3.785411784 / (x * 0.01609344) ; \
                         3.785411784 / (x * 0.01609344) # # non linéaire