Skip to content

Drive a boundary condition from a Map parameter

A General BC Model system in a kinematic model passes a Map parameter's value to a boundary condition in the Template Case. For example, you can set a brake disc temperature per Attitude from the Map.

Before you start

  • You need an optional Map parameter on your Account to hold the value, for example Front Disc. Only support can add Map parameters: contact support@bramblecfd.com to have one added for your Account.
  • You need a Kinematic Setup whose kinematic model you can edit. If the model is locked, you'll copy it.

The steps below use a brake disc temperature as the example: an optional Map parameter Front Disc drives the temperature set by the Template Case's brake-disc Temperature row.

Add the system to the kinematic model

  1. In the sidebar, under Setup & CAD, click Kinematic Setups, and open the Kinematic Setup.
  2. Next to Kinematic Model, click Edit Model. If the model is locked, click Create Model Copy instead and edit the copy.
  3. In Kinematic Model, click Add Systems. In Add Systems to Model, under "Select systems to add:", choose General BC Model and click Add Systems.
  4. Under "Select a system to view:", choose the new system, then:
    • set System Name, for example Front Disc
    • set the Regex property, for example .*disc.*
  5. Under "Properties:", click Add Properties. In Add Property Fields, under "Select properties to add:", choose parameter_map and click Add Properties.
  6. In the Parameter Map block, fill in:

    Field Enter Example
    Name The optional Map parameter's name Front Disc
    Map Variable The boundary-condition value to set temperature
    The field labelled with the Map Variable's name The default, used when the Map leaves the parameter blank 400 (K)
  7. At the top of the dialog, click Add Driver, and under "Select a driver..." choose the system. Only driver systems receive Map parameters. Without this step, the system does nothing.

  8. Click Save, or Save and Continue.

The system moves no geometry. It only passes the value to the boundary condition.

Tag the boundary condition in the Template Case

  1. In the Template Case editor, open the table with the boundary condition to drive, for example Other BCs → Temperature, and edit the row for the zones.
  2. In Tags, add <system name>__<system name>, in lower case with spaces replaced by _. For the system Front Disc, the tag is front_disc__front_disc.
  3. Click Save, then Save in the header.

Warning

If no row in the Template Case has the tag, case creation fails for every Attitude that uses the Kinematic Setup.

Set the values in the Map

  1. Open the Map in the Map editor. Under Optional Parameters, tick the parameter, for example Front Disc.
  2. Enter a value for each Attitude. Leave it blank to use the default from step 6.
  3. Click Save.
  4. Use the Map and the Kinematic Setup in a Run.

Related: Create a Kinematic Setup · Create a Map · Template Case editor reference · Simulation configuration