Interface-based passenger cabin simulation analysis auxiliary method and tool based on starccm+

By using the StarCCM+-based interface-based crew cabin simulation analysis tool, the crew cabin simulation analysis is completed automatically, generating an intuitive simulation analysis report. This solves the problems of long analysis time and low efficiency in existing technologies, and realizes a simple and efficient simulation analysis process.

CN116776473BActive Publication Date: 2026-05-08DEEPAL AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DEEPAL AUTOMOBILE TECH CO LTD
Filing Date
2023-06-28
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing technologies cannot automate the simulation analysis of the occupant cabin, resulting in a significant amount of time being spent on setting up the calculation model, post-processing the model, and compiling the report, leading to low efficiency in simulation analysis.

Method used

This paper provides a graphical crew cabin simulation analysis auxiliary method and tool based on StarCCM+. It automatically calls the macro files of the model setting module and the macro files of the model post-processing module through the user interface, and automatically generates the post-calculation simulation model and simulation analysis report, simplifying the parameter adjustment of users in StarCCM+ software.

Benefits of technology

The simulation analysis of the crew cabin was automated, which shortened the simulation analysis time, improved the simulation analysis efficiency, and enhanced the versatility and practicality of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116776473B_ABST
    Figure CN116776473B_ABST
Patent Text Reader

Abstract

The application discloses an interface-based passenger cabin simulation analysis auxiliary method and tool based on StarCCM+, and the method comprises the following steps: in response to user operation on a user operation interface, the following tasks are performed: reading the user operation interface, determining the input settings of the user for parameters of the user operation interface; calling a model setting module macro file, generating a model setting module macro file with parameters based on simulation analysis functions, model files and calculation parameters; calling StarCCM+ software to run the model setting module macro file with parameters, automatically generating a post-simulation calculation model; calling a model post-processing module macro file, generating a model post-processing module macro file with parameters based on a post-processing auxiliary file; running the model post-processing module macro file with parameters, automatically generating a post-processing output file based on the post-simulation calculation model; and running a report generation program, automatically generating a simulation analysis report based on the post-processing output file. The application can improve the simulation analysis efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the principle architecture of an auxiliary tool for CFD simulation analysis of automotive passenger compartments, specifically to a graphical passenger compartment simulation analysis auxiliary method and tool based on StarCCM+. Background Technology

[0002] With the development of the automotive industry, CFD simulation analysis has been widely applied to various fields of automotive R&D. In project development, when conducting passenger cabin simulation analysis (especially important analysis items such as defrosting and defogging analysis and surface blowing mode analysis), the analysis is repeated many times and the analysis pattern is highly standardized. The calculation model setting, model post-processing, and report preparation consume a lot of time. Therefore, automating the above analysis process has become a requirement in order to shorten the simulation analysis time and improve the analysis efficiency.

[0003] CN112163270A discloses a CFD automatic modeling and analysis system and method based on the ANSA and StarCCM+ platforms. The user interface module calls lower-level modules through scripts in the system's main control program to automate the whole-vehicle CFD simulation process. The vehicle parameter module is used to input vehicle information and generate a parameter model, providing the necessary input for subsequent analysis. The preprocessing and calculation model generation module, built on the ANSA platform, performs automated or semi-automated preprocessing on the parameter model input from the vehicle parameter module based on the preprocessing script, generating a standard-compliant mesh model. The simulation case generation and post-processing module, built on the StarCCM+ platform, uses the mesh model generated by the preprocessing and calculation model generation module to call the simulation case generation and calculation scripts and the post-processing script, automatically generating and submitting simulation cases for calculation. Finally, the post-processed images are output and summarized, and an analysis report is automatically generated. Undoubtedly, the technical solution disclosed in the above patent document is a beneficial attempt in the relevant technical field, but it cannot achieve automation of passenger cabin simulation. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a graphical crew cabin simulation analysis auxiliary method and tool based on StarCCM+, which eliminates the need for users to manually adjust various parameters in the StarCCM+ software, thereby automating the crew cabin simulation, shortening the simulation analysis time, and improving the simulation analysis efficiency.

[0005] The present invention provides a graphical crew cabin simulation analysis assistance method based on StarCCM+, comprising:

[0006] In response to user actions on the user interface, perform the following tasks:

[0007] Read the user interface to determine the user's selection of simulation analysis functions, model files, calculation parameters, and post-processing auxiliary files;

[0008] The model setup module macro file is invoked to generate a parameterized model setup module macro file based on the simulation analysis function, model file, and calculation parameters.

[0009] Call the StarCCM+ software to run the model setting module macro file with parameters, and automatically generate the post-calculation simulation model;

[0010] Call the model post-processing module macro file, and generate a parameterized model post-processing module macro file based on the post-processing auxiliary file;

[0011] Run the parameterized model post-processing module macro file to automatically generate post-processing output files based on the calculated post-simulation model;

[0012] Run the report generation program to automatically generate a simulation analysis report based on the post-processed output file.

[0013] further,

[0014] The StarCCM+ software is invoked to run the model setup module macro file with parameters, automatically generating the post-calculation simulation model, including:

[0015] The system calls the StarCCM+ software to read the model file. If the model file has the extension ".nas", the macro file of the model settings module with parameters obtains the model group name of the model file, determines the mesh generation parameters based on the model group name, sets the mesh generation parameters of the StarCCM+ software, sets the calculation parameters of the StarCCM+ software, and automatically generates the post-calculation simulation model. If the model file has the extension ".sim", the system sets the calculation parameters of the StarCCM+ software and automatically generates the post-calculation simulation model.

[0016] further,

[0017] The mesh generation parameters include mesh size, boundary layer necessity, boundary layer size, contact prevention necessity, contact prevention size, encrypted zone range, and encrypted size.

[0018] Furthermore, the calculation parameters include the number of simulation calculation steps, the number of calculation nodes, and the import parameters.

[0019] Furthermore, the simulation analysis function includes defrosting and defogging analysis function and surface blowing mode analysis function.

[0020] Furthermore, the post-processing output file includes images and physical quantity values; the report generation program, based on these images and physical quantity values, uses POI to manipulate PPT documents, adjust image layouts, create data tables to carry data, and generate a simulation analysis report with a unified template.

[0021] This invention provides a StarCCM+-based graphical crew cabin simulation analysis tool, comprising:

[0022] The model settings module macro file, once run, enables the StarCCM+ software to read the model file and generate a post-calculation simulation model.

[0023] The macro file for the model post-processing module, when run, enables the StarCCM+ software to generate post-processing output files based on the calculated post-simulation model;

[0024] The report generation program, once run, can generate a simulation analysis report based on the post-processed output file;

[0025] The user interface, built on the Java platform, is used to invoke the StarCCM+ software, model settings module macro files, model post-processing module macro files, and report generation program based on user operations to achieve the desired functions.

[0026] further,

[0027] The user interface includes multiple functional modules for triggering, inputting, or displaying information. These multiple functional modules are as follows:

[0028] The analysis function module selection buttons include a defrost and defogging analysis button and a blowing mode analysis button. When the defrost and defogging analysis button or the blowing mode analysis button is triggered, the corresponding simulation analysis function can be switched.

[0029] The simulation calculation step input box is used to set the number of simulation calculation steps;

[0030] The number of compute nodes input box is used to set the number of compute nodes;

[0031] The input box for the calculation model's import parameters is used to set the import parameters;

[0032] Multiple selection buttons, each with a corresponding input box for the path of the post-processing auxiliary file, are used to input the required parameters for the macro file of the model post-processing module.

[0033] The model file adds an area, and a data table is placed in the area. The data table includes a file selection function; each row of the data table allows one file to be selected, and the absolute path of the file is displayed in the data table. Multiple files are processed one by one according to the sorting in the data table.

[0034] The selector adds a function button that, when triggered, adds a row count at the bottom of the data table.

[0035] The selector reduces the number of function keys, and when triggered, it reduces the number of rows at the bottom of the data table.

[0036] The selector delete function button, when triggered, deletes a specified file in a row of the data table;

[0037] The calculation process display area reads the StarCCM+ software data stream and displays it synchronously in the background to monitor the mesh generation and calculation process in real time.

[0038] When the start button is pressed, the StarCCM+ software is invoked via command line, and the macro file of the model setting module with parameters is run to automatically generate the post-calculation simulation model.

[0039] The termination button, when triggered, executes the calculation termination function and ends the StarCCM+ process;

[0040] The post-processing button, when triggered, runs the parameterized model post-processing module macro file, automatically generating the post-processing output file based on the calculated post-simulation model;

[0041] The report generation button, when triggered, runs the report generation program, which automatically generates a simulation analysis report based on the post-processing output file.

[0042] further,

[0043] The macro file for the model settings module includes:

[0044] The parameter setting module is used to read the calculation parameters set by the user interface and assign values ​​to the boundary of the simulation model.

[0045] The file reading module is used to read the corresponding model file for the added region of the model file.

[0046] The mesh size setting module is used to read the model group name and determine the corresponding mesh size based on the model group name;

[0047] The boundary layer setting module is used to read the model group name and determine the necessity and size of the boundary layer based on the name;

[0048] The anti-contact setting module is used to read the model group name and determine the necessity and size of anti-contact protection based on the name;

[0049] The encryption zone setting module is used to read the model group name and determine the encryption zone range and encryption size based on the name;

[0050] The execution module is used in StarCCM+ software to execute corresponding macro commands to set calculation parameters, mesh size, boundary layer necessity, boundary layer size, contact protection necessity and contact protection size, and generate a post-calculation simulation model.

[0051] further,

[0052] The macro file for the model post-processing module includes:

[0053] The image capture and output module reads the calculated simulation model, creates a scene to display the required physical quantity view based on the requirements, adjusts the view angle and size, and outputs the image to the file path where the calculated simulation model is located.

[0054] The physical quantity statistics output module calculates key physical quantities in the simulation model and generates text files containing the names and values ​​of these physical quantities in the file path where the simulation model is located.

[0055] The beneficial effects of this invention are:

[0056] (1) This invention can perform simulation analysis of the crew cabin by inputting and triggering the user interface, and finally directly generate an intuitive simulation analysis report. It does not require the user to manually adjust various parameters in the StarCCM+ software, thus realizing the automation of the crew cabin simulation, which can shorten the simulation analysis time and improve the simulation analysis efficiency.

[0057] (2) The present invention automatically generates post-calculation simulation models in different ways according to different format model files, thereby improving the universality and practicality of the method. Furthermore, it can determine the mesh generation parameters based on the model group name, making the operation simple and convenient. Attached Figure Description

[0058] To make the objectives, technical solutions, and beneficial effects of this invention clearer, the following figures are provided for illustration:

[0059] Figure 1 This is a schematic diagram of the principle architecture of the present invention;

[0060] Figure 2 This is a layout diagram of the user interface of the present invention;

[0061] Figure 3 This is a flowchart illustrating the usage of the StarCCM+-based interface-based crew cabin simulation analysis auxiliary tool of the present invention.

[0062] The following labels are shown in the attached diagram:

[0063] 1-Defrosting and defogging analysis button; 2-Surface blowing mode analysis button; 3 & 4-Selection buttons; 5-Start button; 6-Stop button; 7-Post-processing button; 8-Report generation button; 9-Simulation calculation step input box; 10-Calculation node input box; 11 & 12-Post-processing auxiliary file path input box; 13-Calculation model import parameter input box; 14-Calculation process display area; 15-Model file addition area; 16-Selector add function button; 17-Selector remove function button; 18-Selector delete function button. Detailed Implementation

[0064] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0065] like Figure 1 As shown in this embodiment, a graphical crew cabin simulation analysis assistance method based on StarCCM+ includes:

[0066] In response to user actions on the user interface, perform the following tasks:

[0067] Read the user interface to determine the user's selection of simulation analysis functions, model files, calculation parameters, and post-processing auxiliary files;

[0068] The model setup module macro file is invoked, and a parameterized model setup module macro file is generated based on the simulation analysis function, model file, and calculation parameters.

[0069] Call the StarCCM+ software to run the model setting module macro file with parameters, and automatically generate the post-calculation simulation model;

[0070] Call the model post-processing module macro file, and generate a parameterized model post-processing module macro file based on the post-processing auxiliary file;

[0071] Run the parameterized model post-processing module macro file to automatically generate post-processing output files based on the calculated post-simulation model;

[0072] Run the report generation program to automatically generate a simulation analysis report based on the post-processed output file.

[0073] A user interface (GUI) is created based on the Java platform. Users can control the StarCCM+ software, model setup module macro files, model post-processing module macro files, and report generation program by interacting with the GUI. Upon first use, the paths to the StarCCM+ software, model setup module macro files, and model post-processing module macro files need to be set for invocation. By inputting data into the GUI and triggering commands, the system can perform simulation analysis of the crew cabin and directly generate an intuitive simulation analysis report. Users do not need to manually adjust parameters within the StarCCM+ software, thus automating the crew cabin simulation, reducing simulation analysis time, and improving simulation efficiency.

[0074] In this embodiment,

[0075] The StarCCM+ software is invoked to run the model setup module macro file with parameters, automatically generating the post-calculation simulation model, including:

[0076] The system calls the StarCCM+ software to read the model file. If the model file has the extension ".nas", the model settings module macro file obtains the model group name of the model file, determines the mesh generation parameters based on the model group name, sets the mesh generation parameters of the StarCCM+ software, sets the calculation parameters of the StarCCM+ software, and automatically generates the post-calculation simulation model. If the model file has the extension ".sim", the system sets the calculation parameters of the StarCCM+ software and automatically generates the post-calculation simulation model.

[0077] Based on different model file formats, different methods are used to automatically generate post-calculation simulation models, thereby improving the versatility and practicality of this method. Furthermore, when applied to ".nas" format model files, since the model file needs to be meshed, parameters such as mesh size, boundary layer necessity, boundary layer size, contact protection necessity, contact protection size, encrypted zone range, and encrypted zone size need to be set. This method limits the naming rules for model file group names, setting the model file group name to "ABC_MxTy_abc", where ABC represents the section to which this group belongs in the whole vehicle, Mx represents the minimum allowed mesh size value of this group (x), Ty represents the target mesh size value of this group (y), and abc represents the actual name of the component to which this group belongs. ABC and abc can both be used as specific keywords to determine whether the group needs to generate a boundary layer, whether contact protection needs to be set, and whether an encrypted zone needs to be generated. The model setting module macro file determines the mesh generation parameters based on the model group name and sets the mesh generation parameters of the StarCCM+ software; this method can relatively easily achieve the determination of mesh generation parameters. Both ABC and abc can be used as specific keywords to determine whether a group needs a boundary layer, contact protection, or encryption. Specifically, these keywords are associated with the necessity of these three elements. The model settings module macro file iterates through all groups in the model file, identifying whether each group name contains a specific keyword. If a corresponding keyword is detected, the determination of whether a boundary layer, contact protection, or encryption is needed is completed. For example, specific keywords can also be "door," "window," or "HVAC." If the model settings module macro file detects that a group's name contains "door," it determines that this group does not need a boundary layer, contact protection, or encryption.

[0078] Let's take a simple example of model file group names. For instance, a model file group named `cabin_M4T8_window` means that `cabin` represents that this group belongs to the passenger compartment section; `M4` indicates that the minimum allowed mesh size for this group is 4mm; `T8` represents that the target mesh size for this group is 8mm; and `window` represents that the actual name of this group is the windshield. Since `window` is a specific keyword, when the model settings module macro file recognizes `window`, it determines that this group needs to generate a boundary layer, set contact protection, and generate a encrypted area, etc. Another example: a model file group named `HVAC_M2T4_plateDei` means that `HVAC` represents that this group belongs to the air conditioning unit section; `M2` indicates that the minimum allowed mesh size for this group is 2mm; `T4` represents that the target mesh size for this group is 4mm; and `plateDei` represents that the actual name of this group is the defrost damper. Since `HVAC` is a specific keyword, when the model settings module macro file recognizes `HVAC`, it determines that this group needs to generate a boundary layer, set contact protection, and generate a encrypted area.

[0079] The model settings module macro file can traverse all groups in the model file, determine the necessity of boundary layers, contact prevention, and encryption zones for each group, and set reasonable mesh generation parameters for each group.

[0080] In this embodiment,

[0081] The mesh generation parameters include mesh size, boundary layer necessity, boundary layer size, contact prevention necessity, contact prevention size, encrypted zone range, and encrypted size.

[0082] In this embodiment, the calculation parameters include the number of simulation calculation steps, the number of calculation nodes, and the input parameters. The number of simulation calculation steps, the number of calculation nodes, and the input parameters are pre-input on the user interface.

[0083] In this embodiment, the simulation analysis functions include defrosting and defogging analysis functions and surface blowing pattern analysis functions. Defrosting and defogging analysis and surface blowing pattern analysis are important analysis items in the crew cabin simulation analysis.

[0084] In this embodiment, the post-processing output file includes images and physical quantity values; the report generation program uses the images and physical quantity values ​​to manipulate PPT documents using POI, adjust image layout, create data tables to carry data, and generate a simulation analysis report with a unified template.

[0085] like Figure 1 As shown in this embodiment, a user-friendly crew cabin simulation analysis tool based on StarCCM+ includes:

[0086] The model settings module macro file, once run, enables the StarCCM+ software to read the model file and generate a post-calculation simulation model.

[0087] The macro file for the model post-processing module, when run, enables the StarCCM+ software to generate post-processing output files based on the calculated post-simulation model;

[0088] The report generation program, once run, can generate a simulation analysis report based on the post-processed output file;

[0089] The user interface, built on the Java platform, is used to invoke the StarCCM+ software, model settings module macro files, model post-processing module macro files, and report generation program based on user operations to achieve the desired functions.

[0090] like Figure 2 As shown in this embodiment,

[0091] The user interface includes multiple functional modules for triggering, inputting, or displaying information. These multiple functional modules are as follows:

[0092] The analysis function module selection buttons include defrosting and defogging analysis button 1 and blowing mode analysis button 2. When the defrosting and defogging analysis button 1 or the blowing mode analysis button 2 is triggered, the corresponding simulation analysis function can be switched.

[0093] The simulation calculation step input box 9 is used to set the simulation calculation step number;

[0094] The number of compute nodes input box is 10, used to set the number of compute nodes;

[0095] The calculation model inlet parameter input box 13 is used to set the inlet parameters;

[0096] Multiple selection buttons, each with a corresponding input box for the path to post-processing auxiliary files, for example... Figure 2 The selection button 3 has a corresponding input box 11 for the path of the post-processing auxiliary file, and the selection button 4 has a corresponding input box 12 for the path of the post-processing auxiliary file, which is used to input the required parameters for the macro file of the model post-processing module.

[0097] Add region 15 to the model file. Place a data table in the region. The data table includes a file selection function. Each row of the data table allows you to select one file. The absolute path of the file is displayed in the data table. Multiple files are processed one by one according to the sorting in the data table.

[0098] The selector adds function button 16, which, when triggered, adds the number of rows at the bottom of the data table.

[0099] Selector reduce function key 17, when triggered, reduces the number of rows at the bottom of the data table;

[0100] Selector delete function button 18, when triggered, deletes a specified file in a row of the data table;

[0101] The calculation process is displayed in area 14. When StarCCM+ is running in the background, the data stream from the StarCCM+ software is read and displayed synchronously in the display area to monitor the mesh generation and calculation process in real time.

[0102] When the start button 5 is pressed, the StarCCM+ software is invoked via command line, and the macro file of the model setting module with parameters is run to automatically generate the post-calculation simulation model.

[0103] When the Terminate button 6 is triggered, the calculation termination function is executed, ending the StarCCM+ process.

[0104] When the post-processing button 7 is triggered, it runs the macro file of the model post-processing module with parameters, and automatically generates the post-processing output file based on the calculated post-simulation model.

[0105] The report generation button 8, when triggered, runs the report generation program and automatically generates a simulation analysis report based on the post-processing output file.

[0106] In this embodiment,

[0107] The macro file for the model settings module includes:

[0108] The parameter setting module is used to read the calculation parameters set by the user interface and assign values ​​to the boundary of the simulation model.

[0109] The file reading module is used to read the model file corresponding to the added region 15 in the model file;

[0110] The mesh size setting module is used to read the model group name and determine the corresponding mesh size based on the model group name;

[0111] The boundary layer setting module is used to read the model group name and determine the necessity and size of the boundary layer based on the name;

[0112] The anti-contact setting module is used to read the model group name and determine the necessity and size of anti-contact protection based on the name;

[0113] The encryption zone setting module is used to read the model group name and determine the encryption zone range and encryption size based on the name;

[0114] The execution module is used in StarCCM+ software to execute corresponding macro commands to set calculation parameters, mesh size, boundary layer necessity, boundary layer size, contact protection necessity and contact protection size, and generate a post-calculation simulation model.

[0115] In this embodiment,

[0116] The macro file for the model post-processing module includes:

[0117] The image capture and output module reads the calculated simulation model, creates a scene to display the required physical quantity view based on the requirements, adjusts the view angle and size, and outputs the image to the file path where the calculated simulation model is located.

[0118] The physical quantity statistics output module calculates key physical quantities in the simulation model and generates text files containing the names and values ​​of these physical quantities in the file path where the simulation model is located.

[0119] like Figure 3 As shown in this embodiment, a StarCCM+-based interface-based crew cabin simulation analysis auxiliary tool, after setting the StarCCM+ software path, the model setting module macro file path, and the model post-processing module macro file path, includes the following steps:

[0120] S1. Select the simulation analysis function;

[0121] Specifically, users can switch to the corresponding simulation analysis function by triggering the defrost and defogging analysis button 1 or the blowing mode analysis button 2. For example, if the defrost and defogging analysis button 1 is triggered, the defrost and defogging analysis function is selected. If the blowing mode analysis button 2 is triggered, the function is switched from the defrost and defogging analysis function to the blowing mode analysis function.

[0122] S2. Select the model file;

[0123] Specifically, the addition, subtraction, and deletion of data tables within the model file addition area 15 are achieved by using the selector add function button 16, the selector subtract function button 17, and the selector delete function button 18. The data table file selection function adds a model file to each row, and the absolute path of the model file is displayed in the data table.

[0124] S3. Set the calculation parameters;

[0125] Specifically, parameters are input into the simulation calculation step input box 9, the number of calculation nodes input box 10, and the calculation model import parameter input box 13 for the macro file of the model setting module to read;

[0126] S4. Select post-processing auxiliary file;

[0127] Specifically, when the required selection button 3 or 4 is triggered, the post-processing auxiliary file in the post-processing auxiliary file path corresponding to selection button 3 or 4 will be used during the execution of the model post-processing module macro file.

[0128] S5, trigger start button 5;

[0129] Once triggered, the background process calls the model setup module macro file, and generates a parameterized model setup module macro file based on the simulation analysis function, model file, and calculation parameters; and the background process calls the StarCCM+ software to run the parameterized model setup module macro file and automatically generate the post-calculation simulation model.

[0130] S6. If the calculation is abnormal, trigger the termination button 6 to execute the calculation termination function, end the StarCCM+ process, then modify the model file and return to S2; if the calculation is normal, trigger the post-processing button 7 to run the parameterized model post-processing module macro file in the background, and automatically generate the post-processing output file based on the post-calculation model. The post-processing output file includes images and physical quantity values.

[0131] S7. Trigger report generation button 8 to run the report generation program and automatically generate a simulation analysis report based on the post-processing output file;

[0132] Specifically, the report generation program uses the image and physical quantity values ​​to manipulate PPT documents using POI, adjust image layout, create data tables to carry data, and generate a simulation analysis report with a unified template.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A graphical passenger cabin simulation analysis auxiliary method based on StarCCM+, characterized in that, include: In response to user actions on the user interface, perform the following tasks: Read the user interface to determine the user's selection of simulation analysis functions, model files, calculation parameters, and post-processing auxiliary files; The model setup module macro file is invoked to generate a parameterized model setup module macro file based on the simulation analysis function, model file, and calculation parameters. Call the StarCCM+ software to run the model setting module macro file with parameters, and automatically generate the post-calculation simulation model; Call the model post-processing module macro file, and generate a parameterized model post-processing module macro file based on the post-processing auxiliary file; Run the parameterized model post-processing module macro file to automatically generate post-processing output files based on the calculated post-simulation model; Run the report generation program to automatically generate a simulation analysis report based on the post-processed output file; The process involves calling the StarCCM+ software to run a parameterized model settings module macro file to automatically generate a post-calculation simulation model. This includes: calling the StarCCM+ software to read the model file; if the read model file has the extension ".nas", the parameterized model settings module macro file obtains the model group name of the model file, determines the mesh generation parameters based on the model group name, sets the mesh generation parameters of the StarCCM+ software, sets the calculation parameters of the StarCCM+ software, and automatically generates the post-calculation simulation model; if the read model file has the extension ".sim", the calculation parameters of the StarCCM+ software are set, and the post-calculation simulation model is automatically generated.

2. The interface-based crew cabin simulation analysis auxiliary method based on StarCCM+ according to claim 1, characterized in that: The mesh generation parameters include mesh size, boundary layer necessity, boundary layer size, contact prevention necessity, contact prevention size, encrypted zone range, and encrypted size.

3. The interface-based crew cabin simulation analysis auxiliary method based on StarCCM+ according to claim 1, characterized in that: The calculation parameters include the number of simulation calculation steps, the number of calculation nodes, and the import parameters.

4. The interface-based crew cabin simulation analysis auxiliary method based on StarCCM+ according to claim 1, characterized in that: The simulation analysis functions include defrosting and defogging analysis functions as well as surface blowing mode analysis functions.

5. The interface-based crew cabin simulation analysis auxiliary method based on StarCCM+ according to claim 1, characterized in that: The post-processing output file includes images and physical quantity values; the report generation program uses the images and physical quantity values ​​to manipulate PPT documents using POI, adjust image layout, create data tables to carry data, and generate a simulation analysis report with a unified template.

6. A graphical crew cabin simulation analysis auxiliary tool based on StarCCM+, characterized in that, include: The model setup module macro file, when run, enables the StarCCM+ software to read model files and generate post-calculation simulation models. Specifically, if the read model file has the extension ".nas", the parameterized model setup module macro file retrieves the model group name from the model file, determines the mesh generation parameters based on this name, sets the mesh generation parameters for the StarCCM+ software, and then sets the calculation parameters for the StarCCM+ software, automatically generating the post-calculation simulation model. If the read model file has the extension ".sim", the calculation parameters for the StarCCM+ software are set, automatically generating the post-calculation simulation model. The macro file for the model post-processing module, when run, enables the StarCCM+ software to generate post-processing output files based on the calculated post-simulation model; The report generation program, once run, can generate a simulation analysis report based on the post-processed output file; The user interface, built on the Java platform, is used to invoke the StarCCM+ software, model settings module macro files, model post-processing module macro files, and report generation program based on user operations to achieve the desired functions.

7. The interface-based crew cabin simulation analysis auxiliary tool based on StarCCM+ according to claim 6, characterized in that, The user interface includes multiple functional modules for triggering, inputting, or displaying information. These multiple functional modules are as follows: The analysis function module selection buttons include a defrost and defogging analysis button and a blowing mode analysis button. When the defrost and defogging analysis button or the blowing mode analysis button is triggered, the corresponding simulation analysis function can be switched. The simulation calculation step input box is used to set the number of simulation calculation steps; The number of compute nodes input box is used to set the number of compute nodes; The input box for the calculation model's import parameters is used to set the import parameters; Multiple selection buttons, each with a corresponding input box for the path of the post-processing auxiliary file, are used to input the required parameters for the macro file of the model post-processing module. The model file adds an area, and a data table is placed in the area. The data table includes a file selection function; each row of the data table allows one file to be selected, and the absolute path of the file is displayed in the data table. Multiple files are processed one by one according to the sorting in the data table. The selector adds a function button that, when triggered, adds a row count at the bottom of the data table. The selector reduces the number of function keys, and when triggered, it reduces the number of rows at the bottom of the data table. The selector delete function button, when triggered, deletes a specified file in a row of the data table; The calculation process display area reads the StarCCM+ software data stream and displays it synchronously in the background to monitor the mesh generation and calculation process in real time. When the start button is pressed, the StarCCM+ software is invoked via command line, and the macro file of the model setting module with parameters is run to automatically generate the post-calculation simulation model. The termination button, when triggered, executes the calculation termination function and ends the StarCCM+ process; The post-processing button, when triggered, runs the parameterized model post-processing module macro file, automatically generating the post-processing output file based on the calculated post-simulation model; The report generation button, when triggered, runs the report generation program, which automatically generates a simulation analysis report based on the post-processing output file.

8. The interface-based crew cabin simulation analysis auxiliary tool based on StarCCM+ according to claim 7, characterized in that, The macro file for the model settings module includes: The parameter setting module is used to read the calculation parameters set by the user interface and assign values ​​to the boundary of the simulation model. The file reading module is used to read the corresponding model file for the added region of the model file. The mesh size setting module is used to read the model group name and determine the corresponding mesh size based on the model group name; The boundary layer setting module is used to read the model group name and determine the necessity and size of the boundary layer based on the name; The anti-contact setting module is used to read the model group name and determine the necessity and size of anti-contact protection based on the name; The encryption zone setting module is used to read the model group name and determine the encryption zone range and encryption size based on the name; The execution module is used in StarCCM+ software to execute corresponding macro commands to set calculation parameters, mesh size, boundary layer necessity, boundary layer size, contact protection necessity and contact protection size, and generate a post-calculation simulation model.

9. The interface-based crew cabin simulation analysis auxiliary tool based on StarCCM+ according to claim 8, characterized in that, The macro file for the model post-processing module includes: The image capture and output module reads the calculated simulation model, creates a scene to display the required physical quantity view based on the requirements, adjusts the view angle and size, and outputs the image to the file path where the calculated simulation model is located. The physical quantity statistics output module calculates key physical quantities in the simulation model and generates text files containing the names and values ​​of these physical quantities in the file path where the simulation model is located.

Citation Information

Patent Citations

  • CFD automatic modeling and analysis system and method based on ANSA and StarCCM + platform

    CN112163270A

  • One-dimensional and three-dimensional coupling transient simulation analysis method for automobile defrosting

    CN116305528A

  • Automatic requirement verification engine and analytics

    US10853536B1