Ship fluid CAE (Computer Aided Engineering) mesh generation and three-dimensional visualization tool and method
By developing CAE grid division and three-dimensional visualization tools in ship fluid mechanics simulation, the problem of low quality and low efficiency of traditional grid generation is solved, efficient and accurate grid generation and simulation data visualization is achieved, and ship design is improved efficiency and quality.
Patent Information
- Application Number
- CN202410914212.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In traditional ship fluid mechanics simulation, grid generation quality and efficiency are low, which cannot meet the simulation needs.
A CAE mesh division and three-dimensional visualization tool for ship fluids was developed, including a hybrid mesh generation module on the surface of the hull, a non-structural mesh generation module on the fluid computing domain, a hull structure analysis mesh generation module and a ship fluid/structure simulation data after The processing module adopts adaptive partitioning, structured/unstructured mesh generation, finite element mesh generation and parallel acceleration technologies to improve the efficiency and accuracy of mesh generation.
It realizes high-quality grid generation, improves the efficiency and accuracy of hydrodynamic simulation calculation and structural analysis, simplifies the visualization of large-scale simulation data, significantly shortens the calculation time, and reduces design costs and risks.
Smart Images

Figure CN118965858A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a ship fluid CAE grid division and three-dimensional visualization tool and method, belonging to the technical field of ship engineering. Background Art
[0002] CAE technology in the field of ship engineering plays an important role in ship design and performance evaluation. With the continuous development of computer technology, CAE technology has become one of the important tools for ship design and simulation. Among them, ship fluid dynamics simulation is one of the key links in ship design. By simulating and analyzing the fluid dynamics characteristics of the ship in the water, the resistance, maneuverability and stress of the hull structure of the ship can be evaluated, thereby guiding the optimization and improvement of ship design.
[0003] Existing ship fluid dynamics simulation software usually requires complex pre-processing and post-processing operations, including the establishment and processing of geometric models, the generation and optimization of grids, the execution of simulation calculations, and the visualization of result data. Among them, grid generation is one of the key links in ship fluid dynamics simulation, which directly affects the accuracy of simulation results and computational efficiency. Traditional grid generation methods have problems such as low grid quality and low generation efficiency, and cannot meet the needs of ship fluid dynamics simulation.
[0004] This patent involves multiple technical fields such as ship hydrodynamic simulation calculation, structural analysis grid generation, large-scale simulation data visualization and parallel acceleration technology. These fields are crucial in ship engineering and are of great significance for designing, optimizing and analyzing ship performance. Including ship hydrodynamic simulation calculation, structural analysis grid generation, large-scale simulation data visualization and parallel acceleration technology:
[0005] Ship hydrodynamic simulation refers to the use of numerical methods to simulate the flow of ships in water to predict their motion performance and hydrodynamic response. This technology is essential for designing the shape of ships, improving ship performance, and evaluating the stability and safety of ships. Hydrodynamic simulation requires accurate modeling and calculation of the ship surface and surrounding flow field, so high-quality grids and efficient numerical calculation algorithms are required.
[0006] Structural analysis mesh generation refers to the mesh generated for structural strength analysis of ships. In ship engineering, structural strength analysis is an important step to evaluate the strength and stiffness of the hull under various load conditions to ensure that it meets safety and reliability requirements. In order to perform structural analysis, the hull geometry model needs to be converted into the mesh model required in finite element analysis. Considering the complexity and geometric details of the ship structure, it is crucial to generate high-quality structural analysis mesh.
[0007] Large-scale simulation data visualization refers to the visualization of large-scale simulation data so that users can intuitively understand the data, discover patterns and make decisions. In ship engineering, hydrodynamic simulation calculations will generate a large amount of complex data, including flow field data, pressure distribution, force and torque, etc. Effectively processing and visualizing this data is crucial for analyzing the hydrodynamic performance of ships, optimizing designs and improving ship performance.
[0008] Parallel acceleration technology refers to the technology that uses multi-core processors, multi-node clusters or GPUs and other parallel computing platforms to accelerate simulation calculations and data processing. In ship engineering, since simulation calculations and data processing tasks are usually very complex and time-consuming, the use of parallel acceleration technology can significantly improve computing efficiency, shorten computing time, and accelerate data processing and visualization processes.
[0009] Therefore, it is necessary to develop an efficient and accurate pre-processing grid generation module and three-dimensional visualization tool for ship fluid dynamics simulation to improve the computational efficiency of ship fluid dynamics simulation and the accuracy of simulation results. Summary of the invention
[0010] The present invention aims to solve the technical problems that the traditional grid generation method has low grid quality and low generation efficiency and cannot meet the needs of ship fluid mechanics simulation, and further proposes a ship fluid CAE grid division and three-dimensional visualization tool and method.
[0011] The technical solution adopted by the present invention to solve the above problems is: the present invention proposes a ship fluid CAE meshing and three-dimensional visualization tool, comprising:
[0012] Ship surface hybrid grid generation module, fluid calculation domain non-structural body grid generation module, ship structure analysis grid generation module and ship fluid / structure simulation data post-processing module;
[0013] The hull surface hybrid mesh generation module is used to generate high-quality hybrid meshes on the hull surface for self-use;
[0014] The fluid computational domain non-structured body mesh generation module is used to automatically generate high-quality non-structured body meshes for the fluid computational domain with different regional properties;
[0015] The hull structure analysis mesh generation module is used to automatically generate high-quality structural analysis meshes that meet the classification society's review requirements;
[0016] The ship fluid / structure simulation data post-processing module is connected to the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module respectively. It is used to process the simulation data according to the generation results of the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module, and distribute the simulation data to each parallel computing node.
[0017] Optionally, the hull surface hybrid grid generation module includes a hull model preprocessing submodule, a hull model information extraction submodule, a hull adaptive partitioning submodule, a structured / unstructured grid generation submodule, and a hybrid grid generation submodule;
[0018] The hull model preprocessing submodule is used to standardize the input hull IGES geometric model;
[0019] The hull model information extraction submodule is used to extract the hull feature points of the hull model after standardization;
[0020] The hull adaptive partitioning submodule is used to divide the hull surface into regions according to the extracted hull feature points;
[0021] The structured / unstructured grid generation submodule is used to generate a hybrid grid of the hull surface according to the complex selection of the corresponding algorithm after the hull surface is divided.
[0022] Optionally, the fluid computational domain non-structural body grid generation module includes a fluid computational domain partitioning submodule, a far-field structural body grid generation submodule, a boundary layer non-structural body grid generation submodule, a transition layer non-structural body grid generation submodule, a hybrid body grid quality verification and optimization submodule, and a fluid grid generation software submodule;
[0023] The fluid computational domain partitioning submodule is used to partition and manage the fluid computational domain;
[0024] The far-field structured mesh generation submodule is used to generate structured hexahedral meshes in the far field based on the regional division information of the structured fluid domain;
[0025] The boundary layer non-structure mesh generation sub-module is used to divide the non-structure network according to the fluid domain area division information and the hull surface mixed grid file;
[0026] The transition layer non-structured body grid generation submodule is used to realize the automatic generation of non-structured body grids of the transition layer according to the frontier layering method;
[0027] The hybrid body mesh quality check and optimization submodule is used to automatically optimize the local fluid mesh according to the quality check standard of the fluid mesh;
[0028] The fluid grid generation software submodule is used to obtain the MSH format grid file that meets the calculation requirements of the viscous flow solver and realize the standardization of the interface with the viscous flow solver.
[0029] Optionally, the hull structure analysis grid generation module includes: a hull component geometry preprocessing submodule, a ship structure analysis physical modeling submodule, a finite element grid generation submodule, a local grid quality optimization submodule and a ship structure analysis grid generation software submodule;
[0030] The hull component geometry preprocessing submodule is used to preprocess the hull geometry components;
[0031] The ship structure analysis physical modeling submodule is used to define materials, unit properties, load boundary conditions and assign them to each geometric area according to the input physical model parameter file;
[0032] The finite element mesh generation submodule is used to divide the surface mesh of the hull according to the laying method by spreading mesh "seeds" to generate a structural mesh mainly composed of plate beam elements;
[0033] The local mesh quality optimization submodule is used to refine the mesh in the stress concentration area of the structural mesh;
[0034] The ship structure analysis mesh generation software submodule is used to output INP format mesh files that meet the requirements of the structural analysis solver.
[0035] Optionally, the ship fluid / structure simulation data post-processing module includes: a simulation data exchange submodule and a visualization algorithm development submodule;
[0036] The simulation data exchange submodule is used to exchange simulation data using the HDF5 format and establish simulation data specifications and output drive mechanisms;
[0037] The visualization algorithm development submodule is used to develop parallel cloud map interpolation, isosurface extraction, streamline generation post-processing algorithms and visualization rendering functions, and complete the development of large-scale physical field parallel visualization algorithms.
[0038] A method for CAE meshing and three-dimensional visualization of ship fluid, comprising:
[0039] Step 1: Input the IGES heterogeneous geometric model of the hull into the hull surface hybrid mesh generation module to obtain the hull surface hybrid mesh;
[0040] Step 2: Generate non-structural mesh of fluid computational domain with the hull surface hybrid mesh as the frontier;
[0041] Step 3: Input the ship structure STEP model file into the hull structure analysis grid generation module, output the structural analysis INP format grid file suitable for the ship structure CAE solver, and complete the ship fluid CAE network division;
[0042] Step 4: Based on steps 1-3, obtain the large-scale time-series simulation data file generated by the hydrodynamic coupling solver and input it into the ship fluid / structure simulation data post-processing module, perform lightweight processing on the input data, and output the rendering results required for the ship hydrodynamic result analysis.
[0043] Optionally, the step of obtaining the mixed grid of the hull surface in step 1 includes:
[0044] Step 1.1: Based on the hull model preprocessing submodule, the input hull IGES geometric model is standardized, and the heterogeneous surface data is uniformly converted into NURBS surface form. Based on the hull model information extraction submodule, the characteristic points in the hull are extracted through the standardized hull IGES geometric model;
[0045] Step 1.2: Based on the hull adaptive partitioning submodule, combined with the extracted hull feature points, the hull surface is divided into bow, midship and stern regions. Based on the structured / unstructured mesh generation submodule, the corresponding mesh generation algorithm is selected in combination with the complexity of the region. For regions with simple structures, the NURBS surface interpolation method is used to generate structured meshes. For regions with complex structures, the optimal transfer mapping theory and Delaunay triangulation algorithm are used to generate unstructured meshes. The generated structured meshes and unstructured meshes are optimized through the mesh quality verification standard.
[0046] Step 1.3: Based on the hybrid mesh generation submodule, the mesh continuity between the partitions is achieved by setting the mesh size and the node positions of the fixed boundaries, and a transition zone is set at the junction to complete the generation of the hybrid mesh on the hull surface.
[0047] Optionally, the step of generating a non-structural mesh of the fluid computational domain in step 2 includes:
[0048] Step 2.1: Based on the development of the fluid computational domain partitioning submodule, the fluid computational domain is partitioned. According to the distance parameter set by the user, the fluid computational domain is divided into the near field and the far field, and the boundary layer and transition layer of the near field are divided according to the extension distance of the hull surface grid along the normal direction;
[0049] Step 2.2: Based on the far-field structured volume mesh generation submodule, combined with the fluid domain area division information, a structured volume mesh generation algorithm is used to generate a structured hexahedral mesh in the far field;
[0050] Step 2.3: Based on the boundary layer non-structured body mesh generation submodule, combined with the fluid domain area division information and the hull surface mesh file, the sweeping method is used to interpolate the internal mesh nodes along the sweeping path in the boundary layer to complete the division of the non-structured body mesh, and the mesh unit quality is optimized through smoothing operations;
[0051] Step 2.4: Based on the transition layer non-structured body mesh generation submodule, combined with the frontier layering method, the boundary topology of the generated far-field body mesh and boundary layer body mesh is extracted as the initial frontier, and new nodes are gradually inserted inward to automatically generate the non-structured body mesh of the transition layer;
[0052] Step 2.5: Based on the hybrid volume mesh quality check and optimization submodule, automatically optimize the volume mesh with poor local quality according to the volume mesh quality check standard;
[0053] Step 2.6: Use C++ programming language to develop a fluid mesh generation software module, input the IGES format file of the hull model and the user-defined fluid calculation domain partition parameters, output the MSH format mesh file that meets the calculation requirements of the viscous flow solver, and realize the interface standardization with the viscous flow solver.
[0054] Optionally, the steps of obtaining the structural analysis INP format mesh file suitable for the ship structure CAE solver in step 3 include:
[0055] Step 3.1: Preprocess the hull geometry components based on the hull geometry preprocessing submodule, and filter and repair the geometry details;
[0056] Step 3.2: Input the hull physical model parameter file into the physical modeling submodule of ship structure analysis, define the materials, unit properties, load boundary conditions, and assign them to different geometric areas;
[0057] Step 3.3: Based on the finite element mesh generation submodule, use the mesh "seed" to divide the surface mesh according to the laying method, generate line meshes at the plate seams, and generate a structural mesh based on plate-beam elements;
[0058] Step 3.4: Based on the coarse mesh, the local mesh quality optimization submodule refines the mesh in the stress concentration area and adds transition units.
[0059] Step 3.5: Use C++ programming language to develop a ship structure analysis mesh generation software submodule. The ship structure analysis mesh generation software submodule takes the hull geometry component STEP standard format file and physical model parameter file as input, outputs an INP format mesh file that meets the requirements of the structural analysis solver, and realizes the standardization of the interface with the structural analysis solver.
[0060] The beneficial effects of the present invention are:
[0061] 1. The present invention has developed high-quality structured and unstructured volume mesh generation software for ship fluid computational domains, which can generate mesh models suitable for viscous flow hydrodynamic calculations according to the properties of different regions. The generation of such mesh models can effectively improve the efficiency and accuracy of hydrodynamic simulation calculations, and provide important technical support for ship design and performance evaluation.
[0062] 2. Embodiment 3 of the present invention proposes a complete set of structural analysis mesh generation solutions for the field of ship structure analysis, including steps such as geometric preprocessing, physical modeling, finite element mesh generation, and local mesh quality optimization. The implementation of these steps can help engineers generate high-quality mesh models suitable for structural strength verification more quickly and accurately, thereby improving the efficiency and accuracy of structural analysis.
[0063] 3. Through the research of subtopic 4, this paper has developed a set of online-driven lightweight rendering technology for simulation data, which can reduce the data size as much as possible without affecting the rendering effect, so that ordinary machines can also visualize large-scale flow field data. The application of this technology can improve the visualization efficiency of ship hydrodynamic simulation calculation results and provide engineers with a more intuitive and comprehensive simulation result analysis tool.
[0064] 4. The present invention, through the parallel acceleration technology proposed in Example 5, can make full use of the computing resources of the CPU and GPU, reasonably allocate simulation data to each parallel computing node, and implement an efficient data communication strategy to improve the visualization efficiency of large-scale simulation data. The application of this technology can greatly shorten the time of data processing and rendering, improve the work efficiency of engineers, and accelerate the process of ship design and optimization.
[0065] 5. The various technical research results proposed in the present invention can help engineers perform ship hydrodynamic simulation calculations, structural analysis and data visualization more quickly and accurately, thereby improving the efficiency and quality of ship design. By using the technology proposed in the present invention, ship designers can better understand and analyze the performance characteristics of ships, discover and solve potential problems in a timely manner, and provide strong technical support for ship design and improvement.
[0066] 6. The technical solution proposed in this invention can help engineers use computing resources more effectively, reduce the number of trial and error and resource waste in the ship design process, thereby reducing the cost and risk of ship design. By using the technology proposed in this invention, the ship design team can complete the design task more quickly and accurately, improving the execution efficiency and success rate of the project.
[0067] 7. The present invention proposes a series of innovative technical solutions, covering multiple aspects such as ship hydrodynamic simulation calculation, structural analysis grid generation and large-scale simulation data visualization parallel acceleration technology. The proposal and application of these technical solutions will promote technological innovation and progress in the field of ship engineering, promote the development and application of related technologies, and inject new vitality and impetus into the development of the field of ship engineering. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 It is a structural diagram of a ship fluid CAE meshing and three-dimensional visualization tool provided by the present invention;
[0069] Figure 2 A flow chart of the hybrid grid generation scheme for the hull surface provided by the present invention;
[0070] Figure 3 A schematic diagram of generating a partitioned unstructured grid provided by the present invention;
[0071] Figure 4 A schematic diagram of generating a full-ship hybrid grid provided by the present invention;
[0072] Figure 5 A flow chart of the fluid computational domain partitioning and volume mesh generation solution provided by the present invention;
[0073] Figure 6 A schematic diagram of the automatic generation result of the fluid calculation domain grid provided by the present invention;
[0074] Figure 7 This is a schematic diagram of the local mesh refinement results of the ship structure provided by the present invention. Example
[0075] Example 1
[0076] like Figure 1 As shown, a ship fluid CAE meshing and 3D visualization tool described in this embodiment includes: a hull surface hybrid mesh generation module, a fluid calculation domain non-structural body mesh generation module, a hull structure analysis mesh generation module and a ship fluid / structure simulation data post-processing module;
[0077] The hull surface hybrid mesh generation module is used to generate high-quality hybrid meshes on the hull surface for self-use;
[0078] The fluid computational domain non-structured body mesh generation module is used to automatically generate high-quality non-structured body meshes for the fluid computational domain with different regional properties;
[0079] The hull structure analysis mesh generation module is used to automatically generate high-quality structural analysis meshes that meet the classification society's review requirements;
[0080] The ship fluid / structure simulation data post-processing module is connected to the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module respectively. It is used to process the simulation data according to the generation results of the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module, and distribute the simulation data to each parallel computing node.
[0081] Example 2
[0082] Combination Figure 2 and Figure 4 This embodiment is described as follows. Figure 2 As shown, the steps of the hull surface hybrid grid generation scheme described in this embodiment include:
[0083] S101: In the calculation of ship hydrodynamic problems, high-quality hull surface meshes are essential to ensure the accuracy of numerical simulations. Due to the complexity of the hull shape, traditional structured meshes are difficult to meet the needs of high-precision solutions, so a hybrid method combining structured and unstructured meshes is required. This topic aims to study and develop a hybrid mesh generation method for hull surfaces to improve the accuracy and efficiency of ship fluid dynamics simulations.
[0084] S102: In the hull model preprocessing stage, the input hull IGES geometric model needs to be standardized and the heterogeneous surface data is uniformly converted into NURBS surface expression to ensure the consistency and accuracy of subsequent processing. Subsequently, by parsing the processed hull IGES geometric model, key information such as the longitudinal section contour line of the hull is extracted to provide a basis for subsequent meshing and partitioning.
[0085] S103: Based on the extracted hull feature points, the hull surface is divided into different regions such as the bow, midship and stern, and the corresponding mesh generation algorithm is selected according to the complexity of the region. For regions with simple structures, the NURBS surface interpolation method is used to generate structured meshes; for complex regions, the optimal transfer mapping theory and Delaunay triangulation algorithm are used to generate unstructured meshes, and the mesh quality verification standard is used to optimize them to ensure the quality and accuracy of the generated meshes.
[0086] S104: To ensure the continuity and smooth transition of the hybrid mesh, a hybrid mesh boundary transition zone submodule is developed. By setting the mesh size and the node position of the fixed boundary, the mesh continuity between the partitions is achieved, and a transition zone is set at the junction to complete the generation of the hybrid mesh. Subsequently, a surface mesh generation software module is developed to implement the above algorithm as software code, and the interface with the potential flow solver is standardized to achieve seamless integration with the potential flow solver.
[0087] S105: Integrate the developed surface mesh generation software module with the potential flow solver as a pre-processing module to provide the hull surface mixed mesh input. Verify the generated mesh through the verification submodule, including the analysis of mesh generation efficiency, Jacobian coefficient, distortion and other indicators, and compare and verify with the mesh generated by commercial software to ensure the quality and efficiency of the generated mesh.
[0088] like Figure 4 As shown in the figure, through the above research scheme, the automatic generation of high-quality hybrid grids on the hull surface can be achieved, providing reliable pre-processing support for ship fluid dynamics simulation.
[0089] Example 3
[0090] Combination Figure 3 , Figure 5 and Figure 6 This embodiment is described as follows. Figure 5 As shown, the steps of the fluid calculation domain partitioning and fluid grid generation scheme described in this embodiment include:
[0091] S201: Fluid computation domain partition submodule development: partition the fluid computation domain into far field, near field boundary layer and near field transition layer. According to the distance parameter set by the user, the fluid computation domain is divided into near field and far field, and the near field boundary layer and transition layer are divided according to the extension distance of the hull surface grid along the normal direction.
[0092] S202: Development of far-field structured body mesh generation submodule: Based on the fluid domain area division information, a structured body mesh generation algorithm is used to generate a structured hexahedral mesh in the far field to meet the computational requirements of the far-field flow.
[0093] S203: Development of boundary layer non-structured body mesh generation submodule: Based on the fluid domain area division information and the hull surface mesh file, the sweeping method is used to interpolate the internal mesh nodes along the sweeping path in the boundary layer to achieve the division of the non-structured body mesh, and the mesh unit quality is optimized through smoothing operations.
[0094] S204: Transition layer non-structural body grid generation submodule development: Figure 3 The frontier-based layer-by-layer method extracts the boundary topology of the generated far-field volume grid and boundary layer volume grid as the initial frontier, gradually inserts new nodes inward, and automatically generates the non-structural volume grid of the transition layer.
[0095] S205: Development of hybrid volume mesh quality verification and optimization submodule: According to the volume mesh quality verification standard, the volume mesh with poor local quality is automatically optimized to ensure the quality of the final mesh is good, so as to ensure the convergence of the viscous flow solution calculation.
[0096] S206: Fluid mesh generation software module development: Based on the above algorithm, the fluid mesh generation software module is developed using the C++ programming language to input the hull model IGES format file and user-defined fluid calculation domain partition parameters, and output the .MSH format mesh file that meets the calculation requirements of the viscous flow solver, while realizing the standardization of the interface with the viscous flow solver.
[0097] S207: Integration and verification of fluid mesh generation software module: The developed volume mesh generation software module is embedded into the core fluid foundation solver to provide the required high-quality fluid computational domain non-structured volume mesh input file for the viscous flow solver. The generated mesh is verified by the verification submodule. The mesh generation results of the fluid computational domain are as follows: Figure 6 As shown, this embodiment ensures the efficiency and quality of mesh generation to meet the requirements of viscous flow solution calculation.
[0098] This embodiment realizes the automatic generation of high-quality non-structural meshes in the fluid calculation domain with different regional properties, and provides reliable pre-processing support for ship viscous flow hydrodynamic simulation.
[0099] Example 4
[0100] In ship engineering, the quality of structural analysis grid is directly related to the accuracy and reliability of solving structural strength problems. This topic aims to develop high-quality structural analysis grid generation tools for typical hull geometric components to meet the needs of ship structural mechanics simulation. The steps of the hull structure analysis grid generation solution described in this embodiment include:
[0101] S301: Development of hull component geometry preprocessing submodule: Preprocess the hull geometry components, delete less important geometric details, and repair possible geometric problems to provide a high-quality geometric model for subsequent mesh generation. This step will ensure that the generated mesh is as consistent as possible with the actual structure.
[0102] S302: Development of physical modeling submodule for ship structure analysis: Based on the input physical model parameter file, define materials, unit properties, load boundary conditions, and assign them to different geometric areas to provide support for subsequent mesh generation. This step will ensure that the physical model of the structural analysis is consistent with the actual situation.
[0103] S303: Development of finite element mesh generation submodule: Using the grid "seeds", the surface grid is divided according to the laying method, and the line grid is generated at the plate seam to realize the structural grid generation based on the plate beam unit. This step will ensure that the generated grid can meet the grid quality requirements of the ship structure CAE analysis and provide a reliable basis for the subsequent mechanical analysis.
[0104] S304: Development of local mesh quality optimization submodule: Refine the mesh in the stress concentration area based on the coarse mesh, and add transition units to ensure accurate analysis of the stress concentration state.
[0105] The refinement results are as follows Figure 7 As shown, the refinement of the call grid will ensure the accuracy of the fatigue strength evaluation of the simplified method or the direct calculation method, and provide a reliable basis for solving structural strength problems.
[0106] S305: Integration of ship structure analysis mesh generation software module: Based on the above algorithm, the ship structure analysis mesh generation software module is developed using C++ programming language. This module accepts the STEP standard format file of the hull geometry component and the physical model parameter file as input, outputs the .INP format mesh file that meets the requirements of the structural analysis solver, and realizes the standardization of the interface with the structural analysis solver. This step will provide a reliable and efficient tool to support the simulation analysis of structural strength problems.
[0107] S306: Verification analysis of the ship structure analysis mesh generation software module: Verify the efficiency, Jacobi coefficient, distortion and other indicators of the generated mesh, and compare and check the quality with the mesh generated by the commercial software to ensure that the efficiency and quality of the hull structure analysis mesh generation software meet the requirements. This step will ensure that the generated mesh can meet the solution requirements of the structural strength problem and provide reliable results.
[0108] Through the above content, this embodiment can effectively generate high-quality structural analysis grids that meet the classification society's review requirements, and provide reliable pre-processing support for the accurate solution of ship structure strength problems.
[0109] Example 5
[0110] Ship hydrodynamic simulation calculations will generate large-scale fluid field data, which poses a great challenge to data visualization. At present, ordinary PCs are difficult to process billions of grids, while supercomputers and clusters focus more on solving calculations, and the hardware resources for visualization are relatively limited. Therefore, this sub-topic needs to solve the problem of large-scale data visualization. The solution to this problem is to reduce the data size as much as possible without affecting the rendering effect, so that ordinary machines can also visualize large-scale flow field data.
[0111] The simulation data online-driven lightweight rendering solution described in this embodiment includes: the definition of solver simulation data specification and output driving mechanism, the research on solver simulation data specification and output driving mechanism, and the agreement with the solver on the output structure and format of simulation data. Design a data callback mechanism based on a parallel solver to obtain real-time calculation result data from the solver, use HDF5 format for data exchange, design and develop a fast data reading and writing module to realize fast reading and writing of result files, and drive the parallel post-processing visualization module interface to perform data preprocessing and parallel visualization data processing.
[0112] Among them, the steps of model feature recognition and mesh simplification include: designing simulation result model feature recognition and simplification algorithms, conducting shape feature location and recognition research for the visualization objects of this project, and defining the model's feature positions and sensitive areas in combination with the model's geometric curvature field and the gradient field of the physical variable distribution. Based on the defined feature positions and sensitive areas, a constrained mesh simplification algorithm is developed. Based on the feature positions and sensitive areas, the mesh simplification algorithm with different granularities and constraints is studied in combination with mature mesh simplification algorithms such as vertex merging and edge folding. A compression simplification program for post-processing data is developed to achieve lightweight result data output.
[0113] Then we studied multi-resolution and occlusion removal visualization technology, and conducted business data content analysis and key attribute tagging for the original post-processed visualization data. We developed layered and different granularity visualization data processing algorithms to achieve hierarchical management and maintenance of data. Through ray tracing image rendering methods, based on the mature LOD method, we established a resolution model with more than three layers, defined the model features and usage conditions at different levels, and automatically switched the rendering level according to different viewing angles and positions during rendering, optimizing the visualization area and rendering efficiency.
[0114] Based on the above solution, this embodiment uses C++ language to carry out simulation data driven real-time lightweight rendering code development, modularization and interface standardization. At the same time, it is benchmarked with ParaView NNW-TopViz in terms of rendering effect and rendering efficiency, and the code interface can support standard requirements.
[0115] Example 6
[0116] The key to the rapid post-processing of large-scale ship CFD simulation data is parallelism. How to make full use of the computing resources of CPU and GPU, reasonably allocate simulation data to each parallel computing node, and efficient data communication strategy, use visual parallel algorithm to process data, and finally program to implement parallel visualization module, and package it into software together with solver module to achieve rapid visualization of large-scale simulation data. Therefore, the ultimate goal of this part of the study is to input large-scale time series simulation data generated by hydrodynamic coupling solver. CGNS / VTK and other format files, output cloud map, vector map, streamline and other results required for ship hydrodynamic result analysis.
[0117] The steps of the parallel acceleration technical solution for online visualization of simulation data described in this embodiment include: research on data parallel partitioning technology, developing a parallel reading program based on CGNS and VTK simulation result files, drawing on open source standards and formats such as MED and MOAB to construct grid and field data in memory, and using parallel partitioning tools such as METIS according to data characteristics to partition data and carry out data numbering and interface relationship construction.
[0118] Among them, the research on data communication strategies includes: based on the rules of data partitioning and the use of parallel physical scenarios (shared memory, distributed memory), the use of OpenMP / MPI protocol design to conduct multi-threaded / multi-process data communication rules between nodes, and the research on grid partitioning and load balancing according to the defined parallel data structure, to achieve single-machine multi-core and multi-machine multi-core data distribution and result feedback. The research on visualization data processing methods includes: based on image libraries such as OpenGL / VTK, according to the data and communication rules of parallel partitions, the data at the interface is secondary mapped, and post-processing algorithms such as parallel pressure cloud map interpolation, isosurface extraction, and streamline generation are developed, and the data generated by the parallel algorithm is collected to the master node. The research on the integration and verification of large-scale simulation data parallel rendering modules is based on the above scheme, and the parallel code development, modularization and interface standardization of online visualization of simulation data using C++ language are carried out. At the same time, it is benchmarked with ParaView (parallel version) in terms of parallel visualization effect and rendering efficiency.
[0119] The above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent replacement and improvement made to the above embodiments without departing from the content of the technical solution of the present invention, based on the technical essence of the present invention, within the spirit and principles of the present invention, still fall within the protection scope of the technical solution of the present invention.
Claims
1. A ship fluid CAE meshing and 3D visualization tool, characterized in that: The ship fluid CAE meshing and three-dimensional visualization tool comprises: Ship surface hybrid grid generation module, fluid calculation domain non-structural body grid generation module, ship structure analysis grid generation module and ship fluid / structure simulation data post-processing module; The hull surface hybrid grid generation module is used to generate high-quality hybrid grids on the hull surface for self-use; The fluid computational domain non-structural body grid generation module is used to automatically generate high-quality non-structural body grids in the fluid computational domain for different regional properties; The hull structure analysis grid generation module is used to automatically generate high-quality structural analysis grids that meet the classification society's approval requirements; The ship fluid / structure simulation data post-processing module is respectively connected to the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module, and is used to process the simulation data according to the generation results of the hull surface hybrid grid generation module, the fluid calculation domain non-structure grid generation module and the hull structure analysis grid generation module, and distribute the simulation data to each parallel computing node.
2. A ship fluid CAE meshing and 3D visualization tool according to claim 1, characterized in that: The hull surface hybrid grid generation module includes a hull model preprocessing submodule, a hull model information extraction submodule, a hull adaptive partitioning submodule, a structured / unstructured grid generation submodule, and a hybrid grid generation submodule; The hull model preprocessing submodule is used to perform standardization processing on the input hull IGES geometric model; The hull model information extraction submodule is used to extract hull feature points of the hull model after standardization; The hull adaptive partitioning submodule is used to divide the hull surface into regions according to the extracted hull feature points; The structured / unstructured grid generation submodule is used to generate a mixed grid of the hull surface according to the complexity of the area after the hull surface is divided by selecting a corresponding algorithm.
3. A ship fluid CAE meshing and 3D visualization tool according to claim 1, characterized in that: The fluid calculation domain non-structure body grid generation module includes a fluid calculation domain partition submodule, a far-field structure body grid generation submodule, a boundary layer non-structure body grid generation submodule, a transition layer non-structure body grid generation submodule, a hybrid body grid quality verification and optimization submodule and a fluid grid generation software submodule; The fluid computing domain partitioning submodule is used to perform partition management on the fluid computing domain; The far-field structured body grid generation submodule is used for the regional division information of the pattern fluid domain to generate a structured hexahedral grid in the far field; The boundary layer non-structured body grid generation sub-module is used to divide the non-structured body network according to the fluid domain area division information and the hull surface mixed grid file; The transition layer non-structured body grid generation submodule is used to realize the automatic generation of the non-structured body grid of the transition layer according to the frontier layering method; The hybrid body grid quality check and optimization submodule is used to automatically optimize the local fluid grid according to the quality check standard of the fluid grid; The fluid grid generation software submodule is used to obtain an MSH format grid file that meets the calculation requirements of the viscous flow solver, and realizes the standardization of the interface with the viscous flow solver.
4. A ship fluid CAE meshing and 3D visualization tool according to claim 1, characterized in that: The hull structure analysis grid generation module includes: a hull component geometry preprocessing submodule, a ship structure analysis physical modeling submodule, a finite element grid generation submodule, a local grid quality optimization submodule and a ship structure analysis grid generation software submodule; The hull component geometry preprocessing submodule is used to preprocess the hull geometry components; The ship structure analysis physical modeling submodule is used to define materials, unit properties, load boundary conditions and assign them to each geometric area according to the input physical model parameter file; The finite element mesh generation submodule is used to divide the surface mesh of the hull according to the laying method by spreading mesh "seeds" to generate a structural mesh mainly composed of plate beam elements; The local mesh quality optimization submodule is used to refine the mesh in the stress concentration area in the structural mesh; The ship structure analysis grid generation software submodule is used to output an INP format grid file that meets the requirements of the structural analysis solver.
5. A ship fluid CAE meshing and 3D visualization tool according to claim 1, characterized in that: The ship fluid / structure simulation data post-processing module includes: a simulation data exchange submodule and a visualization algorithm development submodule; The simulation data exchange submodule is used to exchange simulation data using the HDF5 format and establish simulation data specifications and output drive mechanisms; The visualization algorithm development submodule is used to develop parallel cloud map interpolation, isosurface extraction, streamline generation post-processing algorithms and visualization rendering functions, and complete the development of large-scale physical field parallel visualization algorithms.
6. A method for CAE meshing and three-dimensional visualization of ship fluid, applied to a ship fluid CAE meshing and three-dimensional visualization tool as claimed in any one of claims 1 to 5, characterized in that: include: Step 1: Input the IGES heterogeneous geometric model of the hull into the hull surface hybrid mesh generation module to obtain the hull surface hybrid mesh; Step 2: Generate non-structural mesh of fluid computational domain with the hull surface hybrid mesh as the frontier; Step 3: Input the ship structure STEP model file into the hull structure analysis grid generation module, output the structural analysis INP format grid file suitable for the ship structure CAE solver, and complete the ship fluid CAE network division; Step 4: Based on steps 1-3, obtain the large-scale time-series simulation data file generated by the hydrodynamic coupling solver and input it into the ship fluid / structure simulation data post-processing module, perform lightweight processing on the input data, and output the rendering results required for the ship hydrodynamic result analysis.
7. A method for CAE meshing and three-dimensional visualization of ship fluid according to claim 6, characterized in that: The steps to obtain the mixed mesh of the hull surface in step 1 include: Step 1.1: Based on the hull model preprocessing submodule, the input hull IGES geometric model is standardized, and the heterogeneous surface data is uniformly converted into NURBS surface form. Based on the hull model information extraction submodule, the characteristic points in the hull are extracted through the standardized hull IGES geometric model; Step 1.2: Based on the hull adaptive partitioning submodule, combined with the extracted hull feature points, the hull surface is divided into bow, midship and stern regions. Based on the structured / unstructured grid generation submodule, the corresponding grid generation algorithm is selected in combination with the complexity of the region. For regions with simple structures, the NURBS surface interpolation method is used to generate structured grids. For regions with complex structures, the optimal transfer mapping theory and Delaunay triangulation algorithm are used to generate unstructured grids. The generated structured grids and unstructured grids are optimized through the grid quality verification standard. Step 1.3: Based on the hybrid mesh generation submodule, the mesh continuity between the partitions is achieved by setting the mesh size and the node positions of the fixed boundaries, and a transition zone is set at the junction to complete the generation of the hybrid mesh on the hull surface.
8. A method for CAE meshing and three-dimensional visualization of ship fluid according to claim 6, characterized in that: The steps for generating the non-structural mesh of the fluid computational domain in step 2 include: Step 2.1: Based on the fluid calculation domain partitioning submodule development, the fluid calculation domain is partitioned, and the fluid calculation domain is divided into near field and far field according to the distance parameter set by the user, and the boundary layer and transition layer of the near field are divided according to the extension distance of the hull surface grid along the normal direction; Step 2.2: Based on the far-field structured body mesh generation submodule, combined with the fluid domain area division information, using the structured body mesh generation algorithm, a structured hexahedral mesh is generated in the far field; Step 2.3: Based on the boundary layer non-structure mesh generation submodule, combined with the fluid domain area division information and the hull surface mesh file, the sweeping method is used to interpolate the internal mesh nodes along the sweeping path in the boundary layer to complete the division of the non-structure mesh, and the mesh unit quality is optimized through smoothing operation; Step 2.4: Based on the transition layer non-structured body mesh generation submodule, combined with the frontier layering method, the boundary topology of the generated far-field body mesh and boundary layer body mesh is extracted as the initial frontier, and new nodes are gradually inserted inward to automatically generate the non-structured body mesh of the transition layer; Step 2.5: Based on the hybrid volume mesh quality check and optimization submodule, automatically optimize the volume mesh with poor local quality according to the volume mesh quality check standard; Step 2.6: Use C++ programming language to develop the fluid mesh generation software module, input the IGES format file of the hull model and the user-defined fluid calculation domain partition parameters, output the MSH format mesh file that meets the calculation requirements of the viscous flow solver, and realize the interface standardization with the viscous flow solver.
9. A method for CAE meshing and three-dimensional visualization of ship fluid according to claim 6, characterized in that: The steps in step 3 to obtain the structural analysis INP format mesh file suitable for the ship structure CAE solver include: Step 3.1: preprocessing the hull geometric components based on the hull component geometric preprocessing submodule, filtering and repairing the geometric details; Step 3.2: Input the hull physical model parameter file into the physical modeling submodule of ship structure analysis, define the materials, unit properties, load boundary conditions, and assign them to different geometric areas; Step 3.3: Based on the finite element mesh generation submodule, the surface mesh is divided according to the laying method by using the mesh "seeds", and the line mesh is generated at the plate seams to generate a structural mesh mainly composed of plate-beam units; Step 3.4: Based on the local mesh quality optimization submodule, the mesh of the stress concentration area is refined on the basis of the coarse mesh, and a transition unit is added; Step 3.5: The ship structure analysis mesh generation software submodule is developed using C++ programming language. The ship structure analysis mesh generation software submodule takes the hull geometry component STEP standard format file and the physical model parameter file as input, outputs the INP format mesh file that meets the requirements of the structural analysis solver, and realizes the interface standardization with the structural analysis solver.
Citation Information
Cited By
Method and device for automatically generating large-scale unstructured grids of commercial aircraft
CN120125780A
Rapid grid generation method for nuclear engineering typical component
CN120234852A
Method, device and equipment for automatically identifying overlapping structure grid grouping information in helicopter simulation and medium
CN120429964A
Method, device, equipment and medium for automatically identifying overlapping structure grid grouping information in helicopter simulation
CN120429964B
Hull structure health monitoring method based on digital twinning
CN120828926A
