Flux2D template syntax error: mismatched parentheses in computationSupport
Resolved 💬 2 comments Opened Feb 1, 2026 by MiguelGarcaoSilva Closed Feb 1, 2026
Description
SYN_00015 simulation fails with a syntax error in the generated Flux2D Python script:
Syntax error in the command file : /work/output/simulations/SYN_00015_flux2d.py
Line : mismatched input '\n' expecting RPAREN" Column : ('<string>'
Incorrect line : 617, 61, " computationSupport=domainSupport(computationMethod='auto')\n"))
Root Cause
The generated Flux2D script has a malformed computationSupport=domainSupport(...) line with unbalanced parentheses.
Files to Investigate
src/simucable/renderers/templates/flux2d_universal.py.j2- Template that generates the Flux2D script- Look for
computationSupportanddomainSupportin the template
Related
- This is NOT related to issue #191 (tangent geometry mesh failures)
- This is a template rendering bug, not a geometry issue
Reproduction
Check the generated file at output/simulations/SYN_00015/SYN_00015_flux2d.py around line 617.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗