Coverage for bim2sim/plugins/PluginOpenFOAM/bim2sim_openfoam/openfoam_elements/openfoam_base_boundary_conditions.py: 0%

16 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2025-10-01 10:24 +0000

1class OpenFOAMBaseBoundaryFields: 

2 def __init__(self): 

3 super().__init__() 

4 self.alphat = {'type': 'compressible::alphatJayatillekeWallFunction', 

5 'Prt': 0.85, 

6 'value': 'uniform 0'} 

7 self.aoa = {'type': 'zeroGradient'} 

8 self.g_radiation = {'type': 'MarshakRadiation', 

9 'T': 'T', 

10 'value': 'uniform 0'} 

11 self.idefault = {'type': 'greyDiffusiveRadiation', 

12 'T': 'T', 

13 'value': 'uniform 0'} 

14 self.k = {'type': 'kqRWallFunction', 

15 'value': 'uniform 0.1'} 

16 self.nut = {'type': 'nutkWallFunction', 

17 'value': 'uniform 0'} 

18 self.omega = {'type': 'omegaWallFunction', 

19 'value': 'uniform 0.01'} 

20 self.p = {'type': 'calculated', 

21 'value': 'uniform 101325'} 

22 self.p_rgh = {'type': 'fixedFluxPressure', 

23 'value': 'uniform 101325'} 

24 self.qr = {'type': 'calculated', 

25 'value': 'uniform 0'} 

26 self.T = {'type': 'zeroGradient'} 

27 self.U = {'type': 'fixedValue', 

28 'value': 'uniform (0.000 0.000 0.000)'} 

29 self.boundaryRadiationProperties = {'type': 'lookup', 

30 'emissivity': '0.90', 

31 'absorptivity': '0.90', 

32 'transmissivity': '0' 

33 }