PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
pyphyex.phyex1d.Cst Class Reference

Public Member Functions

 __init__ (self)

Public Attributes

int pi = 2. * numpy.arcsin(1.)
float Karman = 0.4
float Planck = 6.6260755E-34
float boltz = 1.380658E-23
float avogadro = 6.0221367e+23
int P0 = 100000.
float g = 9.80665
int day = 86400.
float siyear = 365.25 * self.day * 2. * self.pi / 6.283076
int siday = self.day / (1. + self.day / self.siyear)
int omega = 2. * self.pi / self.siday
float md = 28.9644e-3
float mv = 18.0153E-3
float Rd = self.avogadro * self.boltz / self.md
float Rv = self.avogadro * self.boltz / self.mv
int Cpd = 7.* self.Rd / 2.
int Cpv = 4.* self.Rv
float Cl = 4.218E+3
float Ci = 2.106E+3
float Tt = 273.16
float LvTt = 2.5008E+6
float LsTt = 2.8345E+6
float Lv_0 = self.LvTt - (self.Cpv - self.Cl) * self.Tt
float Ls_0 = self.LsTt - (self.Cpv - self.Ci) * self.Tt
float EsTt = 611.14
tuple gamw = (self.Cl - self.Cpv) / self.Rv
tuple betaw = (self.LvTt / self.Rv) + (self.gamw * self.Tt)
 alpw = numpy.log(self.EsTt) + (self.betaw / self.Tt) + (self.gamw * numpy.log(self.Tt))
tuple gami = (self.Ci - self.Cpv) / self.Rv
tuple betai = (self.LsTt / self.Rv) + (self.gami * self.Tt)
 alpi = numpy.log(self.EsTt) + (self.betai / self.Tt) + (self.gami * numpy.log(self.Tt))

Detailed Description

Empty class to store constants

Definition at line 50 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

pyphyex.phyex1d.Cst.__init__ ( self)

Definition at line 52 of file __init__.py.

Member Data Documentation

◆ alpi

pyphyex.phyex1d.Cst.alpi = numpy.log(self.EsTt) + (self.betai / self.Tt) + (self.gami * numpy.log(self.Tt))

Definition at line 86 of file __init__.py.

◆ alpw

pyphyex.phyex1d.Cst.alpw = numpy.log(self.EsTt) + (self.betaw / self.Tt) + (self.gamw * numpy.log(self.Tt))

Definition at line 83 of file __init__.py.

◆ avogadro

float pyphyex.phyex1d.Cst.avogadro = 6.0221367e+23

Definition at line 58 of file __init__.py.

◆ betai

tuple pyphyex.phyex1d.Cst.betai = (self.LsTt / self.Rv) + (self.gami * self.Tt)

Definition at line 85 of file __init__.py.

◆ betaw

tuple pyphyex.phyex1d.Cst.betaw = (self.LvTt / self.Rv) + (self.gamw * self.Tt)

Definition at line 82 of file __init__.py.

◆ boltz

float pyphyex.phyex1d.Cst.boltz = 1.380658E-23

Definition at line 57 of file __init__.py.

◆ Ci

float pyphyex.phyex1d.Cst.Ci = 2.106E+3

Definition at line 74 of file __init__.py.

◆ Cl

float pyphyex.phyex1d.Cst.Cl = 4.218E+3

Definition at line 73 of file __init__.py.

◆ Cpd

int pyphyex.phyex1d.Cst.Cpd = 7.* self.Rd / 2.

Definition at line 71 of file __init__.py.

◆ Cpv

int pyphyex.phyex1d.Cst.Cpv = 4.* self.Rv

Definition at line 72 of file __init__.py.

◆ day

int pyphyex.phyex1d.Cst.day = 86400.

Definition at line 62 of file __init__.py.

◆ EsTt

float pyphyex.phyex1d.Cst.EsTt = 611.14

Definition at line 80 of file __init__.py.

◆ g

float pyphyex.phyex1d.Cst.g = 9.80665

Definition at line 61 of file __init__.py.

◆ gami

tuple pyphyex.phyex1d.Cst.gami = (self.Ci - self.Cpv) / self.Rv

Definition at line 84 of file __init__.py.

◆ gamw

tuple pyphyex.phyex1d.Cst.gamw = (self.Cl - self.Cpv) / self.Rv

Definition at line 81 of file __init__.py.

◆ Karman

float pyphyex.phyex1d.Cst.Karman = 0.4

Definition at line 55 of file __init__.py.

◆ Ls_0

float pyphyex.phyex1d.Cst.Ls_0 = self.LsTt - (self.Cpv - self.Ci) * self.Tt

Definition at line 79 of file __init__.py.

◆ LsTt

float pyphyex.phyex1d.Cst.LsTt = 2.8345E+6

Definition at line 77 of file __init__.py.

◆ Lv_0

float pyphyex.phyex1d.Cst.Lv_0 = self.LvTt - (self.Cpv - self.Cl) * self.Tt

Definition at line 78 of file __init__.py.

◆ LvTt

float pyphyex.phyex1d.Cst.LvTt = 2.5008E+6

Definition at line 76 of file __init__.py.

◆ md

float pyphyex.phyex1d.Cst.md = 28.9644e-3

Definition at line 67 of file __init__.py.

◆ mv

float pyphyex.phyex1d.Cst.mv = 18.0153E-3

Definition at line 68 of file __init__.py.

◆ omega

int pyphyex.phyex1d.Cst.omega = 2. * self.pi / self.siday

Definition at line 65 of file __init__.py.

◆ P0

int pyphyex.phyex1d.Cst.P0 = 100000.

Definition at line 60 of file __init__.py.

◆ pi

int pyphyex.phyex1d.Cst.pi = 2. * numpy.arcsin(1.)

Definition at line 54 of file __init__.py.

◆ Planck

float pyphyex.phyex1d.Cst.Planck = 6.6260755E-34

Definition at line 56 of file __init__.py.

◆ Rd

float pyphyex.phyex1d.Cst.Rd = self.avogadro * self.boltz / self.md

Definition at line 69 of file __init__.py.

◆ Rv

float pyphyex.phyex1d.Cst.Rv = self.avogadro * self.boltz / self.mv

Definition at line 70 of file __init__.py.

◆ siday

int pyphyex.phyex1d.Cst.siday = self.day / (1. + self.day / self.siyear)

Definition at line 64 of file __init__.py.

◆ siyear

float pyphyex.phyex1d.Cst.siyear = 365.25 * self.day * 2. * self.pi / 6.283076

Definition at line 63 of file __init__.py.

◆ Tt

float pyphyex.phyex1d.Cst.Tt = 273.16

Definition at line 75 of file __init__.py.


The documentation for this class was generated from the following file: