Method for automatically determining opening size of ventilation grille, computer system and medium

CN118568912APending Publication Date: 2024-08-30DASSAULT SYSTEMS AMERICAS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410223055.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-28
Publication Date
2024-08-30

Smart Images

  • Figure CN118568912A
    Figure CN118568912A
Patent Text Reader

Abstract

The invention relates to a method for automatically determining the opening size of a ventilation grille, a computer system and a medium. A computer-implemented method is disclosed that includes automatically determining a ventilation grille opening size estimate based on input in a computer-implemented environment to achieve numerical simulation setup automation. A computer-implemented method includes creating screenshots of a plurality of computer-rendered images of a three-dimensional grid geometry by arranging the three-dimensional grid geometry at different rotation angles about a first axis; identifying whether the total opening value of the three-dimensional grating geometry image of the screenshot is greater than the total opening value of the three-dimensional grating geometry image of any other screenshot or not and which screenshot is greater than the total opening value of the three-dimensional grating geometry image of any other screenshot; and designating the identified image as a target image for further processing to determine a ventilation grille opening size estimate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to determining ventilation grille opening sizes, and more particularly, to automatically determining ventilation grille opening sizes in a computer-implemented environment to automate numerical simulation setups. Background Art

[0002] In numerical simulations, different mesh sizes are often applied to different fluid regions in order to optimize computational resources. These regions are also called variable resolution (VR) regions, and the size of the region is defined by a separate reference geometry. Specifically, for simulations based on the Lattice-Boltzmann Method (LBM), VR regions have varying grid refinement sizes at different levels. Summary of the invention

[0003] In one aspect, a computer-implemented method is disclosed, including automatically determining a ventilation grille opening size estimate based on input in a computer-implemented environment to automate a numerical simulation setup. The computer-implemented method includes: creating multiple screenshots of a computer-rendered image of a three-dimensional grille geometry by arranging the three-dimensional grille geometry at different rotation angles about a first axis; identifying whether and which of the screenshots has an image of the three-dimensional grille geometry with a total opening value greater than the total opening value of the image of the three-dimensional grille geometry in any other screenshot; and designating the identified image as a target image for further processing to determine the ventilation grille opening size estimate.

[0004] On the other hand, a computer-implemented method is disclosed, comprising automatically determining an estimate of a ventilation grille opening size based on input in a computer-implemented environment to automate a numerical simulation setup. The computer-implemented method comprises: importing a three-dimensional grille geometry; calculating an oriented bounding box based on the three-dimensional grille geometry; identifying an initial observation vector for the imported three-dimensional grille geometry; creating a spatial calibration box based on the three-dimensional grille geometry to associate a pixel domain of a computer-rendered image of the three-dimensional grille geometry with a physical domain including a real-world version of the grille; from a viewpoint defined by the initial observation vector, taking screenshots of a series of computer-rendered images of the three-dimensional grille geometry by setting the three-dimensional grille geometry in different orientations (each orientation showing an image of the three-dimensional grille geometry at a different rotation angle about a first axis), and identifying which (if any) of the screenshots of the three-dimensional grille geometry image has a greater total opening value than any other screenshot of the three-dimensional grille geometry image The invention relates to a method for obtaining a total opening value of an image; designating a three-dimensional grille geometry image having a maximum total opening value in the captured three-dimensional grille geometry image as a target image; calculating a calibration factor of the target image; extracting edges of the target image; identifying contours in the target image based on the extracted edges; calculating the area within the identified contours; eliminating abnormal contours based on the area calculation to generate a contour list containing only retained contours; calculating a two-dimensional oriented bounding box for each contour displayed in the contour list, and returning a width value and a length value of each corresponding two-dimensional oriented bounding box; identifying a minimum value between the width value and the length value for each corresponding two-dimensional oriented bounding box; and calculating a final opening size value based on the identified minimum value to represent an estimated value of the ventilation grille opening size.

[0005] In yet another aspect, a computer system is configured to automatically determine ventilation grille opening size estimates based on input in a computer-implemented environment to automate numerical simulation setup. The computer system includes: a computer processor and a computer-based memory, the computer-based memory operably connected to the computer processor, wherein the computer-based memory stores computer-readable instructions that, when executed by the computer processor, cause the computer-based system to: create multiple screenshots of a computer-rendered image of a three-dimensional grille geometry by arranging the three-dimensional grille geometry at different rotation angles about a first axis; identify which of the screenshots (if any) has a total opening value of the three-dimensional grille geometry image greater than the total opening value of the three-dimensional grille geometry image of any other screenshot; and designate the identified image as a target image for further processing to determine the ventilation grille opening size estimate.

[0006] In yet another aspect, a non-transitory computer-readable medium having computer-readable instructions stored thereon, which, when executed by a computer-based processor, enables the computer-based processor to automatically determine an estimated value of the ventilation grille opening size based on input in a computer-implemented environment by utilizing a method comprising the following steps to automate a numerical simulation setup: creating screenshots of multiple computer-rendered images of a three-dimensional grille geometry by arranging the three-dimensional grille geometry at different rotation angles about a first axis; identifying which of the screenshots (if any) has a total opening value of the three-dimensional grille geometry image greater than the total opening value of the three-dimensional grille geometry image of any other screenshot; and designating the identified image as a target image for further processing to determine an estimated value of the ventilation grille opening size.

[0007] In some embodiments, one or more of the following advantages exist.

[0008] For example, certain embodiments facilitate automatic creation of three-dimensional (3D) variable resolution regions for grid geometry that can be used in one or more computer-implemented simulations. More specifically, this is done in a manner that results in efficient simulation with computational resources, i.e., balancing the availability of such resources with the need for accuracy and detail in such simulations.

[0009] Embodiments of the systems and techniques disclosed herein provide automatic and fast grille opening calculation / estimation, whereas some previous methods are time consuming, involve manual processes, and / or are inefficient.

[0010] Embodiments of the systems and techniques disclosed herein help eliminate inaccuracies and errors in an engineer's judgment (e.g., when taking measurements, estimating, setting up VR areas, and / or attempting to simulate a grid or a particular environment including the grid). Improved accuracy and consistency can be achieved.

[0011] Embodiments of the systems and techniques disclosed herein facilitate automation of simulation workflows.

[0012] Embodiments of the systems and techniques disclosed herein overcome technical challenges associated with identifying the location of an opening and determining its size, particularly in the presence of visual noise (e.g., horizontal / vertical bars and / or vehicle logos, and variations in the shape of grille openings / holes that vary between vehicle models / designs).

[0013] Embodiments of the systems and techniques disclosed herein overcome technical challenges associated with spatial calibration, which is difficult due to a lack of good reference geometry and where manual spatial calibration may not be feasible or practical in automated simulation workflows.

[0014] Other features and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1A and Figure 1B Shown are front and side views of an example of a vehicle grille, enclosed VR10 and VR11 regions for the simulation setup, and an oriented bounding box for the vehicle grille.

[0016] Figure 2 A flow chart showing an example of a method for automatically determining the opening size of a ventilation grille.

[0017] FIG. 3A to FIG. 3C Examples of generated images of the grid and spatial calibration box at different rotation angles are shown.

[0018] Figure 4A and Figure 4B Different grill designs are shown with horizontal and vertical bars.

[0019] Figure 5A and Figure 5B A ray casting method is shown for preparing candidate images for calculating the total open area in an image.

[0020] Fig. 6A and Figure 6B Shown are the contours extracted from the target image with the largest opening area and the oriented bounding box of a single hole, which is used to calculate the opening size of that hole.

[0021] 7A to 7C Different grid configurations are shown, using different meshes.

[0022] Figure 8 is a schematic diagram of a computer configured to perform the functions disclosed herein.

[0023] Fig. 9 It is a schematic diagram of a computer network.

[0024] Like reference numerals refer to like elements. DETAILED DESCRIPTION

[0025] Various terms are used herein to describe the inventive concepts described herein. Unless otherwise specified, the terms and their variations below should be understood to have the same meaning as follows.

[0026] "Numerical simulation" refers to the method by which a computer simulates a real-world process or system by performing calculations based on a mathematical model of the real-world process or system.

[0027] A "grid" is a network of cells and nodes in a computer-implemented environment that supports some numerical simulation. Typically, each cell in the grid will represent an individual solution to the simulation, and the individual solutions can be combined to produce an overall solution for the entire grid.

[0028] "Resolution" refers to the density or size of cells displayed, for example, in a computer-generated mesh or finite element to support a computer-implemented numerical simulation based on a computer-implemented model of an object or portion of an object. Resolution can affect the efficiency and effectiveness of a computer-implemented simulation. For example, high-resolution simulations can produce detailed data but at a high cost, while low-resolution simulations tend to be less expensive but produce less detailed data. One way to try to strike a balance between the two is to utilize variable resolution ("VR") regions.

[0029] A "variable resolution region" (or "VR region") is a region defined in and / or around a modeled object (e.g., a grid) or a portion of a modeled object (e.g., a grid or a vehicle or other component including a grid) in a computer-implemented simulation involving a modeled object (e.g., a grid or a vehicle or other component including a grid) (e.g., a flow region) where the resolution of the mesh used for the simulation is different in different VR regions. Complex simulations, such as those involving the Lattice-Boltzmann method, may assign multiple (e.g., up to 11 or 12) different VR regions to a mesh in a simulation involving modeled vehicles or heavy industrial machinery.

[0030] The phrases "opening" or "gap" or "hole" etc. refer to a hole in the grille that passes from one side (eg, front side) to the opposite side (eg, rear side) and, in operation, will allow a fluid (eg, air) to pass through the grille.

[0031] A "bounding box" is the lowest or smallest bounding box or enclosing box of an N-dimensional (where N may be equal to 3) set of points S, i.e., the box of minimum measure (e.g., volume) in which all points lie. An "oriented bounding box" (or OBB) is a minimum bounding box that is computed without constraints on the orientation of the result. This is in contrast to an "axis-aligned minimum bounding box," in which the minimum bounding box is constrained to have its edges parallel to the default or global (Cartesian) coordinate axes.

[0032] The phrase "initial look vector" refers to a vector originating from the exterior (and, for example, the front) of the modeled grille 101 geometry and pointing toward the modeled grille 101 geometry. In general, the term "vector" refers to a geometric object having a magnitude (even an arbitrary magnitude) and a direction. In some embodiments, the "initial look vector" is configured to have (i.e., point toward) the following direction: toward a face (e.g., the front face) of the oriented bounding box 105 of the grille 101 geometry. Further, in some embodiments, the "initial look vector" is configured to be perpendicular to the front face of the OBB 105. Depending on the size and direction, the viewpoint and direction of the "initial look vector" may provide a view through some portion of one or more openings in the modeled grille 101 geometry (e.g., from the front of the grille to the rear of the grille). In an exemplary simulation, the +X direction points from the front bumper of the vehicle to the trunk / rear region of the vehicle. Thus, the face with the smallest X value in the virtual world corresponds to the front face in the real world. The front face "encounters" the air first. For those grilles located in the rear region (e.g., for some sports cars) or on the side (for some machines), the front face always points to the exterior region of the car / machine. To determine the inward and outward directions of the car / machine, the computer may apply a ray casting method to calculate the intersection locations between rays emitted from the grille and the bounding box of the car / machine.

[0033] Technology Disclosure

[0034] In a computer-implemented numerical simulation, a computer performs calculations based on a computer-implemented mathematical model of a real-world method or system to simulate the real-world method or system. Computer-based numerical simulations may involve discretizing the physical space or time represented in the mathematical model using a virtual grid comprising a network of cells. The computer can perform calculations on a per-cell basis to support such a computer-implemented numerical simulation, and the computer can then draw overall conclusions based on the sum of the results of the individual (or partial) cell calculations.

[0035] In some computer-implemented numerical simulations, multiple grids (each grid consisting of a set of cells) can be applied to discrete physical regions, for example, at or near the surface of the system being modeled. The size, shape, and resolution of each grid can be affected by the size and shape of the system being modeled and / or the goal of the numerical simulation. In addition, typically, the resolution (e.g., cell size) in computer-implemented numerical simulations can vary from grid to grid. Typically, using higher resolution grids tends to produce more details and information, but is relatively inefficient, while using lower resolution grids tends to produce less details and information, but is relatively efficient. It is often desirable that the grid size be varied in a manner that achieves a balance between producing highly detailed simulation results and efficiency. In a typical computer-implemented numerical simulation, grids applied to different physical regions at or near the surface of the system being modeled are, for example, referred to as variable resolution ("VR") regions.

[0036] Computational Fluid Dynamics (CFD) represents a special form of numerical simulation of fluid dynamics that uses numerical analysis and data structures to analyze and solve problems involving fluid flow (e.g., fluid flow through and / or around an automobile grille). Computers are used to perform these calculations and store associated data structures to facilitate simulation of free stream flow of a fluid (e.g., air), and the interaction of the fluid with the surface of the grille, which interaction may be defined, for example, by data representing boundary conditions in memory.

[0037] According to an exemplary embodiment, the CFD program may include defining the geometry and physical boundaries of the problem and / or system (e.g., grids and simulation of fluid flow conditions passing through and near the grids), which may be defined using computer-aided design (CAD). Thus, data may be processed (cleaned) and fluid volumes (or fluid domains) may be extracted. The space occupied by the fluid under consideration may be divided into discrete units (grids) by the computer. The grid may be uniform or non-uniform, structured or unstructured, and may be composed of, for example, any one of hexahedral units, tetrahedral units, prism units, pyramidal units, or polyhedral units or a combination thereof. Physical modeling may be defined, for example, using equations that define, for example, fluid motion, enthalpy, radiation, etc., all of which may be stored in computer memory. Boundary conditions may also be defined in computer memory. This may involve describing the behavior and properties of the fluid at the boundary surface of the fluid domain. For transient problems, initial conditions may also be defined in computer memory. Once these preprocessing steps have been performed, the computer may iteratively solve the equations (e.g., based on each unit) as a steady state or transient state to perform simulations. Finally, a post-processor in a computer can be used to analyze and visualize the resulting solution (which may be a collection or other combination of individual unit solutions).

[0038] Some such computer-implemented CFD methods utilize the lattice-Boltzmann method (LBM). In the LBM, the fluid density on the lattice can be simulated using flow and collision (relaxation) methods. These methods tend to be general because the modeled fluid can be directly constructed to simulate common fluid behaviors, and fluids in complex environments can be directly simulated, while other CFD methods may have difficulty working in situations involving complex boundaries.

[0039] In some computer-implemented methods, different grid sizes may be applied to different fluid regions (e.g., around a grid) to optimize computational resources in these (and other) types of simulations. These regions may also be referred to as variable resolution (or "VR") regions. Some such regions may have a size and shape defined by a separate reference geometry. In an LBM-based simulation, different VR regions may have different grid refinement sizes at different levels (e.g., in different VR regions). For example, for a standard vehicle simulation using LBM, up to 11 or 12 levels of VR regions may be applied (or capable of being applied) in the simulation domain, depending on, for example, the specific application being discussed (e.g., aerodynamics, thermal management, aeroacoustics). A higher VR level typically means that a finer grid is applied in the VR region. A lower VR level typically means that a coarser grid is applied in the VR region. The computational cost is significantly affected by the finest VR level used and the VR region size. Therefore, best practices are generally used to avoid over-resolving any fluid region.

[0040] In all critical areas of the vehicle, grilles tend to require a finer resolution mesh in order to fully capture flow gradients (e.g., flow gradients across the narrow gaps / holes 104 present in a typical grille 101 design). (See, e.g., Figure 1A and Figure 1B ). Therefore, a finer mesh VR tends to be applied to the simulation around the area of ​​the vehicle grille. More specifically, as Figure 1A and Figure 1BAs schematically shown, in a typical LBM simulation, two finest variable resolution VR regions (e.g., VR10 103 and VR11 102) may be applied to surround the grille 101 of the vehicle. In the illustrated embodiment, VR11 102 is closer to the grille 101 than VR10 103. As such, VR11 102 surrounds the grille 101 more tightly than VR10 103. Each of VR11 102 and VR10 103 approximates the overall shape of the grille, excluding narrow gaps / holes 104 in the grille. In most cases, the mesh size used in VR11 is 1 mm and the mesh size in VR10 is 2 mm. Although this rule of thumb strategy simplifies the simulation setup, it may waste simulation resources (e.g., if the grille opening size is large enough, only VR10 (without VR11) is sufficient). A minimum of 8 voxels is typically required to resolve the flow through the grille. Therefore, in some cases, VR11 surrounding the grille may no longer be required (e.g., if the opening size is larger than 16 mm). In Figure 1A and Figure 1B Variable resolution regions VR10 103 and VR11 102 are shown surrounding a grille 101 of a vehicle. VR10 103, which may have a mesh size of 1 mm, is closer to the grille 101 than VR11 102, which may have a mesh size of 2 mm.

[0041] The grille 101 represented in the illustrated image (which may appear on a computer screen by rendering a CAD or mesh file) has a rigid body that is contoured to define an outer edge 108 surrounding an inner portion having a structure defining a honeycomb pattern of substantially uniform gaps / holes 104 extending through the grille 101 (e.g., from Figure 1A In fact, each gap / hole 104 in the interior portion of the grille 101 as shown is the same or similar to all other gaps / holes 104 in the interior portion, except at the edges (top, bottom and sides) of the interior portion, where some of the gaps / holes 104 are cut off by outer edges 108. Figure 1B As shown in the side view of , the front surface of the inner portion of the grille 101 extends slightly forward from the front edge of the outer edge 108. From an aesthetic perspective, the visual effect produced by this pattern may be pleasing or attractive to the viewer. From a functional perspective, for example, the pattern provides a path for airflow through the grille and into the engine compartment area of ​​the vehicle. When the vehicle is in operation, particularly when the vehicle is moving under the action of the engine or electric motor, this airflow generally helps to carry heat away from the vehicle. The narrow gaps / holes 104 in the grille 101 allow air to flow from the outside of the vehicle in a generally horizontal direction (e.g., Figure 1B1 (from left to right in FIG. 1 ) flows through grille 100 and into the engine compartment area of ​​the vehicle.

[0042] In the illustrated embodiment, an oriented bounding box 105 is shown. In general, a bounding box is a virtual box that encloses and defines the lowest or minimum boundary or enclosing box of a set of points that make up the grid model. The bounding box can be axially aligned (e.g., edges are arranged parallel to Cartesian coordinate axes, which are arranged parallel to and perpendicular to the direction of gravity). Alternatively, as shown in the illustrated embodiment, the bounding box can be oriented relative to the grid 101 in a manner (as shown) to minimize the internal volume of the bounding box.

[0043] Thus, the illustrated OBB 105 defines a minimum bounding box or enclosing box of the set of points that make up the car model, having a minimum volume in which all points are located. The illustrated OBB 105 is a square cuboid, whose front surface contacts the frontmost point of the modeling grid 101, the rear surface contacts the rearmost point of the modeling grid 101, the side surfaces contact the farthest points on both sides of the modeling grid 101, the bottom surface contacts the lowest point of the modeling grid 101, and the top surface contacts the highest point on the modeling grid 101. In some embodiments, one or more of the bounding box surfaces may contact more than one point on the modeling grid 101 (if the points are all located in the same plane and include the farthest point in that dimension). The dimensions of the OBB 105 implicitly define the total length, height, and width of the modeling grid 101.

[0044] Also shown in the illustrated embodiment is an initial look vector 106. The look vector is a vector originating from outside (and in front of) the modeled grid 101, pointing toward the front face of the grid 101, and oriented perpendicular to the front face 107 of the OBB 105. Given the depth of the structure defining the gap / hole 104 (e.g., Figure 1A Viewing the modeled grid 101 from the viewing vector 106 enhances the likelihood that one can view as much as possible through the gaps / holes 104 in the grid 101, given the size of the page in the grid 101 and the outline.

[0045] There are a variety of methods for measuring the size of the openings in a grille. Each existing method has disadvantages.

[0046] For example, manual measurement is a relatively simple method of determining the opening size of a grille. However, the size of the opening in the grille may vary for different designs and vehicle models, and VR assignment based on the size opening may be subject to the subjective and sometimes imprecise and inconsistent judgment of the engineer in determining which size should be used to determine the VR assignment. In addition, depending on the 3D shape of the opening, manually measuring the size may introduce human error as selecting two points for distance measurement may be somewhat subjective. Furthermore, in an automated workflow where it is desired to minimize manual input, manually measuring the size and then manually assigning the VR area may not be feasible or practical (from a speed or efficiency perspective). Therefore, an automated method for accurately measuring the size of the opening is needed to facilitate automation of the simulation workflow and reduce uncertainty from any human factors.

[0047] This goal can be achieved by analyzing the 3D geometry, identifying possible gaps, and then attempting to calculate the size of the gaps. For example, if the geometry has been triangulated, rays can be emitted from the centroids of all triangles, and the gap size can be determined by measuring the propagation distance of the rays. Although algorithms such as octrees can be used to improve the performance of this ray tracing method, it remains challenging to determine whether the returned distance belongs to the target gap / opening. Another approach is to identify two sets of points from two objects and then use Delaunay tetrahedronization to calculate the gap between the two objects or two points. (See, for example, S. Goswami, G. Burenkov, 2022, “Detection of gaps between objects incomputer added design defined geometries”, U.S. Patent Application 16 / 504,599). However, user input is typically required to define a threshold for the gap distance and a threshold for the angle formed by the two objects, which is not ideal for the purpose of automating simulation workflows.

[0048] Embodiments of the systems and / or techniques disclosed herein address and / or solve one or more of these technical challenges / problems.

[0049] Additionally, it is difficult to identify the location and size of gaps / holes in the grille using three-dimensional (3D) shape analysis of the grille geometry, particularly in the presence of visual noise and / or obstructions, such as horizontal / vertical bars and / or vehicle emblems that may be incorporated into or mounted to the grille. Embodiments of the systems and techniques disclosed herein take these challenges into account.

[0050] Additionally, the shape of the grille opening / aperture may vary by vehicle model / design. For example, the grille openings in different vehicle models / designs may be rectangular, hexagonal, circular, etc. These variations introduce additional challenges when trying to detect the overall size of the opening. Even with this challenge in mind, embodiments of the systems and techniques disclosed herein facilitate estimators to identify appropriate VR assignments.

[0051] Furthermore, depending on the orientation of the grille and possible tilt of the flat plate when active grille guards are present, the opening size may visually appear smaller when the viewing angle is parallel to the direction of vehicle movement, for example. This poses a challenge to directly use any image processing techniques to analyze the grille opening size. Embodiments of the systems and techniques disclosed herein address and overcome these technical issues.

[0052] Furthermore, when using image processing methods to analyze shapes or determine actual opening sizes, spatial calibration can be difficult due to the lack of good reference geometry. Manual spatial calibration is not particularly feasible in automated simulation workflows. Embodiments of the systems and techniques disclosed herein address and overcome these technical issues.

[0053] Furthermore, creating a grid image with an optimized viewing angle in a computer program so that the program can perform analysis of the image and determine the opening size is challenging for known techniques. Embodiments of the systems and techniques disclosed herein address and overcome these technical problems.

[0054] Furthermore, embodiments of the systems and techniques disclosed herein are able to identify the outline of an opening and determine the overall opening size in the presence of noise, and / or handle grilles with different orientations and designs.

[0055] Other technical issues can also be discussed in this article.

[0056] In some embodiments, the systems and techniques disclosed herein can be integrated into an automated computational fluid dynamics (CFD) simulation workflow (e.g., by executing computer software implementing the CFD simulation on a computer) to automatically evaluate and / or determine a value for the size of the opening used as a vehicle grille so that the correct VR area can be assigned to the grille area to optimize simulation resources in the CFD simulation. In some embodiments, the systems and techniques disclosed herein can be used to detect the size of the opening of any device or apparatus designed for ventilation.

[0057] Exemplary Computer Environment

[0058] Figure 81 is a schematic diagram of an exemplary embodiment of a computer 1000 configured to automatically determine a value representing an opening size of a grille of a vehicle based on a computer-based representation of the grille geometry. In some embodiments, the determination facilitates or enables (e.g., by computer 1000) automatic allocation of one or more three-dimensional (3D) variable resolution (VR) regions at or near the grille for use in a computer-based simulation (e.g., CFD) involving the grille, thereby appropriately balancing the competing interests of accuracy and efficiency.

[0059] The computer 1000 is shown having a processor 1002, a computer-based memory 1004, a computer-based storage 1006, a network interface 1007, an input / output device interface 1010, and an internal bus 1012 that serves as an interconnect between the components of the computer 1000. The bus 1012 acts as a communication medium through which the various components of the computer 1000 can communicate and interact with each other.

[0060] Processor 1002 is configured to perform various computer-based functions disclosed herein and other supporting functions not explicitly disclosed herein. Some of the computer-based functions performed by processor 1002 are those functions that are specifically attributed to computer 1000 (or processor 1002) disclosed herein. In some embodiments, processor 1002 performs these and other functions by executing computer-readable instructions stored on computer-readable media (e.g., memory 1004 and / or storage 1006). In various embodiments, some functions of the processor may be performed with reference to data stored in one or more of these computer-readable media and / or data received from some external sources (e.g., received from I / O devices via I / O device interface 1010 and / or received from external networks via network interface 1007). Processor 1002 in the illustrated embodiment is shown as a single hardware component at a single node on a network. However, in various embodiments, processor 1002 may be distributed on multiple hardware components at different physical and network locations / nodes.

[0061] The computer 1000 has volatile and non-volatile storage capabilities (e.g., in memory 1004). As shown, the memory 1004 is configured to store an operating system 1020 of the computer and executable software 1008. In a typical embodiment, the memory 1004 serves as a computer-readable medium storing computer-readable instructions that, when executed by the processor 1002, cause the processor 1002 to perform one or more computer-based functions disclosed herein. More specifically, in some embodiments, the memory 1004 stores computer software that enables the computer 1000 to perform various functions disclosed herein, including, for example: determining a value for an opening size of a grille representing a vehicle based on a computer-based representation of the geometry of the grille (e.g., stored as a CAD file in the computer memory), and / or (based on the determined opening size value) automatically identifying and allocating one or more three-dimensional (3D) variable resolution (VR) regions at or near the grille for use in a computer-based simulation involving the grille, and / or utilizing one or more of the allocated 3D VR regions at or near the grille to perform a computer-based simulation involving the grille. In multiple embodiments, the computer software can be a stand-alone component; however, in other embodiments, the computer software can be integrated into another software program stored in memory 1004 and / or designed and operable for use in conjunction with another software program to facilitate and perform computer-based simulations that utilize calculated values ​​of opening sizes, VR area allocations (based on calculated opening sizes), or both in running grid geometry-based simulations.

[0062] For example, in certain embodiments, the aforementioned computer software may be integrated into the computer program product available from Dassault Systammes Simulia Corporation. In simulation software. The simulation software provides a unique solution for computational simulation of fluid flow problems. It is suitable for a wide range of applications, whether simulating transient or steady-state flows. PowerFLOW uses a The enhanced particle-based approach of the technology provides rich modeling and analysis capabilities, including aerodynamic simulation, thermal simulation (including, for example, convection, conduction, radiation and heat exchangers) and aeroacoustic simulation. The simulation software can simulate fluid flow design problems in industries such as automotive and other ground transportation, aerospace, petroleum, housing design and architecture / engineering / construction (AEC), heating, ventilation and air conditioning (HVAC), and electronics. Automotive applications include, for example, full vehicle exterior aerodynamics for drag and lift, underbody design, noise source identification or aeroacoustics for side mirrors, antennas, glass offset and detail design, wind tunnel design and verification, air intakes, manifolds, heating and air conditioning ducts, engine compartment cooling, filter design, and windshield wiper design. For example, when a computer executes a program such as a computer program suitable for incorporating the technology disclosed herein, the computer program may be used to simulate fluid flow design problems in industries such as automotive and other ground transportation, aerospace, petroleum, petroleum, and engineering / construction (AEC), heating, ventilation and air conditioning (HVAC), and electronics. When programming simulation software, the software may have the ability to automatically determine a value for the size of an opening in a grille representing a vehicle, facilitate and / or automatically assign a three-dimensional (3D) variable resolution (VR) region at or near the grille (e.g., for purposes of computer-based simulation), and / or run a simulation of the grille based on the assigned 3D VR region.

[0063] In the illustrated embodiment, the computer 1000 also has a storage device 1006, which may be virtually any form of computer-based storage device or component.

[0064] Figure 2 The flowchart of the illustrated example embodiment of a method for determining a value representing the size of an opening in a grille based on a virtual three-dimensional, computer-based representation of the grille (including the geometry of the grille). In some embodiments, the value can be used to facilitate and / or enable automatic assignment or at least simplify assignment of one or more three-dimensional (3D) variable resolution regions at or near the grille for simulating the grille in a computer-based environment (e.g., from a computational fluid dynamics perspective). In an example embodiment, the method illustrated by the illustrated flowchart is implemented in a computer-based environment, such as in Figure 8 The method steps shown are implemented on a computer 1000 of the present invention, and are performed by a processor 1002, or with the assistance or participation of the processor 1002.

[0065] According to the illustrated flow chart, the method includes (at step 201) importing a three-dimensional (3D) grid geometry. In a typical embodiment, the importing step includes importing a computer-based representation of the 3D grid geometry (e.g., from one application to another application). In this case, the source (or original) application may be, for example, a software application that creates and / or stores the computer representation of the 3D grid geometry. It may be a computer-aided design (CAD) application, such as the CAD software available from Dassault Systèmes. CAD software. In this case, the target application will be Figure 2In one specific example, the target application may be a software application of the method shown in (e.g., a software application in which a computer representation of a 3D grid geometry is processed and analyzed as described herein). simulation software (also available from Dassault Systammes), Simulation software suitable for including Figure 2 The target application may include a geometry tool or geometry viewer that facilitates viewing a visual representation of a 3D grid on a computer screen (e.g., connected to 1010 in FIG. 1 ). For example, at step 201 , the 3D grid geometry may be contained in a CAD or mesh file imported from a geometry program.

[0066] In some embodiments, the import process (at step 102) is automatically performed by a computer (e.g., computer 1000). In some embodiments, the import process (at step 102) is performed in response to a human user (e.g., at a user interface of computer 1000) selecting an import option or taking some other step or combination of steps to initiate the import. In an exemplary embodiment, the import process causes the representation Figure 1A and 1B Data for the grid 101 design shown is imported. However, the data imported (at step 201) will typically not include information representing the OBB 105, the view vector 106, or any 3D VR regions 102, 103. In an exemplary embodiment, the data representing Figure 1A and 1B The data for the grid 101 geometry shown will be imported from, or in the form of, a CAD file.

[0067] Next, according to the illustrated flow chart, the computer 1000 (at step 202) calculates an oriented bounding box (OBB) 105 for the imported grid (e.g., grid 101) geometry. In a typical embodiment, this step involves determining virtual parameters of the OBB 105 relative to the imported grid 101 design to fully define the OBB 105, such as Figure 1A and 1B As shown. OBB 105 is typically generated directly from the imported grid (e.g., grid 101) geometry. In this regard, computer 1000 stores the following computer executable instructions: when computer processor 1002 executes the computer executable instructions, the computer executable instructions cause computer processor 1002 to automatically generate OBB 105 parameters (and optionally, a visual representation of OBB 105, such as, for example, Figure 1A and 1B shown).

[0068] In some embodiments, the computer 1000 automatically invokes the OBB generation function (e.g., in response to the modeling grid (e.g., grid 101) being imported at step 201). In some embodiments, for example, the computer 1000 invokes the OBB generation function in response to an external prompt from a human user. In the latter case, the computer 1000 may be configured to present a user-selectable option at a user interface, and the selection of the option by the human user causes the computer 1000 to invoke the OBB generation function and then automatically generate the OBB 105 based on the imported grid geometry.

[0069] There are a variety of minimum bounding box algorithms that the computer 1000 may apply to a data set representing an imported grid geometry to generate the OBB 105 .

[0070] For example, the computer 1000 may apply a rotating caliper algorithm to an imported grid geometry data set. This rotating caliper algorithm may be based on a method described in an article entitled “Finding Minimal Enclosing Boxes” by Joseph O'Rourke, published in 1985 in the International Journal of Computer & Information Sciences, pages 183-199. This method is based on the following auxiliary theorem (lemmas) describing the minimum enclosing box: 1) The minimum volume enclosing box must have two adjacent faces: both of which contain the edge of the convex hull of the point set (this criterion can be satisfied by a single convex hull edge that is colinear with the edge of the box, or by two different convex hull edges located on adjacent box faces); and 2) The other four faces only need to contain one point of the convex hull (the points they contain do not need to be different: for example, a single hull point located at the corner of the box already meets three of the four criteria). (See also Shamos, M., 1978, “Computational Geometry”, Yale University, pp. 76-81).

[0071] It is also possible to approximate the minimum bounding box volume in linear time to within any constant factor greater than 1. One algorithm to achieve this involves finding an approximation to the diameter of the point set, and using a box oriented toward that diameter as an initial approximation of the minimum volume bounding box. This initial bounding box is then divided into a grid of smaller cubes, and the grid points that are close to the convex hull boundary of the input are used as a core set, which is a small set of points whose best bounding box is close to the best bounding box of the original input. Finally, O'Rourke's algorithm (described above) can be applied to find the exact best bounding box for this core set.

[0072] Once calculated (at step 202), OBB 105 may be stored as data (e.g., in computer memory 1004). In addition, in some embodiments, computer 1000 may be configured to generate a visual representation of OBB 105 on a computer display (e.g., coupled to 1010), and the visual representation may appear as Figure 1A and / or Figure 1B 105. In addition, in some embodiments, computer 1000 may be configured to present a visual representation of OBB 105 on a display of the computer. In some embodiments, the visual representation of OBB 105 is presented along with an image of the grid 101 geometry associated with OBB 105. In some embodiments, various other information (e.g., dimensions such as length, height, and / or width) and / or position information of corner nodes of OBB 105 may be displayed or communicated to the user via a user interface on the display.

[0073] In a typical embodiment, OBB 105 is a six-sided 3D box where each edge (or face) is perpendicular to any adjacent edge (or face). Figure 1A and Figure 1B An example of this is shown in FIG. 1 , where the OBB 105 is 3D and has six sides (or faces)—a front face 107, a back face 109, a right side face 111, a left side face 113, a top face 115, and a bottom face 117. Each of these faces 107-117 is perpendicular to the adjacent faces. For example, the front face 107 of the OBB 105 is perpendicular to the adjacent top face 115, the adjacent bottom face 117, and the adjacent side faces 111, 113.

[0074] Next, according to the method shown in the flowchart of the figure, the computer 1000 (at step 203) calculates the initial observation vector 106. In a typical embodiment, the computer 1000 uses the OBB 105 information of the grille to calculate the initial observation vector 106. There are many ways for the computer 1000 to calculate the initial observation vector 106 using the OBB 105 information of the grille. For example, most of the time, the grille considered is the front grille, and according to typical conventions, the vehicle is always arranged along the X direction (for example, as shown in the figure). Therefore, in those embodiments, the computer 1000 can simply use the +X direction as the observation direction. In addition, the geometry tool usually has a built-in "zoom adaptation" function. Therefore, the computer 1000 can be set to +X direction as the observation direction and use zoom adaptation to create a perfect view of the grille. In addition, in some embodiments, once the computer 1000 has obtained the OBB information, the system can specify the center of the OBB as the starting point, and the direction of the vector will be perpendicular to the front of the OBB.

[0075] In a typical embodiment, for example Figure 1A and Figure 1B As shown, the initial viewing vector 106 is perpendicular to and toward the front face of the OBB 105 to ensure that there is a relatively high chance that the opening will be visible (and able to be seen through) in the starting image taken in step 205 .

[0076] In some embodiments, computer 1000 may be configured to present a visual representation of initial observation vector 106. In some embodiments, the visual representation of initial observation vector 106 may be in the form of Figure 1B 105, i.e., the initial look vector 106 appears with the grid 101 geometry and the associated image of the OBB 105. In some embodiments, various other information (e.g., dimensions such as length, height, and / or width) and / or position information of the corner nodes of the OBB 105 may be displayed or communicated to the user via a user interface on the display.

[0077] Next, according to the illustrated flow chart, the computer 1000 (at step 204) creates a spatial calibration box 302. Essentially, in order to use an image to measure distance, a relationship (or ratio) between the pixel domain (e.g., an image of a grid) and the physical domain (e.g., a real-world version of a modeled grid) needs to be established. This process is called spatial calibration, and the relationship / ratio sought for this purpose is expressed as a conversion ratio or calibration factor (and can be referred to as a ratio of pixels to real-world distance).

[0078] In an exemplary embodiment, the computer 1000 calculates the ratio of the pixel to the actual distance using Formula 1:

[0079]

[0080] Among them, L r is the real-world length of the modeled object (e.g., a grid), and L p is the corresponding length in pixels shown in the image of the modeled object. This calibration factor may be changed if the image of the object is rotated (e.g., on a screen) due to a change in the visible pseudo-size in pixels shown in the image.

[0081] There are many ways to create the spatial calibration frame 302. Typically, the spatial calibration frame 302 is as follows: FIG. 3A to FIG. 3C , and is a 3D box or a two-dimensional (2D) square with a very small thickness (eg, 1 mm). The computer 1000 calculates the height (H) of the spatial calibration box 302. SCB ) and width (W SCB ) is set equal to the height (H OBB). Computer 1000 positions the geometric center of spatial calibration frame 302 on the left side (or right side) of the image of grid 301 geometry (e.g. Figure 3A , Figure 3B and Figure 3C 105 ), but aligns the geometric center of the spatial calibration frame 302 with the center of the front face 107 of the OBB 105. This thin calibration frame 302 is necessary because the grid 301 geometry itself cannot be used for calibration purposes during rotation, even if its dimensions are known. The reason is that the grid 301 typically has a non-trivial thickness, such as can be seen at 314. This thickness creates an aritificial volume in the image that artificially increases the apparent height or width of the grid 301 geometry, as can be seen by comparing the appearance of the grid thickness from 314 ( ) to 315 ( ) when the image of the grid 301 geometry is rotated (about the horizontal axis 304). Figure 3A 315( Figure 3C The changes in the

[0082] Figure 3A The diagram of FIG. 2 shows an exemplary spatial calibration frame 302 adjacent to a front view image of a grid 301 geometry, which may be generated from the grid geometry data that has been imported in step 201 . FIG. 3A to FIG. 3C The grid geometry 301 in is similar to Figure 1A The two vertices of the spatial calibration frame 302 are Figure 3A 312 and 313. Two rotation axes are also shown: a horizontal rotation axis 304 and a vertical rotation axis 306. Each of these axes 304, 306 passes through the image of the modeling grid 301 (eg, through the geometric center of the image of the modeling grid 301).

[0083] Figure 3B An image 308 is shown, which is similar to Figure 3A 302 is similar in that an image of the spatial calibration frame 302 is shown next to a front view image of the grid 301 geometry. Figure 3C An image 309 is shown, which is similar to Figure 3A 1 is similar in that an image of the spatial calibration frame 302 is shown next to a front view image of the grille 301 geometry. However, images 308 and 309 are example images generated by backward (clockwise) and forward (counterclockwise) rotations (about horizontal axis 304) of image 307 in FIG1, respectively. As shown, the views of the grille 301 geometry and the openings in the grille 301 appear different in size and shape as the images are rotated about the horizontal axis.

[0084] In a typical embodiment, the computer 1000 is configured to generate the image sequence by rotating the starting image (e.g., about the horizontal axis 304) backward or forward or backward and forward, e.g. Figure 3A , Figure 3B and Figure 3C . In addition, computer 1000 may be configured to take screenshots of the image at each rotation angle, including any initial angle (which may be arbitrarily designated as 0 degrees). The screenshots may be saved (e.g., saved in memory 1004) as they are created. This produces a sequence of images of the grid 301 geometry and the spatial calibration frame 302 immediately adjacent to the grid 301 geometry (around a common axis, such as horizontal axis 304) at different rotation angles.

[0085] Refer again Figure 2 , the computer 1000 (at step 205) captures a screenshot of the grid 301 and the spatial calibration frame 302 when they appear on the display screen at the same time and the rotation angle is zero degrees. In most cases, the rotation angle (zero degrees) may correspond to the viewpoint of the initial observation vector 106 calculated in step 203 for the grid 301 and the spatial calibration frame 302 and the view in the direction defined by the initial observation vector. Therefore, the viewing angle used to generate the screenshot is determined by the initial observation vector 106. The image thus acquired may be designated as the first image or main image 307 in an image sequence showing the grid 301 and the spatial calibration frame 302 at different rotation angles (rotated about the horizontal axis 304).

[0086] Next, according to the illustrated flow chart, the computer 1000 (at step 206) rotates the grid 301 geometry and the image of the spatial calibration frame 302. In one embodiment, the rotation is performed about the horizontal axis 304. However, in other embodiments, the rotation is performed about the vertical axis 306 instead. The rotation direction can be forward ( Figure 3A ) or backward (indicated by the curved arrows around the horizontal axis 304 in FIG. Figure 3A The amount by which the computer rotates the image (step 206) can vary. In different embodiments, the angle is 1 degree or less, 2 degrees or less, 3 degrees or less, 4 degrees or less, 5 degrees or less, 10 degrees or less, etc.

[0087] In an exemplary embodiment, the rotation (e.g., forward rotation about the horizontal axis 304) changes the visual appearance of the image from Figure 3A The appearance (307) in the Figure 3C309). It can be seen that even though the geometry of the grille 301 is the same in both images 307 and 309, its appearance (including how much of the opening in the grille is see-through) changes due to the change in viewpoint and perspective relative to the grille 301. For example, as the image of the grille 301 geometry is rotated forward (about the horizontal axis 304), the appearance of the grille thickness changes from thickness 314 ( Figure 3A 307) to a thickness of 315 ( Figure 3C 309 in ).

[0088] Once the image has been rotated (e.g. Figure 3A The view in 307 is rotated to Figure 3C In the example of FIG. 1000 , the computer 1000 (at step 207 ) captures a new screenshot of the new view ( 309 ). The computer 1000 typically stores the new screenshot in memory (e.g., 1004 ) along with the original screenshot (captured and saved at step 205 ).

[0089] Typically, steps 206 and 207 are repeated multiple times, i.e., screenshots are taken of the same image at different rotation angles, to produce a sequence of multiple different images showing the same grid 301 geometry from different viewpoints / perspectives. Each of these screenshots may be stored together in a memory (e.g., 1004). In some embodiments, the different viewpoints / perspectives are produced by the computer 1000 rotating the image slightly forward for each screenshot relative to the previous screenshot. In some embodiments, the different viewpoints / perspectives are produced by the computer 1000 rotating the image slightly backward for each screenshot relative to the previous screenshot. In some embodiments, the different viewpoints / perspectives may be produced by the computer 1000 rotating the image forward and backward by different amounts relative to the perspective and angle of view of the original screenshot (captured and saved in step 205).

[0090] The foregoing method is helpful, for example, because depending on the specific grille design and its orientation, the image 307 generated using the initial observation vector 106 may not be the best image for analyzing the opening size. One reason for this is that the opening hole may be occluded (e.g., by surrounding structures), resulting in a misleadingly small opening being displayed in the image. If such an image (e.g., showing a misleadingly small opening size) is used to calculate the opening size, significant errors may be introduced. When the opening size is measured manually (e.g., by a real-world engineer), the engineer may rotate the real-world grille to find the best viewing angle before actually measuring the opening size. To simulate this process, in step 206, the computer 1000 rotates the image of the grille 301 geometry so that it pivots around its horizontal axis 304 at the geometric center. During the rotation of the geometry, the camera viewing angle and position (i.e., the viewpoint from which the screenshot is taken in step 207) remain unchanged. A screenshot containing the grille 301 and the calibration frame 302 is captured at each rotation angle of θ° (in step 207). The value of θ can be optimized to strike a balance between performance and accuracy. Rotation can be performed in clockwise and counterclockwise directions or sequentially in clockwise and counterclockwise directions, depending on, for example, at what angle the target image is found. Likewise, images 308 and 309 are example images generated by backward (clockwise) and forward (counterclockwise) rotations.

[0091] Once the computer 1000 has generated a plurality of different images showing the same grid 301 geometry from different viewpoints / perspectives, the computer 1000 identifies (at step 208) which of the images has the largest opening size. This process will be discussed further below. If none of the images can be identified as having the largest opening size (at step 208), then, in accordance with the illustrated flow chart, the computer 1000 proceeds to step 209 and rotates the image of the grid geometry (e.g., initial image 307) along the vertical axis 206 (at step 209), taking screenshots 207 at each θ° rotation angle (step 207) to generate a new series of images showing the grid 301 geometry and the spatial calibration frame 302 at different rotation angles about the vertical axis 306. After generating this new set of images, the computer 1000 returns to step 208 and attempts to find the image with the largest opening size (this time searching among a new set of screenshot images showing the same grid geometry from different viewpoints and perspectives, with the images rotated about the vertical axis 206 rather than the horizontal axis 204).

[0092] In a typical embodiment, once the image having the largest (or highest) opening size is identified (at step 208), the computer saves the image in memory or marks the image with a marker indicating this feature.

[0093] Next, according to the flowchart shown, the computer 1000 calculates (at step 210) the calibration factor (or the ratio of pixels to real distance) for the image determined (at step 208) to have the largest opening size. Since the physical height of the spatial calibration frame 302 is already known from when it was created at step 204 (and stored in memory, such as 1004), it is only necessary to determine the height of the spatial calibration frame in pixels. In one embodiment, this can be calculated by a method that involves casting rays (310, 311) in a vertically downward direction from and near the upper corner of the display screen (see Figure 3A 307 in the image 307), and projecting a ray vertically upward from the bottom corner of the display screen (see Figure 3A The corners from which these rays (310, 311) are projected are the corners on the spatial calibration side of the display screen (i.e., the side of the grid 301 geometry where the spatial calibration box 302 is located).

[0094] In some embodiments, one ray may be cast at a time from the upper edge of image 307 and the lower edge of image 307. For example, in the illustrated embodiment, the first ray of each ray casting the upper and lower edges may be closest to the leftmost edge of image 307, and each subsequent ray may be cast toward spatial calibration frame 302 starting at a point on the upper and lower edges that is adjacent to the previous ray by some amount (one or more) of pixels. In some embodiments, multiple rays (separated from each other by some amount (one or more pixels) of pixels in the lateral direction) may be simultaneously cast from the upper edge of image 307 in a downward direction, and simultaneously cast from the lower edge of image 307 in an upward direction.

[0095] If a particular one of the projected rays never hits or reaches a darkened pixel, then, in typical embodiments, computer 1000 may conclude that no portion of spatial calibration frame 302 is located in the path traversed by that projected ray. Figure 3A The leftmost rays (both cast downward and cast upward) will traverse the entire image 307 without reaching the darkened pixel. When this occurs, the computer 1000 concludes that no portion of the spatial calibration frame 302 lies on the path traversed by those leftmost rays. On the other hand, if a particular one of the cast rays hits or reaches the darkened pixel, then, in an exemplary embodiment, the computer 1000 may conclude that the darkened pixel corresponds to (and forms part of) the spatial calibration frame 302.

[0096] In a typical embodiment, when the ray hits any darkened pixel (e.g., a black pixel), the computer 1000 records (e.g., records in memory 1004) the travel distance of the projected ray (e.g., one ray from each set of projected rays 310 and 311) indicating that the pixel belongs to the calibration frame 302. In a typical embodiment, the travel distance is recorded in pixels. In an exemplary embodiment, when at least one ray from each set of rays 310, 311 hits a black pixel, the projection process stops. The coordinates of the two hit points in pixels are returned (and, for example, stored in memory 1004). The two coordinates belong to vertex 312 and vertex 313 of the spatial calibration frame 302, respectively. Therefore, the computer 1000 can (and does) determine that the height (in pixels) of the spatial calibration frame 302 is equal to the vertical distance between the two vertices. Since the calibration frame 302 is a square in a two-dimensional (2D) domain, the computer 1000 knows its position information in the image (e.g., the coordinates of its four vertices). Therefore, the computer 1000 can (and does) identify the calibration factor by dividing the physical height of the spatial calibration frame (e.g., in millimeters) by the height of the spatial calibration frame in pixels. The calibration factor can then be in units of millimeters per pixel (millimeters are selected for presentation purposes, and other physical units may also be selected), with the physical size being expressed in millimeters per pixel.

[0097] In an alternative embodiment, the pixel height of the calibration frame 302 can be obtained by first extracting pixel information representing the four sides of the frame, then finding a pair of parallel point sets to calculate the distance between the two point sets, or finding the maximum distance between all edge points to obtain the diagonal distance, and then using the Pythagorean theorem to calculate the frame height. In such an embodiment, the computer 1000 will perform these calculations. Since the grid 301 and the calibration frame 302 coexist in the image 307, some work needs to be done to extract the edge information of the calibration frame 302. One method is to hide the grid 301 and take another screenshot of the frame alone without changing the viewing vector, and then perform edge detection (for example, using ray casting as described above) to extract the edge information of the calibration frame 302. Another method is to assign a color to the calibration frame 302 geometry in the view, and use the RGB (red, green, blue) value of the color to identify the calibration frame 302. In an embodiment, the geometry viewing tool provides an option to assign an appearance color to the geometry. For example, once the box is loaded into the geometry tool, the user can set the color of the box to yellow or red, rather than the default color (usually gray) displayed to the user. Assume that the user sets the color red for the calibration box. The computer 1000 can then examine the color or RGB values ​​of a given image containing the box and the grid. Since the computer 1000 is able to recognize that the pending box is red, the computer 1000 can then know / specify that any red pixels belong to the box. Therefore, in this regard, the computer 1000 can recognize the location of the calibration box.

[0098] Identification of target images with the largest opening area

[0099] In one embodiment, the computer 1000 stops the rotating screenshot capture process after a predetermined total number of images have been acquired. The predetermined number can be stored in a memory (e.g., 1004) and in some cases can be user-defined. In such an embodiment, when the number is reached, the process terminates. The computer 1000 typically stores all collected images in a memory (e.g., 1004).

[0100] As described above, the computer 1000 (at step 208) finds which collected image has the largest visible opening size among the images that have been collected. In an exemplary embodiment, the collected images are divided into three groups, an initial image taken at a rotation angle of 0°, an image set created by backward rotation, and an image set created by forward rotation. In an exemplary embodiment, each hole has an area Ai. The computer 1000 is configured to sum all areas of multiple holes and obtain a total opening area A. For each image, the computer 1000 further determines an area A indicating the maximum opening area, which is equal to the maximum value of all Ai in all images. The image with the largest opening area displayed is the target image because it represents the maximum opening size. In order to search for the target image, the computer 1000 calculates the total opening area of ​​each image starting from the initial image, and then scans the backward rotated image set, for example, in the order of increasing rotation angle. In most cases, as the computer continues from the initial image to the backward rotated image set, the calculated value of the total opening area changes (e.g., increases or decreases) from one image to another. In an exemplary embodiment, if / when the total open area calculated for a particular image is found to be decreasing (i.e., less than the total open area calculated for the previous image) during the scanning process, the computer 1000 stops the scanning process. That image (i.e., the image preceding the image with the decreasing total open area in the sequence) is selected and designated in the memory 1004 as the temporary target image.

[0101] Then, in this example, the computer 1000 scans the forward rotation image set in order of increasing rotation angle to determine if there are any images with a total opening area greater than the previously specified temporary target image. Similarly, if / when the value is found to decrease from one image to the next, the computer 1000 stops the scanning process (of the forward rotation images).

[0102] If the scan of the forward rotated images does not find an image with a total opening area greater than the previously designated (found by scanning the backward rotated images) temporary target image, the computer 1000 (in memory 1004) designates the temporary target as the final target image (i.e., the image with the largest opening area among all acquired images). If the scan of the forward rotated images finds any image with a total opening area greater than the previously designated (found by scanning the backward rotated images) temporary target image, the computer 1000 (in memory 1004) designates the image in the forward rotated image sequence preceding the image showing a decrease in total opening area as the final target image. If the forward and backward scans find an immediate decrease in total opening area (relative to the initial image), the computer 1000 (in memory 1004) designates the initial image as the final target image. Thus, in an exemplary embodiment, once the process has been completed, the computer 1000 has identified the final target image.

[0103] The above method works well for a grid having a mesh or honeycomb design similar to grid 301, or for a grid having a horizontal bar design similar to grid 401. When the grid is rotated, the horizontal bars 402 in grid 401 (or the hexagonal holes in grid 301) will cause occlusion of the viewing holes (e.g., 403) in the grid. Therefore, when the total open area is analyzed image by image, significant changes are obvious (and can be identified using the above method), so the rotation process can be terminated even in the presence of noise objects such as logo 404. However, if the grid has a design similar to 406 (with or without a logo), that is, if it has vertically arranged bars, then when the grid is rotated about the horizontal axis, the change in total open area (if any) will not be significant because the vertical bars 406 will not occlude any holes when the grid is rotated. To help address this challenge, in some embodiments, if no target image is found in step 208, the computer 1000 can introduce an additional step 209 to rotate the grid along its vertical axis 306. The image scanning process in step 208 is repeated for these new sets of images (created by taking screenshots of the initial view, a series of views of the grid rotated to the left, and a series of views of the grid rotated to the right).

[0104] In an alternative embodiment, the computer 1000 stops the rotation-snapshot-capture process by dynamically analyzing the images generated at each θ angle, and continues to generate new images only after the total opening area of ​​the current image is calculated. This process still follows the sequence of initial-backward-forward screenshot acquisition. Compared with the method used in the first embodiment described above, this method may ultimately analyze fewer or the same number of images, depending on the specific grid design involved.

[0105] Calculation of total opening area in the image

[0106] Since the opening size of a single hole is proportional to its area, in an exemplary embodiment, the computer 1000 calculates the total opening area in a less computationally intensive manner in step 208, rather than expending a large amount of computational resources to calculate the total opening size of the holes. In order to distinguish the opening area from the grid frame, the computer creates an image as a binary image consisting of only two colors or different appearances (e.g., white and black), or converts the image into a binary image consisting of only two colors or different appearances (e.g., white and black). In an exemplary embodiment, the computer 1000 directly generates a binary image in step 205 by setting the background color of the geometry tool or viewer to white and the color of the grid geometry to black when taking a screenshot, rather than using any image processing technology to convert a color or grayscale image into a binary image.

[0107] Figure 5A A portion of image 502 in FIG. 5 shows an exemplary appearance of a binary image of grid 501 (created in step 205), wherein the background color of the geometry tool or viewer is set to white and the color of the grid 501 geometry is set to black. Image 502 also includes a view of a spatial calibration box 505 adjacent to the grid 501 geometry.

[0108] Computer 1000 cannot be used directly Figure 5A The total opening area is calculated from the image 502 shown in FIG. 1 because the space 503 surrounding the grid 501 and the calibration frame 505 has a white color (similar to the openings in the grid 501). When rotated, the change in the total area of ​​the space 503 is unpredictable because the shape of the input grid 501 (the phrase "input grid" here refers to the grid data loaded into the program or geometry viewer) is unknown. As a result, errors may be introduced into the target image search process. To overcome this challenge, the computer 1000 colors the space 503 black to generate Figure 5B 506 in which only the holes / openings in the grille 501 are white. The rest of the image 506 except the white holes / openings is black.

[0109] The computer 1000 can be used in a variety of ways according to Figure 5A The image 502 is generated Figure 5B According to one embodiment, computer 1000 performs the image 506 by utilizing a ray casting method and emitting rays 504 from all four sides of image 502 in a horizontal or vertical inward direction (see, e.g., Figure 5A ) to automate the aforementioned spatial shading process. Computer 1000 checks the color of each pixel visited by each ray 504, and if the original color of the pixel is white, updates the color of the pixel to black. Each ray 504 stops when it reaches a pixel that is already black (it was already black when the ray reached it). In some cases, reaching a pixel that is already black means that the ray may have reached the boundary of the grid, so it can (and does) stop.

[0110] However, the color of the calibration frame 505 is also black, which will cause the algorithm to fail if not handled specially. For example, if the rays 504 emitted from the left side of the image 502 simply stop when they reach the left edge of the spatial calibration frame 505, then the portion of the white space 503 between the spatial calibration frame 505 and the grid 501 will not become black, and the subsequent calculation of the opening area will be affected. One way to deal with this challenge is as follows. Since the computer 1000 has previously obtained the coordinate information of the four vertices of the calibration frame 505 (and stored in the memory 1004) when calculating the calibration factor (in step 210), the computer 1000 simply does not update the color of the pixels that are within the area of ​​the spatial calibration frame 505 (i.e., within the space defined by the rectangle with the corners located at the vertices) reached by the rays, and once the rays reach the pixels outside this area, the computer 1000 resumes updating the color of the pixels (from white to black). In addition, even if the pixels are black (within the spatial calibration frame area), the computer allows the rays to continue to move through the spatial calibration frame area instead of stopping (otherwise the computer would stop them when the rays reach the black pixels). Once the process is complete, all of the space surrounding the grid 501 and calibration box 505 will be shaded black, as shown in diagram 506 .

[0111] Here, black and white are described as being used in a particular manner. In other embodiments, the coloring may be the same as just described (and in Figure 5A and Figure 5B In other embodiments, different colors, shades, patterns, etc. may be used instead of simple black and white coloring.

[0112] In an exemplary embodiment, computer 1000 calculates Figure 5B The computer 1000 specifies this value (the total number of white pixels in the image 506) as the total open area in the image 506. The computer 1000 may accomplish this task (i.e., calculate the total number of white pixels) in a number of ways. In an exemplary embodiment, the computer 1000 utilizes The function findNonZero in the library is used to count the total number of white pixels in the image 506. (See, for example, Bradski, G., 2000. OpenCV Library, Dr. Dobb's Journal of Software Tools).

[0113] Calculation of total grille opening size

[0114] Once the final target image is found (at step 208), i.e., the image with the largest open area, the computer 1000 calculates the calibration factor (or the ratio of pixels to real distance) for the image at step 210. As described above, the computer 1000 calculates the ratio of pixels to real distance by Formula 1 (as above, and again here):

[0115]

[0116] Among them, L r is the real-world length of the modeled object (e.g., a grid), and L p is the corresponding length in pixels of the image of the modeled object.

[0117] In order to calculate a value for the total grille opening size (e.g., an average, excluding any outliers), information about all openings (e.g., the outline / shape of the gaps / holes) needs to be first extracted from the image. As an initial step to achieve this goal, Figure 2 , the computer 1000 extracts the edges of all objects in the target image (at step 211). In an exemplary embodiment, the computer 1000 can use a Canny edge detector to obtain edge information. The Canny edge detector can implement a computational method for edge detection, such as Canny, J. A Computational Approach to Edge Detection, Institute of Electrical and Electronics Engineers (IEEE) Transactions on Pattern Analysis and Machine Intelligence, 8, 679-698 (available on the IEEE website). The exemplary Canny edge detection algorithm includes the following steps: 1) applying a Gaussian filter to smooth the image to remove noise, 2) finding the intensity gradient of the image, 3) applying a gradient amplitude threshold or a lower limit cutoff suppression to eliminate parasitic responses to edge detection, 4) applying a double threshold to determine potential edges, 5) tracking edges by hysteresis: edge detection is completed by suppressing all other weak edges and edges that are not connected to strong edges. In a typical embodiment, edge detection produces a binary image in which edges from the target image are represented as 1 (and may be displayed as black pixels in the image), and anything other than edges is represented as 0 (and may be displayed as white pixels in the image). Variations in the edge detection process are also possible. The computer 1000 typically stores the edge information extracted in step 210 (stored in memory 1004) and feeds the extracted edge information to step 212 of the illustrated method.

[0118] Next, the computer 1000 (at step 212) finds all contours in the target image (represented by the extracted edge information) and calculates their areas. Contours are essentially curves connecting consecutive points (along boundaries) of the same color or intensity. Contours can be a useful tool for shape analysis and object detection and recognition. In some embodiments, the computer 1000 uses The findContours function in (see, for example, Bradski, g., 2000. OpenCV Library. Dr. Dobb's Journal of Software Tools) is used to perform contour calculations based on the extracted edge information. The function typically retrieves contours from a binary image form of the target image generated by the above-mentioned edge extraction process. In an exemplary embodiment, the computer 1000 uses an algorithm for finding contours, which is based on the article Topological structural analysis of digitized binary images by border following, in Computer Vision, Graphics, and Image Processing, 30 (1): 32–46, 1985 by Satoshi Suzuki et al.). The computer 1000 typically saves the generated contours (at step 212) in the memory 1004.

[0119] Fig. 6A An example of an image generated by finding contours from a set of extracted edge information of a target image is shown. Fig. 6A The image in FIG. 1 shows a grid of a target image, wherein all edges of the grid (e.g., interfaces between solids and spaces) are shown in black lines and all other spaces are shown in white. Thus, the black lines in the image provide an outline of all edges of the target image from the grid. In some embodiments, the computer 1000 is configured to generate on its display Fig. 6A The image shown in FIG. 1 may be connected to a display 1010. These captured contours (e.g., Fig. 6A) are primitive and not well suited for directly calculating the overall total grille opening size, at least because they include noise contours, such as 602, 603, and 604, in addition to the target contour 601. 602 refers to the boundary of the entire grille and therefore, in a typical embodiment, may be considered irrelevant and excluded. For 603 and 604 and / or any other incomplete holes, in a typical embodiment, the computer does not resolve the flow through them because such resolution is often too expensive and unnecessary given their small percentage of the total number of holes. Basically, the computer discards them and the consequences are negligible. In this regard, the target contour 610 corresponds to a full-sized opening in the grille, i.e., not truncated by the end of the opening pattern at the side, top, or bottom of the grille. Contour 602 is the contour that surrounds all other contours. Contour 603 is the contour that extends through the top of the space within contour 603. Outlines 604 correspond to openings in the grille that are located at the sides, top, or bottom of the opening pattern in the grille and are therefore truncated, making them smaller (sometimes much smaller) than the full-sized (non-truncated) target outlines 610 that appear inside the sides, top, and bottom of the opening pattern in the grille.

[0120] In order to remove outliers (e.g., 602, 603, 604), as an initial step, the areas of all original contours are calculated in step 212. In an exemplary embodiment, the area of ​​all original contours can be calculated using The area is calculated by the function minAreaRect. This will create a list of area values ​​for all original contours. In some embodiments, the list will identify the calculated area of ​​the space within contour 601, as well as the calculated area of ​​all spaces within contours 602, 603, 604, and any other contours that may have been identified by computer 1000 (in step 212).

[0121] Next, in Figure 2 At step 213 in the flowchart of , the computer 1000 removes the outliers based on the area values ​​of the outliers (e.g., contours 602, 603, and 604) (as calculated in step 212) and obtains a list of all candidate contours. In some embodiments, the computer 1000 performs this step (removing outliers) according to the following exemplary method.

[0122] First, the computer 1000 calculates the deviation value of the calculated area of ​​each element listed in the original contour area list using Formula 2:

[0123]

[0124] Among them A i is the area of ​​the ith contour, is the median of all areas in the original contour area list, and A diis the deviation from the median of the i-th profile. Therefore, the computer 1000 generates (and stores in the memory 1004) a data file containing these calculated deviation values ​​A di , with one bias value for each corresponding area value listed in the original contour area list.

[0125] Next, the computer 1000 calculates the median of the deviation values ​​i in the list of calculated deviation values, which can be represented (and stored in the memory 1004) as

[0126] Next, the computer 1000 passes All elements in the deviation list are normalized using Formula 3:

[0127]

[0128] Among them A ni is the normalized area deviation value. When it is zero, set A ni is zero.

[0129] Then, the computer 1000 selects the optimized dimensionless factor s (based on the empirical value of the test) and removes A from the original contour area list. ni The value (or normalized area deviation value) is greater than any element of s. Thus, a new list of contours containing only the specific target openings (such as 601) is obtained.

[0130] Reference again Figure 2 Next, according to the flowchart shown, the computer (at step 214) calculates a 2D oriented bounding box 606 for each contour or opening 605 displayed in the candidate contour list obtained from step 213 (see, for example Figure 6B In an exemplary embodiment, the oriented bounding box 606 may be constructed using The function minAreaRect is used to calculate it. (See, e.g., Bradski, G., 2000. OpenCV Library. Dr. Dobb's Journal of Software Tools). This function implements the "rotating caliper" algorithm (see, e.g., Shamos, M., 1978. "Computational Geometry", Yale University, pp. 76–81) and applies it to the convex hull of the input points. In this regard, the phrase "convex hull" refers to the smallest convex set that contains a particular shape. In this case, the input points may be those shown in 605. Given the points that define the shape of 605, the algorithm creates box 606, from which the computer determines the area.

[0131] For the oriented bounding boxes 606, the returned box information includes the width W of each oriented bounding box 606. BB and length L BB The computer 1000 typically stores this information in the memory 1004 .

[0132] The computer 1000 then calculates (at step 215) the minimum between these two values ​​for all boxes. The minimum value obtained is the gap size of the opening. By iterating the entire list of candidate contours, a new list of gap sizes is formed. The present invention then applies the outlier removal algorithm used in step 213, with the gap size list (rather than the area list) as input to further remove additional outliers. In step 216, the present invention calculates the average of the final gap size list to obtain the total opening size of the grid in pixels. The final physical total opening size in mm (or in other physical units) is calculated by multiplying the size in pixels by the calibration factor defined in Formula 1.

[0133] According to one embodiment, after the computer gets the width (W) and length (L), the gap size is the smaller value between W and L, that is, gap size = min (W, L). It is a rectangular box, and the computer usually resolves the flow through the hole, which means using the smaller value between W and L to determine how many grid cells need to be arranged there. The computer first obtains the W and L of all holes / contours, and then uses gap size = min (W, L) to obtain a list of gap sizes for all holes.

[0134] In a typical embodiment, the computer applies VR 11 and VR 10 to cover the grid. VR 11 has a mesh size of 1 mm and VR 10 has a mesh size of 2 mm. For example, if the returned gap size is 8 mm, VR 11 is needed because 8 mesh cells are needed across the gap. If the returned gap size is 16 mm, the computer can (and usually does) remove VR 11 to save computation time because a 2 mm VR 10 is appropriate to provide 8 cells across the 16 mm gap.

[0135] Fig. 7A is a schematic diagram of a grid (represented by the hexagonal outline and grid overlay). The grid shown is a small grid, and the VR region of the associated grid is VR11 (e.g., the most refined VR region), which results in 8 rows of cells from the top of the grid to the bottom of the grid as shown.

[0136] Figure 7Bis a schematic diagram of a grid (represented by the hexagonal outline and grid overlay). The grid shown is a larger grid, and the VR region of the associated grid is VR11 (e.g., the most refined VR region), which results in 16 rows of cells from the top of the grid to the bottom of the grid as shown. Applying a VR11 grid in this way results in a waste of computing resources (i.e., inefficient use).

[0137] Figure 7C is a schematic diagram of a grid (represented by the hexagonal outline and grid overlay). The grid shown is a larger grid (similar to Figure 7B ), and the VR region of the associated grid is VR10 (e.g., the second finer grid), which is automatically selected and applied by computer 1000 based on the methods described herein, as shown, resulting in 8 rows of cells from the top of the grid to the bottom of the grid. This application of the VR10 grid achieves efficient use of computing resources and high accuracy for any simulation.

[0138] Fig. 9 is a schematic diagram of an embodiment of a computer system 1100 configured to perform the functions disclosed herein.

[0139] The computer system 1100 shown includes a plurality of user workstations 1102a, 1102b ... 1102n and a server 1104 having a computer memory 1106 and a computer processor 1108. The workstations 1102a, 1102b ... 1102n are connected to the server 1104 and to each other via a communication network 1110, which enables communication between the workstations and between the workstations and the server. In a typical embodiment, each of the user workstations 1102a, 1102b ... 1102n can be implemented as a computer (e.g., computer 1000) having a computer memory, a memory, a computer processor, an I / O device interface (having one or more connected I / O devices), and a network interface (connected to a network 1110 to facilitate communication with other network-connected devices). Similarly, the server 1104 can be configured with a memory, an I / O device interface (having one or more connected I / O devices), and a network interface (connected to a network 1110 to facilitate communication with other network-connected devices).

[0140] Computer system 1100 is configured to implement the systems and techniques disclosed herein. However, in doing so, various embodiments of system 1100 may distribute various memory and processing functions among a plurality of different system components throughout the system. In a typical embodiment, human users may access and interact with system 1100 from any one or more user workstations 1102a, 1102b, ... 1102n, and processing / memory functions may be performed at these user workstations and / or processors 1104, with communications therebetween being performed via network 1110.

[0141] A number of embodiments of the present invention have been described, however, it should be understood that various modifications can be made without departing from the spirit and scope of the invention.

[0142] For example, the systems and techniques disclosed herein are not limited to grilles on vehicles, but can be extended to nearly any type of grille for use in facilitating and / or controlling air or fluid flow.

[0143] In addition, in some embodiments, the systems and techniques disclosed herein can be integrated into an automated simulation workflow to automatically create 3D digital geometry to define multiple variable resolution (VR) mesh regions for simulating grids. In some embodiments, the systems and techniques can be used to quickly create multiple grid models with different external shape designs to perform fast run simulations in the early design stages.

[0144] The ray casting method is not limited to casting rays from all directions toward the image of the modeled object (eg, a car). In some embodiments, rays may be cast from any two or more directions toward the modeled object.

[0145] It should be understood that the example embodiments described herein can be implemented in many different ways. In some cases, the various methods and machines described herein can be implemented by physical, virtual or mixed general-purpose computers (such as computer systems or computer network environments, such as those described herein) respectively. The computer / system can be converted into a machine that performs the method described herein, for example, by loading software instructions into a memory or non-volatile memory for CPU execution. It should be understood by those of ordinary skill in the art that a computer / system and its various components can be configured to perform any embodiment of the present invention described herein or a combination of embodiments. In addition, the system can utilize any combination of hardware, software, and firmware modules that are operably connected to a computer / system or incorporated into a computer / system from the inside or outside to implement the various embodiments described herein.

[0146] Various aspects of the subject matter disclosed herein may be implemented in digital electronic circuits, or in computer-based software, firmware or hardware, including the structures disclosed in this specification and / or their structural equivalents, and / or their combinations. In some embodiments, the subject matter disclosed herein may be implemented in one or more computer programs, that is, the computer program is one or more computer program instruction modules encoded on a computer storage medium, for being executed or controlling its operation by one or more data processing devices (e.g., processors). Alternatively or additionally, program instructions may be encoded on an artificially generated propagation signal (e.g., a machine-generated electrical, optical or electromagnetic signal), which is generated to encode information, thereby transmitting to a suitable receiver device, so as to be executed by a data processing device. A computer storage medium may be or may be included in a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination thereof. Although a computer storage medium should not be considered to be merely a propagation signal, a computer storage medium may be a source or destination station of computer program instructions encoded in an artificially generated propagation signal. A computer storage medium may also be or be included in one or more separate physical components or media, for example, multiple CDs, computer disks and / or other storage devices.

[0147] Certain operations described in this specification may be implemented as operations performed by a data processing device (e.g., a processor / specially programmed processor / computer) on data stored on one or more computer-readable storage devices or received from other sources (e.g., the computer system and / or network environment described herein). The term "processor" (or the like) includes all kinds of devices, apparatuses, and machines for processing data, including, for example, programmable processors, computers, system chips, or multiple or combinations thereof. The device may include a dedicated logic circuit, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the device may also include code for creating an execution environment for the computer program in question, for example, code constituting a processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more thereof. The device and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing, and grid computing infrastructures.

[0148] Although this specification contains many specific implementation details, these should not be interpreted as any limitation on the scope of the invention or the content claimed for protection, but as a description of the features of a specific embodiment dedicated to a specific invention. Certain features described in the context of a separate embodiment in this specification may also be applied individually to multiple embodiments or in any suitable combination. Conversely, a plurality of different features described in the context of a single embodiment may also be applied individually to multiple embodiments or in any suitable combination. In addition, although the features may be described above as acting in certain combinations and even initially claimed, one or more features from the claimed combination may be deleted from the combination in some cases, and the claimed combination may be directed to a sub-combination or a variation of the sub-combination.

[0149] Similarly, although operations may be described herein as occurring in a particular order or manner, this should not be understood as requiring that such operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems may generally be integrated together in a single software product or packaged into multiple software products.

[0150] Each functional component mentioned herein may be implemented, for example, by one or more computer hardware components (e.g., one or more computer processors), which execute specially programmed computer-readable instructions stored on a computer-readable medium (e.g., hardware memory in the form of RAM, ROM, etc.) to perform the relevant computer-implemented functions described herein.

[0151] The systems and techniques disclosed herein can be used in conjunction with the overall design, analysis, and real-world manufacture of an object (e.g., a grille). Typically, the simulation methods disclosed herein can be used to analyze the performance or behavior of a modeled object (e.g., a grille) to confirm expected values ​​or guide further iterations in the design of the modeled object and / or related systems (which would include the grille). Typically, after design and analysis / simulation, a real-world version of the modeled object (e.g., a grille) will be manufactured prior to manufacturing using the systems and techniques disclosed herein, based on the final design that has been simulated using a computer-based simulation. The final manufactured real-world version of the modeled object will be a physical thing (e.g., a grille, etc.).

[0152] Other embodiments are within the scope of the following claims.

Claims

1. A computer-implemented method comprising automatically determining an estimate of a ventilation grille opening size based on an input in a computer-implemented environment to automate a numerical simulation setup, the method include: creating screenshots of a plurality of computer-rendered images of the three-dimensional grid geometry by arranging the three-dimensional grid geometry at different rotation angles about a first axis; Identify whether there is and which screenshot has a total opening value of the three-dimensional grid geometric image greater than the total opening value of the three-dimensional grid geometric image of any other screenshot; as well as The identified image is designated as a target image for further processing to determine an estimate of the ventilation grille opening size.

2. The computer-implemented method of claim 1, in, The total opening value represents the size of the openings in the three-dimensional grid geometry that appear in the corresponding cut-away picture when the three-dimensional grid geometry is arranged at a corresponding rotation angle.

3. The computer-implemented method of claim 2, in, The total opening values ​​in at least some or all of the cut-outs are different.

4. The computer-implemented method of claim 1, in, Identifying whether there is any and which screenshot has a total opening value of the three-dimensional grid geometric image greater than the total opening value of any other three-dimensional grid geometric image of the screenshot comprises: For each cut-away image, calculating an area value representing the area of ​​the opening in the grid geometry as it appears in a corresponding cut-away image arranged at a corresponding rotation angle about the first axis; and The screenshot with the largest calculated area value is assigned as the screenshot 3D grid geometry image with the largest total opening value.

5. The computer-implemented method of claim 1, in, Screenshots of several computer rendered images of the creation of 3D grid geometry include: Identify the initial look vector to define the viewpoint from which the screenshot is created.

6. The computer-implemented method of claim 1, in, Screenshots of multiple computer rendered images of the creation of the 3D grid geometry are also included: creating a first screenshot of the computer-rendered image of the three-dimensional grid geometry by arranging the image of the three-dimensional grid geometry at a first rotation angle about the first axis; rotating the computer rendered image of the three-dimensional grid geometry about the first axis to two or more subsequent rotation angles about the first axis; and Subsequent screenshots of the computer rendered image of the arrangement of the three-dimensional grid geometry at each respective one of two or more subsequent rotational angles about the first axis are created.

7. The computer-implemented method of claim 6, in, rotating the computer rendered image of the three-dimensional grid geometry about the first axis in a first direction until and unless the total opening value of the image decreases in successive frames as the rotation angle increases; as well as The total opening value of the response image becomes smaller in successive screenshots as the rotation angle increases: rotating the computer rendered image of the three-dimensional grid geometry about the first axis in a second direction, wherein the second direction is opposite to the first direction; and A subsequent screenshot of the computer rendered image of the three-dimensional grid geometry is created by arranging the image of the three-dimensional grid geometry at a subsequent rotation angle after being rotated in a second direction.

8. The computer-implemented method of claim 1, further comprising: include: If none of the screenshots is identified as having a maximum total opening value, screenshots of a computer rendered image of the three-dimensional grid geometry at different rotation angles about a second axis different from the first axis are created.

9. The computer-implemented method of claim 1, further comprising: include: Calculating a calibration factor of the target image, wherein the calibration factor represents a ratio of a pixel to a real distance; Extracting the edge of the target image; recognizing contours in the target image based on the extracted edges; and Calculate the area within the identified contours.

10. The computer-implemented method of claim 9, further comprising: include: removing abnormal contours based on area calculation to generate a contour list containing only retained contours; Calculate a two-dimensional oriented bounding box for each contour displayed in the contour list, and return a width value and a length value of each corresponding two-dimensional oriented bounding box; identifying, for each corresponding two-dimensional oriented bounding box, a minimum value between the width value and the length value; as well as A final opening size value is calculated based on the identified minimum value to represent the ventilation grille opening size estimate.

11. The computer-implemented method of claim 1 , further comprising: include: importing the three-dimensional grid geometry from a source application; as well as An oriented bounding box is calculated based on the three-dimensional grid geometry.

12. The computer-implemented method of claim 1, further comprising: include: A spatial calibration frame is created to relate a pixel domain of a computer rendered image of the three-dimensional grid geometry to a physical domain including a real-world version of the grid based on the three-dimensional grid geometry.

13. The computer-implemented method of claim 1 , further comprising: include: Based on the calculated final opening size, a specific one of two or more variable resolution region options is automatically assigned to the grid geometry as part of setting up a numerical simulation in a computer implemented environment.

14. The computer-implemented method of claim 13, include: The three-dimensional grid geometry is numerically simulated based on the automatically assigned variable resolution regions.

15. The computer-implemented method of claim 14, further comprising: include: After performing the numerical simulation, a plurality of real-world grids are manufactured using real-world machinery based on the three-dimensional grid geometry.

16. A computer-implemented method comprising automatically determining an estimate of a ventilation grille opening size based on input in a computer-implemented environment to automate a numerical simulation setup, the computer-implemented method include: Import 3D grid geometry; computing an oriented bounding box based on the three-dimensional grid geometry; Identify the initial view vector for imported 3D grid geometry; creating a spatial calibration frame to relate a pixel domain of a computer rendered image of the three-dimensional grid geometry to a physical domain including a real-world version of the grid based on the three-dimensional grid geometry; taking a series of computer rendered images of the three-dimensional grid geometry from a viewpoint defined by an initial viewing vector and by arranging the three-dimensional grid geometry at different orientations, each orientation showing an image of the three-dimensional grid geometry at a different rotation angle about a first axis, Identify whether and which image in the captured three-dimensional grid geometric image has a total opening value greater than the total opening value of any other captured three-dimensional grid geometric image; as well as designating an image among the captured three-dimensional grid geometric images that is identified as having a total opening value greater than any other captured three-dimensional grid geometric image as a target image; calculating a calibration factor for the target image; Extracting the edge of the target image; identifying contours in the target image; Calculate the area within the identified contours; removing abnormal contours based on area calculation to generate a contour list containing only retained contours; Calculate a two-dimensional oriented bounding box for each contour displayed in the contour list, and return a width value and a length value of each corresponding two-dimensional oriented bounding box; identifying, for each corresponding two-dimensional oriented bounding box, a minimum value between the width value and the length value; as well as A final opening size value is calculated based on the identified minimum value to represent the ventilation grille opening size estimate.

17. The computer-implemented method of claim 16, further comprising: include: automatically assigning a specific one of two or more variable resolution region options to a region associated with a grid geometry based on a calculated final opening size as part of setting up a numerical simulation in a computer-implemented environment; as well as The three-dimensional grid geometry is numerically simulated based on the automatically assigned variable resolution regions.

18. The computer-implemented method of claim 17, further comprising: include: After performing the numerical simulation, a plurality of real-world grids are manufactured using real-world machinery based on the three-dimensional grid geometry.

19. A computer system configured to automatically determine an estimate of a ventilation grille opening size based on input in a computer-implemented environment to automate a numerical simulation setup, the computer system include: Computer processors; and a computer-based memory operatively connected to the computer processor, wherein the computer-based memory stores computer-readable instructions that, when executed by the computer processor, cause the computer-based system to: creating screenshots of a plurality of computer-rendered images of the three-dimensional grid geometry by arranging the three-dimensional grid geometry at different rotation angles about a first axis; Identify whether and which of the three-dimensional grid geometric images in the screenshots has a total opening value greater than a total opening value of the three-dimensional grid geometric image in any other screenshot; and The identified image is designated as a target image for further processing to determine an estimate of the ventilation grille opening size.

20. A non-transitory computer readable medium having computer readable instructions stored thereon, which when executed by a computer-based processor, causes the computer-based processor to automatically determine a ventilation grille opening size estimate based on input in a computer-implemented environment to automate a numerical simulation setup by utilizing a method comprising the following steps: creating screenshots of a plurality of computer-rendered images of the three-dimensional grid geometry by arranging the three-dimensional grid geometry at different rotation angles about a first axis; Identify whether there is any and which screenshot has a total opening value of the image of the three-dimensional grid geometry greater than the total opening value of any other screenshot of the image of the three-dimensional grid geometry; as well as The identified image is designated as a target image for further processing to determine an estimate of the ventilation grille opening size.