/ proof-of-concept / cymsim_old
Sign in
proof-of-concept / cymsim_old
cymsim_old / tests / conftest.py
13 lines · 312 BBlameHistoryRaw
1import numpy as np
2import pytest
4from cymsim import Material, Thermal
6STEEL = Material(200e9, 0.3, 7850)
7STEEL_LOSSY = Material(200e9, 0.3, 7850, 3e-4, Thermal(12e-6, 460, 50))
8BRONZE = Material(110e9, 0.34, 8800, 2e-4, Thermal(18e-6, 370, 40))
11@pytest.fixture
12def rng():
13 return np.random.default_rng(7)
↑↓ move↵openescclose