bim2sim.plugins.PluginOpenFOAM.test.regression package

Submodules

bim2sim.plugins.PluginOpenFOAM.test.regression.test_openfoam module

class bim2sim.plugins.PluginOpenFOAM.test.regression.test_openfoam.RegressionTestOpenFOAM

Bases: RegressionTestBase

Class to set up and run CFD regression tests.

create_regression_setup()
static generate_html_diff_report(new_dir: Path, ref_dir: Path, output_html: str, context_lines: int = 5)

Recursively compare reference vs generated directories and produce an HTML report. Returns a tuple (has_diffs: bool, html_path: str).

run_regression_test()
setUp()
tearDown()
class bim2sim.plugins.PluginOpenFOAM.test.regression.test_openfoam.TestRegressionOpenFOAMCase(methodName='runTest')

Bases: RegressionTestOpenFOAM, TestCase

Regression tests for PluginOpenFOAM.

test_regression_AC20_FZK_Haus()

Run PluginOpenFOAM regression test with AC20-FZK-Haus.ifc.

test_regression_DigitalHub_SB89()

Run PluginOpenFOAM regression test with DigitalHub.