DRAFT Python arch test branch#206
Draft
HenningScheufler wants to merge 95 commits into
Draft
Conversation
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.
…butes and validation checks
- 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.
…roject/NeoFOAM into python_arch_test_branch
…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.
validation of config files works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DONT REVIEW