- Directory with STL files – The directory must contain ASCII STL files which, when merged, give rise to a water-tight boundary surface. Every STL corresponds to an OpenFOAM patch (with a name taken from the name of the STL file), except for interface patches which are ultimately renamed to reflect which components they connect. Note that the STL file names should consist only of alpha-numerical characters, dashes and underscores.
- Multi-solid STL file – The input is a single ASCII STL file containing multiple solids. Every solid must have a unique name within the STL file. That name will be used for naming the patch. Please make sure that the solid names consist only of alpha-numerical characters, dashes and underscores.
- External OpenFOAM mesh – The patches (and mesh) are taken from an already existing OpenFOAM mesh. The mesh creation step for this component will be skipped.
- External Fluent mesh – The patches (and mesh) are taken from an already existing mesh in MSH format. The mesh creation step for this component will be skipped. The MSH mesh reader is compatible both with the ASCII and binary formats.
- “Component name”, which sets the name of the component used in patch names and report.
- “Reference frame” sets a frame from “Reference frames” section. A rotating frame makes the whole component rotating (needed for all components containing impellers/propellers). A static frame makes the component stationary.
- “No. periodic segments”, which is used to set periodicity of a segment when simulating just a segment of the full wheel.
Patches table gives summary of all patches for each component, where each row of this table represents one patch and its properties.
First column is the name of the patch, which is non-editable.
Second column is the patch type, which is one of the following:
- inlet – Entry to the simulated machine, mostly to the first component.
- outlet – Exit from the simulated machine, mostly the last component.
- internalAMI – Internal non-conformal mesh interface. It is necessary to connect this interface to another “internalAMI” interface within the same component by right-clicking on the row and selecting the patch, see Figure . This change will be indicated by a colour change of the rows.
- translationAMI – Periodic interface in simulation of a translationally symmetric domain. It is necessary to connect this interface to another “translationAMI” interface within the same component by right-clicking on the row and selecting the patch. This change will be indicated by a colour change of the rows.
- rotationAMI – Patches on the boundaries of a segment, which are (periodically) mapped to each other. It is necessary to connect this interface to another “rotationAMI” interface within the same component by right-clicking on the row and selecting the patch. This change will be indicated by a colour change of the rows.
- empty – Boundary in non-physical, artificial, dimension; used in two-dimensional simulations.
- symmetry – Special symmetry boundary condition for calculation of just a half of a perfectly symmetrical system. For compatibility reasons, using this boundary condition causes using segregated linear solver (instead of default coupled) for velocity. This has, in vast majority of cases, no influence on results.
- wall – General no-slip wall.
- wallSlip – General perfect-slip wall.
- hub – A specific type of wall.
- shroud – A specific type of wall.
- blade – A specific type of wall.
- bladePressureSide – A specific type of wall.
- bladeSuctionSide – A specific type of wall.
- bladeLeadingEdge – A specific type of wall.
- bladeTrailingEdge – A specific type of wall.
- bladeHubFillets – A specific type of wall.
- bladeShroudFillets – A specific type of wall.
- bladeCap – A specific type of wall.
- cutWater – A specific type of wall.
- inletInterface – Entry to other components, connected to some preceding component. It is necessary to connect this interface to a specific component by right-clicking on the row and selecting the component. This change will be reflected in the component graph.
- outletInterface – Exit from other components, connected to some following component. It is necessary to connect this interface to a specific component by right-clicking on the row and selecting the component. This change will be reflected in the component graph.
- freestreamInterface – For interfaces where both flow direction may occur, e.g., open propellers. It is necessary to connect this interface to a specific component where the same interface is defined by right-clicking on the row and selecting the component. This change will be reflected in the component graph. This type always imposes cyclicAMI boundary condition.
Besides the specific type, every patch can be either rotating or non-rotating, which is controlled by the column labeled
“frame”:
- A common approach is to assign the same frame (assigned to the whole component) to all patches in the component.
- For patches of type wall (wall, hub, blade*,…) a rotation can be individually set:
- Rotating frame can be assigned to define rotating patch
- Non-rotating frame can be assigned to define non-rotating patch
Further columns contain the minimal and maximal refinement and number of layers, which are used during the meshing. It is possible to change the value by double-clicking on the required field and either modifying the value by hand or using the spin-box buttons. The lock symbol in the “grp” column has two modes:
- Locked – all the patches of the same type uses the same levels of refinement.
- Unlocked – the patch can hold its own refinement levels independently.
Finally, the column
“mxp”, available only for inlet and outlet interface patches, contains the number of Mixing planes
. If “0” is given, the components will be connected using
cyclicAMI (direct weighted interpolation); higher values specify number of Mixing plane strips
(circular averaging) to use. Some columns may not be present for specific geometry sources (e.g. for an external OpenFOAM mesh).
Further options in this section are
- “Background mesh size”, which sets the basic cell size in the three directions for the rectangular background mesh (all cells will be such or smaller). Background mesh can be displayed in the RenderView by the adjacent checkbox.
- “Cylindrical mesh” requests the use of a cylindrical background mesh instead of the rectangular, see Figure , and enables the following three parameters.
- “Cylindrical radii”, which sets the parameters , and of the cylindrical mesh,
- “Cylindrical grading”, which sets the parameters , and of the cylindrical mesh and
- “Cylindrical warp”, which sets the parameter of the cylindrical mesh.
- “Internal point”, which specifies arbitrary internal point. This is needed by the mesher. Internal point can be displayed in the RenderView by the adjacent checkbox. When shown, it can be directly manipulated by mouse.
- “Wheel diameter” is a mandatory parameter only for the “fan” machine and is used for post-processing.
If a cylindrical background mesh is selected, then the interpretation of
“Background mesh size” changes. Instead of cell sizes in the
,
and
axes it sets the approximate cell sizes in radial, circumferential and axial directions (with respect to the chosen axis).
Further
advanced options in this section are:
- “Use gap refinement” checkbox enables setting higher level of refinement then “max ref” value for meshing small gaps between different parts of the input geometry. It shows a new column in the Patches table. The minimum value is equal to “max ref” value.
- “Euler alpha/beta/gamma” can be used for rotation of the background mesh to achieve better alignment with the input geometry. It uses Eulers angles intrinsic (z-y’-z”) rotation convention.
- “Leading edge gap” is an optional parameter specifying distance between the leading edge of the blade and the adjacent interface (if any). When given, then the refinement level for leading edge STL surfaces will be calculated such that the gap contains at least 8 cells across.
- “Trailing edge gap” is an optional parameter specifying distance between the trailing edge of the blade and the adjacent interface (if any). When given, then the refinement level for trailing edge STL surfaces will be calculated such that the gap contains at least 8 cells across.
- “Blade cap gap”, commonly called “clearance” is the distance between the blade cap and the shroud. When given, then the refinement level for blade cap STL surfaces will be calculated such that the gap contains at least 8 cells across.
- “Use refinement regions” enables defining additional refinement regions:
- “Type” shape of the refinement regions (box, cylinder or sphere).
- “Mode” if the mesh refinement is applied inside or outside of the refinement region.
- “Level” level of refinement to be applied