turbo_moc.fluent.import_checks module

turbo_moc.fluent.import_checks module#

Check a Fluent volume import against the exported mesh before solving.

turbo_moc.fluent.import_checks.validate_import(solver, zones, expected_mesh=None)[source]#

Return JSON-ready mesh counts and bounds, rejecting an incomplete import.

zones maps the seven boundary roles to the actual imported names. expected_mesh, when supplied, contains cell_count and bounds_m; the latter holds minimum and maximum XYZ coordinates in metres. The boundary vertices determine the imported volume’s coordinate envelope. This routine inspects geometry only and does not initialize the solution.