Skip to content

[codex] Document COMSOL MPH compact and Java export flows#31

Merged
jiweiqi merged 1 commit into
mainfrom
codex/comsol-mph-artifact-docs
May 19, 2026
Merged

[codex] Document COMSOL MPH compact and Java export flows#31
jiweiqi merged 1 commit into
mainfrom
codex/comsol-mph-artifact-docs

Conversation

@jiweiqi

@jiweiqi jiweiqi commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document the COMSOL batch command for stripping solved .mph files to compact setup-only artifacts.
  • Document the safe .mph to Java source export path through model.save(..., "java").
  • Call out the comsolbatch -outputfile model.java pitfall, which saves an MPH container with a .java extension rather than source.

Validation

  • Ran git diff --check on the docs changes.
  • Verified the compact .mph flow locally with COMSOL 6.4 on 2026-05-19: 19.83 MiB solved artifact to 0.47 MiB compact artifact.
  • Verified the Java export pitfall and API export behavior locally with COMSOL 6.4.

@jiweiqi jiweiqi merged commit 9ed68e1 into main May 19, 2026
1 check passed
@jiweiqi jiweiqi deleted the codex/comsol-mph-artifact-docs branch May 19, 2026 07:04
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.

1 participant