[codex] Add COMSOL offline postprocessing guidance#28
Merged
Conversation
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.
Summary
Adds optional COMSOL skill guidance for Python-friendly/offline postprocessing exports after a solve.
.mph,manifest.json,mph_summary.json, VTU fields, and CSV tables.Real COMSOL Validation
Ran a headless COMSOL 6.4.0.293 smoke using the bundled
block_with_holeheat-transfer workflow:sim check comsolwith UTF-8 forced: COMSOL 6.4 detected.sim connect --solver comsol --ui-mode no_gui..mphexports/manifest.jsonexports/mph_summary.jsonexports/fields/domain_solution.vtuexports/fields/boundary_fields.vtuexports/tables/global_metrics.csvOffline checks after export:
inspect_mphread the saved.mphasnode_type=solved,comsol_version=6.4.0.293,physics_tags=["ht"],material_tags=["mat1"].meshioopened both VTUs:TemperatureTemperatureOther Checks
git diff --cached --checkNotes
The real validation found one useful table-export gotcha: COMSOL can write only table metadata if a derived-value table is not populated first or the numerical selection is empty. The reference now calls that out explicitly.