mergePatchPairs: list of patches to be merged, see section.The convertToMeters keyword specifies a scaling factor by which all vertex coordinates in the mesh description are multiplied. block: ordered list of vertex labels and mesh size, see section.īoundary: sub-dictionary of boundary patches, see section. edges: used to describe curved geometry, see section. vertices: list of vertex coordinates, see section. convertToMeters: scaling factor for the vertex coordinates, e.g. Table 5.1: Keywords used in blockMeshDict.5.3.1 Writing a blockMeshDict fileThe blockMeshDict file is a dictionary using keywords described below. The edge connecting vertices 1 and 5 is curved to remind the reader that curved edges can be specified in blockMesh.It is possible to generate blocks with less than 8 vertices by collapsing one or more pairs of vertices on top of each other, as described in section.Each block has a local coordinate system that must be right-handed. An example block is shown in Figure with each vertex numbered according to the list. The vertices are written in a list so that each vertex can be accessed using its label, remembering that OpenFOAM always uses the C convention that the first element of the list has label ‘0’. The mesh is ostensibly specified as a number of cells in each direction of the block, sufficient information for blockMesh to generate the mesh data.Each block of the geometry is defined by 8 vertices, one at each corner of a hexahedron. Edges of the blocks can be straight lines, arcs or splines. BlockMesh reads this dictionary, generates the mesh and writes out the mesh data to points and faces, cells and boundary files in the same directory.The principle behind blockMesh is to decompose the domain geometry into a set of 1 or more three dimensional, hexahedral blocks. The blockMesh utility creates parametric meshes with grading and curved edges.The mesh is generated from a dictionary file named blockMeshDict located in the system (or constant/polyMesh) directory of a case. 5.3 Mesh generation with the blockMesh utility This section describes the mesh generation utility, blockMesh, supplied with OpenFOAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |