Single-screw simulation process automation integrated simulation platform and construction method thereof
Patent Information
- Application Number
- CN202611102489.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-23
- Publication Date
- 2026-10-16
AI Technical Summary
在进行单螺杆流动与传热仿真时,如果单螺杆的几何尺寸(如螺距、间隙)发生变化,设计人员必须在不同的独立软件中手动重复进行几何更新、网格划分及求解器配置等,这种碎片化的人为操作模式缺乏统一的数据传递链路,不仅操作复杂,还极易引入人为偏差,影响单螺杆流动与传热仿真结果的准确性与可重复性
(1)本发明一种单螺杆挤出流动传热仿真平台,其前端界面层是参数输入端口和仿真结果显示端口,业务控制层起到桥梁的作用,将前端界面层与后端应用层关联,业务控制层将从前端界面层得到的参数传递给后端应用层,让后端应用层中所调用的应用(三维建模软件、网格划分软件和数值求解软件)按照顺序依次执行,业务控制层监控后端应用层的执行过程,读取后端应用层执行的过程日志与仿真结果然后输出给前端界面层进行显示。整个过程中不需要人为单独对三维建模软件、网格划分软件和数值求解软件进行碎片化的参数配置,实现了单螺杆仿真的自动化一体式仿真,不仅简化了单螺杆仿真流程,还避免了人为操作引入的误差,提高了单螺杆仿真流程的准确性和可重复性。
Smart Images

Figure CN122926530A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of single-screw simulation automation technology, specifically an automated integrated simulation platform for single-screw simulation processes and its construction method. Background Technology
[0002] Single-screw extrusion is a core process in polymer material processing (plastics processing and rubber molding, etc.). Under the rotation of the single screw, materials undergo conveying, shearing, compression, and melting, accompanied by strong viscous dissipation and heat transfer. Numerical simulation of fluid dynamics can accurately predict the distribution of velocity, pressure, temperature, and shear fields within the single screw, which is of significant engineering value for optimizing screw structure and improving extrusion stability and product quality. Therefore, flow and heat transfer simulation in single-screw extrusion is one of the core technological pathways for cost reduction and quality improvement in the field of polymer material processing. It enables data-driven methods to replace traditional trial-and-error approaches, thereby accurately reproducing and predicting the behavior of materials during single-screw extrusion.
[0003] Currently, flow and heat transfer simulations of single-screw compressors typically rely on a combination of multiple engineering software programs. The simulation process generally involves several independent software packages, such as geometric modeling software, mesh generation software, and numerical solution software, with no interoperability between them. When performing single-screw flow and heat transfer simulations, if the geometry of the single screw (such as pitch and clearance) changes, designers must manually repeat geometric updates, mesh generation, and solver configurations in different independent software packages. This fragmented, manual operation mode lacks a unified data transfer link, making it not only complex but also highly susceptible to introducing human error, affecting the accuracy and repeatability of the single-screw flow and heat transfer simulation results. Summary of the Invention
[0004] Referring to the description in the background section above, existing technologies mainly rely on manual operation to update the geometric dimensions of a single screw when performing flow and heat transfer simulations. There is a lack of a unified data transmission link between various engineering software programs, resulting in complex operation and a high susceptibility to human error. To address this issue, this invention proposes an automated integrated simulation platform for single screw simulation processes and its construction method.
[0005] This invention uses the front-end interface layer as both the parameter input port and the simulation result display port, while the business control layer acts as a bridge, connecting the front-end interface layer and the back-end application layer. The business control layer transmits parameters obtained from the front-end interface layer to the back-end application layer, allowing the applications called by the back-end application layer (3D modeling software, mesh generation software, and numerical solving software) to execute sequentially. The business control layer monitors the execution process of the back-end application layer, reads its execution logs and simulation results, and then outputs them to the front-end interface layer for display. Throughout this process, there is no need for manual, fragmented parameter configuration for the 3D modeling software, mesh generation software, and numerical solving software. This simplifies the single-screw simulation process, avoids errors introduced by human operation, and improves the accuracy and repeatability of the single-screw simulation process.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: A single-screw extrusion flow heat transfer simulation platform includes: Front-end interface layer: Receives single-screw feature parameters input by the user, including single-screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters; Business control layer: communicates and connects with the front-end interface layer; And the backend application layer, which communicates and connects with the business control layer; The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer; the back-end application layer uses a interfaceless command line mode to trigger the engine of the 3D modeling software to generate a 3D model file of the single screw flow heat transfer part. The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer part into the mesh generation software. At the same time, it uses the API interface of the back-end application layer to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer part to perform mesh generation, generating the volume mesh file of the single-screw flow heat transfer part. The business control layer reads the mesh generation process log through the API interface of the back-end application layer and outputs it to the front-end interface layer for display. The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software, where it is loaded to generate a mesh model of the single-screw flow and heat transfer section. Simultaneously, the back-end application layer's API interface maps and binds the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
[0007] Further specifying, the single screw geometric parameters include the inner wall radius of the barrel and the screw radius, and the derived dimension is the difference between the inner wall radius of the barrel and the screw radius.
[0008] Further specifying, the step of mapping and binding mesh parameters to the three-dimensional model of the single-screw flow heat transfer part using the API interface of the backend application layer specifically includes: mapping and binding mesh parameters to the three-dimensional model of the single-screw flow heat transfer part using the API interface of the backend application layer, performing mesh division on the three-dimensional model of the single-screw flow heat transfer part based on the watertight geometry workflow and according to the mesh parameters, and simultaneously refining the curvature mesh in the helical edge region near the tip of the helical blade.
[0009] Further specifying, the single-screw geometric parameters also include the total length parameter of the single-screw model; the rheological property parameters include the material density, specific heat capacity, thermal conductivity, and the rheological parameters required for the material viscosity model; during flow and heat transfer simulation, the heat generated by the chemical reaction of the material during flow shearing is represented by the scalar energy source term value, which is obtained by adding the Arrhenius model as the heat source phase to the energy equation for solution.
[0010] Further specifying, the process of mapping and binding the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer mesh model using the API interface of the backend application layer for flow and heat transfer simulation specifically includes: The business control layer uses the API interface of the backend application layer to map and bind the total length parameter of the single screw model and the zero-pressure reference point of extrusion flow heat transfer to the mesh model of the single screw flow heat transfer part. In the numerical solution software, the zero-pressure reference point of extrusion flow heat transfer is used to locate the mesh model of the single screw flow heat transfer part, the total length of the single screw model is converted to units, and the converted value is assigned to the reference pressure axial coordinate of the single screw flow heat transfer part mesh model to set the reference pressure position. The business control layer uses the API interface of the backend application layer to map and bind the scalar energy source item values, material attribute parameters and single screw process parameters to the mesh model of the single screw flow and heat transfer part, generating a flow and heat transfer coupled simulation model. The multi-state collaborative solution logic is used to perform flow and heat transfer simulation on the flow and heat transfer coupled simulation model.
[0011] Further specifying, the Arrhenius model is: P is the value of the scalar energy source term, in W / m³. The comprehensive pre-exponential factor for the energy source term, in W / m³; R is the activation energy of the material, in J / mol; R is the user-inputted molar gas constant parameter, in J / (mol·K); T is the absolute temperature of the material, in K.
[0012] Further defining the multi-state collaborative solution logic, it refers to: firstly, setting the SIMPLE steady-state iteration mode to perform a fixed number of pre-calculations on the flow and heat transfer coupled simulation model to obtain the initial flow field; then, using the first-order transient solution mode to transform the rotating coordinate system of the fluid dynamic domain in the flow and heat transfer coupled simulation model into the real mesh motion boundary, and continuously performing transient solutions until the simulation is completed.
[0013] Further specifying, the single-screw process parameters include inlet parameters, outlet parameters, ambient temperature, and screw speed; The rotation coordinate system transformation of the fluid dynamic domain refers to the process by which the business control layer, after completing the steady-state pre-calculation according to the preset solution process, converts the fluid dynamic domain from a multi-reference system setting to a grid motion setting.
[0014] The method for constructing the automated integrated simulation platform for the above-mentioned single-screw simulation process includes the following steps: S1: Build and link the front-end interface layer and the business control layer. The front-end interface layer is built using HTML, CSS, and JavaScript, and the desktop window and front-end-back-end bridging are created using Python's pywebview library. The front-end interface layer is used to receive single-screw feature parameters input by the user. The single-screw feature parameters include single-screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters. Define the BridgeAPI class interface in Python to serve as a bridge interface between the front-end interface layer and the business control layer; The front-end interface layer is mapped and associated with the business control layer through JavaScript function calls, enabling the business control layer to extract single screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters from the front-end interface layer; the business control layer interacts with the front-end interface layer through the JavaScript interaction port, so that the mesh generation process log read by the business control layer and the simulation results obtained are output to the front-end interface layer for display. S2: Associate the business control layer with the backend application layer The business control layer is associated with the back-end application layer through the BridgeAPI class interface. The back-end application layer includes 3D modeling software, mesh generation software, and numerical solution software. S3: Business Control Process The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer; the back-end application layer uses a interfaceless command line mode to trigger the engine of the 3D modeling software to generate a 3D model file of the single screw flow heat transfer part. The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer part into the mesh generation software. At the same time, it uses the API interface of the back-end application layer to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer part to perform mesh generation, generating the volume mesh file of the single-screw flow heat transfer part. The business control layer reads the mesh generation process log through the API interface of the back-end application layer and outputs it to the front-end interface layer for display. The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software, where it is loaded to generate a mesh model of the single-screw flow and heat transfer section. Simultaneously, the back-end application layer's API interface maps and binds the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
[0015] Further specifying, the BridgeAPI class interface includes the SpaceClaim application programming interface, the FluentMeshing API interface, and the Fluent Solver API interface. The business control layer is associated with the 3D modeling software through the SpaceClaim application programming interface, the business control layer is associated with the mesh generation software through the Fluent Meshing API interface, and the business control layer is associated with the numerical solution software through the Fluent Solver API interface.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention provides a single-screw extrusion flow heat transfer simulation platform. Its front-end interface layer serves as the parameter input port and simulation result display port, while the business control layer acts as a bridge, connecting the front-end interface layer with the back-end application layer. The business control layer transmits the parameters obtained from the front-end interface layer to the back-end application layer, allowing the applications (3D modeling software, mesh generation software, and numerical solving software) called by the back-end application layer to be executed sequentially. The business control layer monitors the execution process of the back-end application layer, reads the process logs and simulation results of the back-end application layer, and then outputs them to the front-end interface layer for display. Throughout the process, there is no need for manual, fragmented parameter configuration of the 3D modeling software, mesh generation software, and numerical solving software, thus realizing automated integrated simulation of single-screw extrusion. This not only simplifies the single-screw simulation process but also avoids errors introduced by human operation, improving the accuracy and repeatability of the single-screw simulation process.
[0017] (2) The present invention provides a single-screw extrusion flow heat transfer simulation platform, which performs derivative size conversion and scalar energy source term numerical calculation in the business control layer. This changes the traditional thermal decomposition simulation method that relies on offline calculation and manual table filling to inject derivative size and scalar energy source term numerical values. At the same time, the zero-pressure reference point of extrusion flow heat transfer is used to locate the mesh model of the single-screw flow heat transfer part, so that the mesh model of the single-screw flow heat transfer part and the flow and heat transfer coupling simulation model can be adaptively adjusted with the change of geometric conditions, reducing the difference in manual parameter configuration when the geometric conditions change, and improving the stability of complex multi-physics coupling calculation.
[0018] (3) The present invention utilizes multi-state collaborative solution logic, that is, first performing pre-calculation in SIMPLE steady-state iterative mode, and then performing transient solution in first-order transient solution mode, realizing a smooth transition from steady-state pre-calculation to grid motion transient mode, reducing manual intervention.
[0019] (4) The present invention uses the zero-pressure reference point of extrusion flow heat transfer to locate the mesh model of the single screw flow heat transfer part, and converts the total length of the single screw model from millimeters to meters as the axial coordinate of the reference pressure position, so that the reference pressure position can be automatically matched with the total length parameter of the model, avoiding the benchmark distortion of the pressure field solution, thereby ensuring the credibility of the simulation results. Attached Figure Description
[0020] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a schematic diagram of an automated integrated simulation platform for a single-screw simulation process according to the present invention. Figure 2 This is a UI diagram of the automated integrated simulation process for the screw simulation of the present invention. Figure 3 This is a software interface diagram of logs and residual curves captured during the automated integrated simulation process of the screw simulation process of this invention. Figure 4 The multiple cloud maps obtained after the automated integrated simulation of the screw simulation process of this invention are completed; Figure 5 These are cloud maps of different positions obtained after the automated integrated simulation of the screw simulation process of this invention is completed. Detailed Implementation
[0021] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0022] This invention discloses a single-screw extrusion flow heat transfer simulation method. Its execution logic is completed collaboratively by a front-end interface layer with front-end and back-end bridging capabilities, a business control layer written in Python, and a back-end application layer. See the following technical solution for details.
[0023] See Figure 1 This invention proposes a single-screw extrusion flow heat transfer simulation platform, comprising: Front-end interface layer: Receives user-input single-screw feature parameters, including geometric parameters, mesh parameters, rheological property parameters, and solution control parameters. To ensure the accuracy of the assembly relationship between the single screw and the barrel, the business control layer extracts the barrel inner wall radius and screw radius from the front-end interface layer, and calculates the difference between the barrel inner wall radius and the screw radius to obtain the derived dimension (gap thickness). Business control layer: Communicates with the front-end interface layer; and the back-end application layer, which also communicates with the business control layer.
[0024] See Figure 2The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and then overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer. The back-end application layer uses a user-friendly command-line mode to trigger the SpaceClaim engine of the 3D modeling software to generate a 3D model file of the single screw flow heat transfer part. Specifically, the API interface of the backend application layer uses a parameter replacement mechanism to accurately overwrite the derived dimensions into the parameters corresponding to the 3D model of the single screw flow heat transfer part, thereby avoiding the tedious operation of repeatedly modifying the parameters manually in the graphical interface.
[0025] The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer section into the mesh generation software. Simultaneously, it uses the back-end application layer's API interface to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer section. Based on the watertight geometry workflow and according to the mesh parameters, it performs mesh generation on the 3D model of the single-screw flow heat transfer section. Curvature mesh refinement is applied to the helical edge region near the tip of the helical blades (the total number of locally refined mesh cells and mesh size are set by the user according to specific requirements), generating the volume mesh file of the single-screw flow heat transfer section. The business control layer reads the mesh generation process log through the back-end application layer's API interface and outputs it to the front-end interface layer for display. Mesh control parameters include the number of mesh calculation cores, local mesh size, maximum surface mesh size, minimum surface mesh size, and number of boundary layers; mesh orthogonality quality and the total number of mesh cells are extracted from the mesh log and used to identify the output volume mesh file.
[0026] The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software. The numerical solver software loads the mesh model of the single-screw flow and heat transfer section. Simultaneously, it uses the back-end application layer's API interface to map and bind the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
[0027] In a preferred embodiment of the present invention, a named topology for subsequent mesh generation and numerical solution is pre-established in the 3D model file. The business control layer binds the mesh parameters and local mesh control parameters to the 3D model of the single screw flow heat transfer part and the screw edge region near the tip of the screw blade, respectively, according to the named topology. The business control layer binds the moving domain, stationary domain, inlet parameters, and outlet parameters to the screw flow channel region, screw die extrusion region, screw inlet, and screw outlet of the single screw flow heat transfer part mesh model, respectively, according to the named topology.
[0028] This invention discloses a single-screw extrusion flow and heat transfer simulation platform. Its core lies in the establishment of a front-end interface layer, a business control layer, and a back-end application layer. Through the cooperation of these three layers, the automated invocation and control of parameter input, parameter processing, model establishment, mesh generation, and flow and heat transfer simulation are realized. As for the modeling process of the 3D modeling software, the mesh generation process of the mesh generation software, and the numerical solution process of the numerical solution software, these are all technologies known to those skilled in the art and are not described in detail in this invention.
[0029] This invention uses the front-end interface layer as both the parameter input port and the simulation result display port, while the business control layer acts as a bridge, connecting the front-end interface layer and the back-end application layer. The business control layer transmits parameters obtained from the front-end interface layer to the back-end application layer, allowing the applications called by the back-end application layer (3D modeling software, mesh generation software, and numerical solving software) to execute sequentially. The business control layer monitors the execution process of the back-end application layer, reads its execution logs and simulation results, and then outputs them to the front-end interface layer for display. Throughout this process, there is no need for manual, fragmented parameter configuration for the 3D modeling software, mesh generation software, and numerical solving software, achieving automated, integrated simulation for single-screw simulation. This not only simplifies the single-screw simulation process but also avoids errors introduced by human operation, improving the accuracy and repeatability of the single-screw simulation process.
[0030] The aforementioned single-screw geometric parameters also include the total length parameter of the single-screw model (Lref = L / 1000.0 meters, where L is in millimeters); the rheological property parameters include the material's density, specific heat capacity, thermal conductivity, and the rheological parameters required for the material's viscosity model. The material's viscosity is determined based on the Cross viscosity model, which is a non-Newtonian fluid rheological model well-known to those skilled in the art. During flow and heat transfer simulation, when the thermal energy term is enabled, the business control layer pre-calculates the scalar energy source term value in Arrhenius form based on the user-inputted A, Ea, R, and T, and adds this value as a constant heat source to the energy equation. Specifically, the Arrhenius model is as follows: P is the value of the scalar energy source term, in W / m³. The comprehensive pre-exponential factor for the energy source term, in W / m³; R is the activation energy of the material, in J / mol; R is the user-inputted molar gas constant parameter, in J / (mol·K); T is the absolute temperature of the material, in K.
[0031] Specifically, the process of mapping and binding the geometric parameters, rheological property parameters, and solution control parameters of the single screw to the mesh model of the single screw flow and heat transfer section using the API interface of the backend application layer for flow and heat transfer simulation includes: The business control layer uses the API interface of the backend application layer to map and bind the total length parameters of the single screw model and the zero-pressure reference point of extrusion flow heat transfer to the mesh model of the single screw flow heat transfer section. In the numerical solution software, the zero-pressure reference point of extrusion flow heat transfer is used to locate the mesh model of the single screw flow heat transfer section. The total length of the single screw model is converted from millimeters to meters, and the converted value is assigned to the reference pressure axial coordinate of the single screw flow heat transfer section mesh model to set the reference pressure position. This effectively avoids the risk of pressure reference distortion caused by changes in the total length parameters of the single screw model. The business control layer utilizes the API interface of the backend application layer to map and bind scalar energy source terms, rheological property parameters, and single-screw process parameters to the mesh model of the single-screw flow and heat transfer section, generating a flow and heat transfer coupled simulation model. Multi-state collaborative solution logic is then used to perform flow and heat transfer simulations on this coupled model. The single-screw process parameters include inlet parameters, outlet parameters, ambient temperature, and screw speed. Following a preset solution process, after steady-state pre-calculation, the business control layer converts the fluid dynamic domain from a multi-reference frame setting to a mesh motion setting.
[0032] The multi-state collaborative solution logic refers to: first, setting up the SIMPLE steady-state iteration mode to perform a fixed number of pre-calculations on the flow and heat transfer coupled simulation model to obtain the initial flow field; then, using the first-order transient solution mode to transform the rotating coordinate system of the fluid dynamic domain in the flow and heat transfer coupled simulation model into the real mesh motion boundary, and continuously performing transient solutions until the simulation is completed.
[0033] This invention utilizes multi-state collaborative solution logic to force ANSYS Fluent to be set to SIMPLE steady-state iterative mode for pre-calculation via the API interface of the backend application layer. After obtaining the initial flow field, it automatically suspends and modifies to a first-order transient solution mode, automatically converting the reference frame rotation (MRF) of the fluid dynamic domain into the actual mesh motion boundary and continuing the transient solution. During this solution process, if... Figure 3As shown, the fluid dynamics calculation execution layer captures logs and residual curves captured during the single-screw extrusion flow heat transfer simulation. A StreamToLog class is constructed to incrementally intercept the ANSYS Fluent log text stream. Using regular expressions, when a log line contains both the keywords "flow time" and "timestep", it is used as a segmentation marker for displaying the residual curve. This segmentation marker is only used for front-end plotting and is not used to control the solution switching from steady state to transient state. At this time, the global segment identifier (Segment ID) is incremented and pushed to the front-end interface layer. Once the front-end interface layer detects a change in Segment ID, it immediately interrupts the connection of the old residual curve and plots it from the new coordinate starting point, thus solving the problem of cross-segment misalignment of monitoring curves in complex evolving flow fields.
[0034] The mesh generation software mentioned above is Fluent Meshing; the fluid solver software is ANSYS Fluent.
[0035] The method for constructing the automated integrated simulation platform for the above-mentioned single-screw simulation process includes the following steps: S1: Build and link the front-end interface layer and the business control layer. The front-end interface layer is built using HTML, CSS, and JavaScript, and the desktop window and front-end-back-end bridging are created using Python's pywebview library. The front-end interface layer is used to receive single-screw feature parameters input by the user. The single-screw feature parameters include single-screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters. Define the BridgeAPI class interface in Python to serve as a bridge interface between the front-end interface layer and the business control layer; The front-end interface layer is mapped and associated with the business control layer through JavaScript function calls, enabling the business control layer to extract single screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters from the front-end interface layer; the business control layer interacts with the front-end interface layer through the JavaScript interaction port, so that the mesh generation process log read by the business control layer and the simulation results obtained are output to the front-end interface layer for display. S2: Associate the business control layer with the backend application layer The business control layer is connected to the backend application layer through the BridgeAPI class interface. The backend application layer includes 3D modeling software, mesh generation software, and numerical solution software. S3: Business Control Process The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and then overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer; the back-end application layer uses a headless command-line mode to trigger the engine of the 3D modeling software to generate the 3D model file of the single screw flow heat transfer part. The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer part into the mesh generation software. At the same time, it uses the API interface of the back-end application layer to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer part to perform mesh generation and generate the volume mesh file of the single-screw flow heat transfer part. The business control layer reads the mesh generation process log through the API interface of the back-end application layer and outputs it to the front-end interface layer for display. The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software. The numerical solver software loads the mesh model of the single-screw flow and heat transfer section. Simultaneously, it uses the back-end application layer's API interface to map and bind the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
[0036] The BridgeAPI class includes the SpaceClaim application programming interface (API), the Fluent Meshing API, and the Fluent Solver API. The business control layer connects to the 3D modeling software through the SpaceClaim API, the mesh generation software through the Fluent Meshing API, and the numerical solution software through the Fluent Solver API. The SpaceClaim API, Fluent Meshing API, and Fluent Solver API are backend application layer APIs defined in the 3D modeling software, mesh generation software, and numerical solution software, respectively.
[0037] In a preferred embodiment of the present invention, the application also includes post-processing software, specifically the post-processing unit of ANSYS Fluent, which communicates with the back-end application layer through the Fluent Solver API structure. The post-processing software acquires transient flow field data from the transient solution and performs cross-sectional processing on the transient flow field data to obtain pressure, velocity, temperature, shear rate, wall shear stress cloud diagrams, screw wall torque, and global pressure, velocity, temperature, shear rate, viscosity, and wall shear stress extrema. Specifically, see: Figure 4 and Figure 5 The business control layer issues a cyclic creation command to automatically construct N spatial plane arrays (such as yz-plane arrays) arranged at equal intervals along the axial direction. The generated equally spaced slice array, as well as the screw outer wall and outlet boundary, call the ANSYS Fluent post-processing software API to automatically extract the pressure, velocity, temperature, shear rate, wall shear stress cloud map, screw wall torque, and global pressure, velocity, temperature, shear rate, viscosity, and wall shear stress extreme values at each slice. The extracted data is compiled into a structured engineering statistical report text, which is asynchronously mapped to the front-end interface layer for display through the business control layer, realizing the automated output of single screw simulation evaluation indicators.
[0038] The radial section processing is performed according to the following formula: In the formula, N is the total number of cut surfaces processed. The total length parameter for the single-screw model, in meters; This is the preset spacing between the cut surfaces, in meters.
[0039] The axial section is created with the screw center position and the screw central axis as a reference, and is used to show the distribution of various physical fields along the entire length of the screw on the longitudinal section at the center of the screw.
[0040] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Those skilled in the art can modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features; and all such modifications and substitutions should fall within the protection scope of the appended claims of the present invention.
Claims
1. A single-screw extrusion flow heat transfer simulation platform, characterized in that, include: Front-end interface layer: Receives single-screw feature parameters input by the user, including single-screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters; Business control layer: communicates and connects with the front-end interface layer; And the backend application layer, which communicates and connects with the business control layer; The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and then overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer. The backend application layer uses a user-friendly command-line mode to trigger the engine of the 3D modeling software to generate a 3D model file of the single-screw flow heat transfer section. The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer part into the mesh generation software. At the same time, it uses the API interface of the back-end application layer to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer part to perform mesh generation, generating the volume mesh file of the single-screw flow heat transfer part. The business control layer reads the mesh generation process log through the API interface of the back-end application layer and outputs it to the front-end interface layer for display. The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software, where it is loaded to generate a mesh model of the single-screw flow and heat transfer section. Simultaneously, the back-end application layer's API interface maps and binds the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
2. The single-screw extrusion flow heat transfer simulation platform according to claim 1, characterized in that, The single screw geometry parameters include the inner wall radius of the barrel and the screw radius, and the derived dimension is the difference between the inner wall radius of the barrel and the screw radius.
3. The single-screw extrusion flow heat transfer simulation platform according to claim 1, characterized in that, The specific steps of mapping and binding mesh parameters to the three-dimensional model of the single-screw flow heat transfer part using the API interface of the backend application layer include: mapping and binding mesh parameters to the three-dimensional model of the single-screw flow heat transfer part using the API interface of the backend application layer, dividing the three-dimensional model of the single-screw flow heat transfer part into meshes based on the watertight geometry workflow and according to the mesh parameters, and simultaneously refining the curvature mesh in the spiral edge region near the tip of the spiral blade.
4. The single-screw extrusion flow heat transfer simulation platform according to claim 1 or 2, characterized in that, The single-screw geometric parameters also include the total length parameter of the single-screw model; the rheological property parameters include the material density, specific heat capacity, thermal conductivity, and the rheological parameters required for the material viscosity model; during flow and heat transfer simulation, the heat generated by the chemical reaction of the material during flow shear is represented by the scalar energy source term value, which is obtained by adding the Arrhenius model as the heat source phase to the energy equation for solution.
5. The single-screw extrusion flow heat transfer simulation platform according to claim 4, characterized in that, The process of mapping and binding the geometric parameters, rheological property parameters, and solution control parameters of the single screw to the mesh model of the flow and heat transfer section of the single screw using the API interface of the backend application layer for flow and heat transfer simulation specifically includes: The business control layer uses the API interface of the backend application layer to map and bind the total length parameter of the single screw model and the zero-pressure reference point of extrusion flow heat transfer to the mesh model of the single screw flow heat transfer part. In the numerical solution software, the zero-pressure reference point of extrusion flow heat transfer is used to locate the mesh model of the single screw flow heat transfer part, the total length of the single screw model is converted to units, and the converted value is assigned to the reference pressure axial coordinate of the single screw flow heat transfer part mesh model to set the reference pressure position. The business control layer uses the API interface of the backend application layer to map and bind the scalar energy source item values, material attribute parameters and single screw process parameters to the mesh model of the single screw flow and heat transfer part, generating a flow and heat transfer coupled simulation model. The multi-state collaborative solution logic is used to perform flow and heat transfer simulation on the flow and heat transfer coupled simulation model.
6. The single-screw extrusion flow heat transfer simulation platform according to claim 4, characterized in that, The Arrhenius model is as follows: P is the value of the scalar energy source term, in W / m³. The comprehensive pre-exponential factor for the energy source term, in W / m³; R is the activation energy of the material, in J / mol; R is the user-inputted molar gas constant parameter, in J / (mol·K); T is the absolute temperature of the material, in K.
7. The single-screw extrusion flow heat transfer simulation platform according to claim 5, characterized in that, The multi-state collaborative solution logic refers to: first, setting the SIMPLE steady-state iteration mode to perform a fixed number of pre-calculations on the flow and heat transfer coupled simulation model to obtain the initial flow field; then, using the first-order transient solution mode to transform the rotating coordinate system of the fluid dynamic domain in the flow and heat transfer coupled simulation model into the real mesh motion boundary, and continuously performing transient solutions until the simulation is completed.
8. The single-screw extrusion flow heat transfer simulation platform according to claim 5, characterized in that, The single-screw process parameters include inlet conditions, outlet conditions, ambient temperature, and screw speed; The rotation coordinate system transformation of the fluid dynamic domain refers to the process by which the business control layer, after completing the steady-state pre-calculation according to the preset solution process, converts the fluid dynamic domain from a multi-reference system setting to a grid motion setting.
9. A method for constructing an automated integrated simulation platform for single-screw simulation processes as described in any one of claims 1-8, characterized in that, Includes the following steps: S1: Build and link the front-end interface layer and the business control layer. The front-end interface layer is built using HTML, CSS, and JavaScript, and the desktop window and front-end-back-end bridging are created using Python's pywebview library. The front-end interface layer is used to receive single-screw feature parameters input by the user. The single-screw feature parameters include single-screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters. Define the BridgeAPI class interface in Python to serve as a bridge interface between the front-end interface layer and the business control layer; The front-end interface layer is mapped and associated with the business control layer through JavaScript function calls, enabling the business control layer to extract single screw geometric parameters, mesh parameters, rheological property parameters, and solution control parameters from the front-end interface layer; the business control layer interacts with the front-end interface layer through the JavaScript interaction port, so that the mesh generation process log read by the business control layer and the simulation results obtained are output to the front-end interface layer for display. S2: Associate the business control layer with the backend application layer The business control layer is associated with the back-end application layer through the BridgeAPI class interface. The back-end application layer includes 3D modeling software, mesh generation software, and numerical solution software. S3: Business Control Process The business control layer extracts the single screw geometric parameters from the front-end interface layer, converts them into derived dimensions, and then overwrites the derived dimensions into the script of the 3D modeling software through the back-end application layer. The backend application layer uses a user-friendly command-line mode to trigger the engine of the 3D modeling software to generate a 3D model file of the single-screw flow heat transfer section. The business control layer extracts mesh parameters from the front-end interface layer and uses the API interface of the back-end application layer to input the 3D model file of the single-screw flow heat transfer part into the mesh generation software. At the same time, it uses the API interface of the back-end application layer to map and bind the mesh parameters to the 3D model of the single-screw flow heat transfer part to perform mesh generation, generating the volume mesh file of the single-screw flow heat transfer part. The business control layer reads the mesh generation process log through the API interface of the back-end application layer and outputs it to the front-end interface layer for display. The business control layer extracts the single-screw geometric parameters, rheological property parameters, and solution control parameters from the front-end interface layer. It then uses the API interface of the back-end application layer to input the volume mesh file of the single-screw flow and heat transfer section into the numerical solver software, where it is loaded to generate a mesh model of the single-screw flow and heat transfer section. Simultaneously, the back-end application layer's API interface maps and binds the single-screw geometric parameters, rheological property parameters, and solution control parameters to the single-screw flow and heat transfer section mesh model for flow and heat transfer simulation. The business control layer obtains the simulation results through the back-end application layer's API interface and outputs them to the front-end interface layer for display.
10. The method for constructing an automated integrated simulation platform for single-screw simulation processes according to claim 9, characterized in that, The BridgeAPI class interface includes the SpaceClaim application programming interface, the Fluent Meshing API interface, and the Fluent Solver API interface. The business control layer is associated with the 3D modeling software through the SpaceClaim application programming interface, the business control layer is associated with the mesh generation software through the Fluent Meshing API interface, and the business control layer is associated with the numerical solution software through the Fluent Solver API interface.