Skip to content

Edit a Template Case

The Template Case editor shows a Template Case's settings as tables, grouped into tabs, so you can change them without editing the .py file. For every table and field, see the Template Case editor reference.

Copy before you change a Template Case other Runs use

Saving overwrites the Template Case. There's no version history. To keep the original, copy it first and edit the copy.

Open the editor

Either:

  • click the Template Case's row on the Template Cases page, or
  • on a Run's CFD Setup tab, click Edit (or View) under the Attitude's Template Case.

The Template Case Editor opens full screen. Its header shows the details, any messages, and the actions:

  • Save
  • Edit File / View File
  • Collapse All / Expand All
  • Use (mm) / Use (m), to switch length units
  • Minimise

Edit a table

  1. Choose a tab: Domain, Refinement Boxes, Radiators, Rotating, Interior Zones, Other BCs, Forces, Solutions, Exports or Acoustics. Only tabs with settings for your Methodology group and workflows are shown. Jump to Feature takes you straight to a table.
  2. In a table:
    • New adds a row. Tables with a fixed number of rows don't have it.
    • The pencil icon edits a row.
    • The bin icon deletes a row, after you confirm.
    • On/off settings, such as Half Domain, have Toggle On / Toggle Off.
  3. In the row dialog, fill in the fields and click Save. Minimise keeps a partly completed row, shown in red, to finish later.

Most fields are required. Lengths follow the m/mm toggle. Regular expressions that don't compile show "Invalid Expression".

Save your changes

Edits are held until you save. The header shows "N table(s) has/have been edited, save to apply changes".

  • Click Save. It's green when there are changes to save.
  • If a table still needs work, Save is red and disabled, and the header lists the tables to fix.

When you open an older Template Case, the editor may add required data automatically and say so in Template Case was automatically updated. Click Save to keep it.

Deprecated tables, such as Exhausts and Intakes, are tagged DEPRECATED. Use Convert to move their rows into the recommended table (Velocity Inlets or Velocity Outlets).

Edit the file directly

Click Edit File to edit the Template Case as Python code. In the file editor:

  • Save checks and saves your edits. If there's an error, the message says why.
  • Replace File uploads a new .py to replace it.
  • Download Saved downloads the last saved version.

Some settings, such as the component mesh recipe, are only available in the file or in the 3D model viewer's Templates tab. See the Template Case file reference.

Locked Template Cases

A Template Case locks as soon as an Attitude that uses it starts case creation. It unlocks only if every such Attitude is reset or deleted. This keeps finished results reproducible.

When a Template Case is locked: - the editor says "Template Case is locked, cannot be edited", and the info icon lists the Runs using it - tables are read-only, and the file opens with View File - you can still change the name and description with Edit

To make changes, copy it.

Related: Template Case editor reference ยท Configure pre-checks (Validate checks a Template Case against a Run's geometry)