set_boundary_condition
Assign or replace a boundary condition for a patch in an OpenFOAM field file by specifying the patch, boundary condition type, and optional value—resolving setup errors quickly.
Instructions
Set (or insert) the boundaryField entry for a patch in a 0/ field file, e.g. field_file='0/U', patch='inlet', bc_type='fixedValue', value='(10 0 0)'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| value | No | ||
| bc_type | Yes | ||
| field_file | Yes |