Generate Conf
generate_confCreates a HEXPRESS batch .conf file from geometry inputs, output mesh, refinement levels, boundary conditions, and viscous-layer settings without running the mesh job.
Instructions
Generate a HEXPRESS batch .conf file (without running it).
input_files: geometry/mesh inputs (STL, .spb, .CATPart, .igs ...), absolute paths recommended. output_mesh: output file name, e.g. resultMesh.msh (FNMB mesh) or .spb.gz. base_h: base cell size for the octree mesher. refinements: {selection_name: [initial_level, min_level]} — LOCALREFINEMENTDEFINITION. boundary_conditions: {selection_name: bc_type} — BCDEFINITION (e.g. SOL, INL, OUT, SYM). num_boundary_layers: viscous layer count (NUMBNDLAYERS). s2v_mesh: surface-to-volume (tet-dominant) mode instead of octree hybrid. Returns the written path and the full conf content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_files": "<input_files>",
"output_mesh": "<output_mesh>"
},
"name": "generate_conf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_h | No | ||
| s2v_mesh | No | ||
| conf_name | No | ||
| full_hexa | No | ||
| extra_lines | No | ||
| input_files | Yes | ||
| output_mesh | Yes | ||
| refinements | No | ||
| exact_meshing | No | ||
| mark_all_outer | No | ||
| suppress_prefix | No | ||
| s2v_surface_only | No | ||
| boundary_conditions | No | ||
| num_boundary_layers | No | ||
| boundary_layer_transition | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |