geometry_external_cylinder_oh
Build a conformal external-cylinder O-H mesh template in an empty gmsh session, with automatic boundary names and configurable cell counts for OpenFOAM external-flow simulations.
Instructions
Build a conformal external-cylinder O-H template in an empty session, in metres. Cylinder centre is (0,0); x spans -upstream to length-upstream, y +/-width/2. Sixteen connected blocks are extruded from z=0 to span with ONE cell for quasi-2D. Names inlet/outlet (patch), cylinder (wall), farfield_top/bottom (symmetryPlane), front/back (empty), and fluid are assigned automatically. Cell counts and radial first-cell height are configured here; then call mesh_generate, mesh_export and openfoam_prepare. mesh_configure cannot override this template. To change its geometry or counts, create a new session. This is external flow, not a pipe bore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| span | No | ||
| width | No | ||
| length | No | ||
| diameter | No | ||
| upstream | No | ||
| session_id | Yes | ||
| request_key | Yes | ||
| radial_cells | No | ||
| upstream_cells | No | ||
| downstream_cells | No | ||
| transition_cells | No | ||
| expected_revision | Yes | ||
| first_cell_height | No | ||
| cross_stream_cells | No | ||
| circumferential_cells | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||