8 research outputs found

    Management, design and developement of a mesh generation environment using open source software

    Get PDF
    In this paper we present an object oriented implementation of a general-purpose mesh generation environment for geometry-based simulations. The aim of this application is to unify available legacy code and new research algorithms in only one mesh generation suite. We focus in two aspects that can be of the general interest for managers, designers and developers of similar projects. On the one hand, we analyze the software engineering practices that we have followed in the management and development process. In addition, we detail and discuss the Open Source tools and libraries that we have used. On the other hand, we discuss the design and the data structure of the environment. In particular, we first summarize the topological and geometrical representation. Second, we detail our implementation of the hierarchical mesh generation structure. Third we present our design to mediate collaboration between classes. Finally, we present some of the mesh generation features to show the capabilities of the environment

    FEMのための境界適合型六面体メッシュ生成

    Get PDF

    Mesh generation, sizing and convergence for onshore and offshore wind farm Atmospheric Boundary Layer flow simulation with actuator discs

    Get PDF
    A new mesh generation process for wind farm modeling is presented together with a mesh convergence and sizing analysis for wind farm flow simulations. The generated meshes are tailored to simulate Atmospheric Boundary Layer (ABL) flows on complex terrains modeling the wind turbines as actuator discs. The wind farm mesher is fully automatic and, given the topography and the turbine characteristics (location, diameter and hub height), it generates a hybrid mesh conformal with the actuator discs and refined upwind and downstream. Moreover, it presents smooth element size transitions across scales and avoids extending high-resolution areas to all the domain. We take advantage of our automatic and robust mesher to study the mesh convergence of our RANS solver with linear elements, obtaining quadratic mesh convergence for a quantity of interest in all the tested cases. In addition, we quantify the mesh resolution at the terrain surface and at the actuator discs required to achieve a given numerical error in simulations in onshore and offshore frameworks. Finally, we present the generated meshes and the simulation results for an offshore and an onshore wind farm. We analyze in detail one particular wind direction for both cases, and for the onshore wind farm we use our automatic framework to estimate the yearly production of energy and measuring the error against the actual produced one.This work has been partially funded by the EU H2020Energy oriented Center of Excellence (EoCoE) for computer applications, the New European Wind Atlas (NEWA) and the High Performance Computing for Energy (HPC4E) projects. We thank Iberdrola Renovables for their collaboration and for providing wind farm data to validate the developed techniques.Peer ReviewedPostprint (published version

    An Automatic and General Least-Squares Projection Procedure for Sweep Meshing

    No full text

    An automatic and general least-squares projection procedure for sweep meshing

    No full text
    Summary. In this paper we present a new node projection scheme to generate hexahedral meshes in sweeping geometries. It is based on a least-squares approximation of an affine mapping. In the last decade several functionals have been defined to perform this least-square approximation. However, all of them present several shortcomings in preserving the shape of the inner part of the projected meshes, i.e. the offset data, for simple and usual geometrical configurations. To overcome these drawbacks we propose to minimize a more general functional that depends on two vector parameters. Moreover, we detail a procedure that automatically selects these parameters in such a way that offset data is maintained in the inner part of projected meshes. Key words: Finite element method; mesh generation; hexahedral elements; sweep; node projection; affine mapping.

    Smoothing and untangling triangular meshes on surfaces

    Get PDF
    In this work it has been developed the basis of shape quality metrics for triangular meshes on surfaces. It has also been worked out a simultaneous smoothing-untangling procedure based on the ideas introduced by Escobar. This procedure is designed through the minimization of an objective function (inverse of the quality of the mesh). We have increased the computational efficiency of the original method by adding a new algorithm for the search of the optimal projection plane. Moreover we have carried out a more robust discussion of the theoretical construction of the objective function for this new algorithm. Finally, several examples have been presented in order to illustrate the capabilities of the proposed method

    Paving the path towards automatic hexahedral mesh generation

    Get PDF
    Esta tesis versa sobre el desarrollo de las tecnologías para la generación de mallas de hexaedros. El proceso de generar una malla de hexaedros no es automático y su generación requiere varias horas te trabajo de un ingeniero especializado. Por lo tanto, es importante desarrollar herramientas que faciliten dicho proceso de generación. Con este fin, se presenta y desarrolla un método de proyección de mallas, una técnica de sweeping o barrido, un algoritmo para la obtención de mallas por bloques, y un entorno de generación de mallas. Las implementaciones más competitivas del método de sweeping utilizan técnicas de proyección de mallas basadas en métodos afines. Los métodos afines más habituales presentan varios problemas relacionados con la obtención de sistemas de ecuaciones normales de rango deficiente. Para solucionar dichos problemas se presenta y analiza un nuevo método afín que depende de dos parámetros vectoriales. Además, se detalla un procedimiento automático para la selección de dichos vectores. El método de proyección resultante preserva la forma de las mallas proyectadas. Esta proyección es incorporada también en una nueva herramienta de sweeping. Dicha herramienta genera capas de nodos internos que respetan la curvatura de las superficies inicial y final. La herramienta de sweeping es capaz de mallar geometrías de extrusión definidas por trayectorias curvas, secciones no constantes a lo largo del eje de sweeping, y superficies inicial y final con diferente forma y curvatura.En las últimas décadas se han propuesto varios ataques para la generación automática de mallas de hexahedros. Sin embargo, todavía no existe un algoritmo rápido y robusto que genere automáticamente mallas de hexaedros de alta calidad. Se propone un nuevo ataque para la generación de mallas por bloques mediante la representación de la geometría y la topología del dual de una malla de hexaedros. En dicho ataque, primero se genera una malla grosera de tetraedros. Después, varió polígonos planos se añaden al interior de los elementos de la malla grosera inicial. Dichos polígonos se denotan como contribuciones duales locales y representan una versión discreta del dual de una malla de hexaedros. En el último paso, la malla por bloques se obtiene como el dual de la representación del dual generada. El algoritmo de generación de mallas por bloques es aplicado a geometrías que presentan diferentes características geométricas como son superficies planas, superficies curvas, configuraciones delgadas, agujeros, y vértices con valencia mayor que tres.Las mallas se generan habitualmente con la ayuda de entornos interactivos que integran una interfaz CAD y varios algoritmos de generación de mallas. Se presenta un nuevo entorno de generación de mallas especializado en la generación de cuadriláteros y hexaedros. Este entorno proporciona la tecnología necesaria para implementar les técnicas de generación de mallas de hexaedros presentadas en esta tesis.This thesis deals with the development of hexahedral mesh generation technology. The process of generating hexahedral meshes is not fully automatic and it is a time consuming task. Therefore, it is important to develop tools that facilitate the generation of hexahedral meshes. To this end, a mesh projection method, a sweeping technique, a block-meshing algorithm, and an interactive mesh generation environment are presented and developed. Competitive implementations of the sweeping method use mesh projection techniques based on affine methods. Standard affine methods have several drawbacks related to the statement of rank deficient sets of normal equations. To overcome these drawbacks a new affine method that depends on two vector parameters is presented and analyzed. Moreover, an automatic procedure that selects these two vector parameters is detailed. The resulting projection procedure preserves the shape of projected meshes. Then, this procedure is incorporated in a new sweeping tool. This tool generates inner layers of nodes that preserve the curvature of the cap surfaces. The sweeping tool is able to mesh extrusion geometries defined by non-linear sweeping trajectories, non-constant cross sections along the sweep axis, non-parallel cap surfaces, and cap surfaces with different shape and curvature. In the last decades, several general-purpose approaches to generate automatically hexahedral meshes have been proposed. However, a fast and robust algorithm that automatically generates high-quality hexahedral meshes is not available. A novel approach for block meshing by representing the geometry and the topology of a hexahedral mesh is presented. The block-meshing algorithm first generates an initial coarse mesh of tetrahedral elements. Second, several planar polygons are added inside the elements of the initial coarse mesh. These polygons are referred as local dual contributions and represent a discrete version of the dual of a hexahedral mesh. Finally, the dual representation is dualized to obtain the final block mesh. The block-meshing algorithm is applied to mesh geometries that present different geometrical characteristics such as planar surfaces, curved surfaces, thin configurations, holes, and vertices with valence greater than three.Meshes are usually generated with the help of interactive environments that integrate a CAD interface and several meshing algorithms. An overview of a new mesh generation environment focused in quadrilateral and hexahedral mesh generation is presented. This environment provides the technology required to implement the hexahedral meshing techniques presented in this thesis
    corecore