Skip to content

DRAFT Python arch test branch#206

Draft
HenningScheufler wants to merge 95 commits into
stack/python_archfrom
python_arch_test_branch
Draft

DRAFT Python arch test branch#206
HenningScheufler wants to merge 95 commits into
stack/python_archfrom
python_arch_test_branch

Conversation

@HenningScheufler
Copy link
Copy Markdown
Collaborator

DONT REVIEW

HenningScheufler and others added 30 commits November 10, 2025 13:17
can be tested with the tutorials/cavity/
* CI: add coverage to python
* add ruff toml
* CI: added type checker
* using mypy as type_checker
* added pre-commit hook
Co-authored-by: Gregor Olenik <gregor.olenik@web.de>
…ct/NeoFOAM into feat/ported_solvers

CFL number is from controlDict
Co-authored-by: Gregor Olenik <gregor.olenik@web.de>
Operation store the decorated function and the meta data that execute the individual steps of the function.
Additionally, the name-based injection test verify that the injection the correct fields from the context is correct
* CI: add coverage to python
* add ruff toml
* CI: added type checker
* using mypy as type_checker
* added pre-commit hook
- Introduced unit tests for creating and validating RAS, LES, and laminar turbulence models in `test_model_creation.py`.
- Added tests for model setup and initialization via DAG in `test_model_setup.py`.
- Implemented tests for turbulence model operations in `test_operations.py`.
- Created tests for plugin system registration and JSON schema validation in `test_plugin_system.py`.
- Consolidated existing tests into focused files for better organization and maintainability.
- Added a mock OpenFOAM case structure in `turb_case` directory for integration testing.
- Ensured backward compatibility by retaining the original `test_turbulence_models.py` file.
- Introduced `incompressiblefluid` command in CLI for modular solver.
- Implemented `SteadyCondition` for steady-state iteration checks.
- Enhanced `IncompressibleFluid` class to support multiple algorithms (PIMPLE, PISO, SIMPLE).
- Added tests for control conditions and PIMPLE/SIMPLE algorithms.
- Created integration test for `IncompressibleFluid` using the pitzDaily_steady case.
- Updated fvSolution settings for better convergence in tests.
- Modified tutorials to reflect changes in solver execution.
…stration

- Added __getattr__ and __hasattr__ methods to ConfigContext for attribute-style access to registered models.
- Updated SolverInitializer to collect and register config items returned by LOAD methods of models and solvers.
- Introduced _register_config_items method for streamlined registration of config items.
- Improved Operation class to support before dependencies and added cyclic dependency handling in DAGResolver.
- Implemented Boussinesq buoyancy model with temperature transport, including new fields and operations for energy equation solving.
- Refactored IncompressibleFluid to integrate Boussinesq model and enhance operation management with DAGResolver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants