Analysis method of pressure resistance of magnetic liquid seal based on joint simulation of MATLAB and COMSOL

Through the combined simulation analysis method of MATLAB and COMSOL, the problem of low simulation analysis efficiency of magnetic liquid sealing devices in the prior art is solved, batch calculation and parameter optimization are realized, simulation process is simplified, and design efficiency is improved.

CN113536637BInactive Publication Date: 2024-11-15BEIJING JIAOTONG UNIV +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110817435.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-20
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The simulation analysis method of existing magnetic liquid sealing devices requires manual modification of model parameters and repeated simulation steps, which is time-consuming and labor-intensive, difficult to optimize the design, and cannot batch process the simulation results, and is relatively inefficient.

Method used

Using the combined simulation analysis method of MATLAB and COMSOL, the geometric model is drawn through CAD software, exported into .dxf format file, establish the COMSOL simulation model, set material parameters and physical properties, and use MATLAB to call the COMSOL model for batch parameter changes and simulation analysis, simplifying the Simulation process to improve efficiency.

Benefits of technology

The batch calculation of magnetic liquid sealing structure under different parameter conditions is realized, which reduces the manual participation steps, improves simulation efficiency, simplifies the operating threshold, and provides a large amount of structural optimization design data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113536637B_ABST
    Figure CN113536637B_ABST
Patent Text Reader

Abstract

The present invention discloses a magnetic liquid seal pressure resistance analysis method based on MATLAB and COMSOL joint simulation, which mainly solves the problem that the traditional finite element analysis method is cumbersome to manually set model parameters and cannot be simulated in batches. The main steps are: 1. Draw a geometric model and obtain a .dxf format file; 2. Use COMSOL to establish a finite element simulation model and export it as a .m format file; 3. Use MATLAB to call the finite element simulation model .m file and complete the joint simulation analysis programming of MATLAB and COMSOL; 4. Use COMSOL Multiphysics for MATLAB to run the joint simulation analysis program, complete the finite element simulation and save the result file; 5. Use MATLAB to call the simulation result file, calculate the pressure resistance of the sealing structure under various conditions and save the result file. The present invention is suitable for batch calculation of magnetic field distribution and pressure resistance of any magnetic liquid sealing structure, improves the efficiency of simulation analysis, and reduces the threshold of simulation analysis operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of magnetic liquid sealing, and in particular relates to a simulation analysis method for the pressure resistance of a magnetic liquid sealing structure, which can be used for the optimal design of the mechanical structure of a magnetic liquid sealing device. Background Art

[0002] In the field of magnetic liquid seals, pressure resistance is affected by parameters such as the geometry of the pole teeth, tooth spacing, number of teeth, position of the pole teeth, materials of the shaft and pole shoes, and number of permanent magnets. It is the most important parameter indicator for measuring the performance of magnetic liquid sealing devices. At present, finite element analysis software such as ANSYS and COMSOL are generally used for simulation analysis. The analysis process includes establishing a geometric model, setting material properties, setting physical field properties, dividing the grid, setting the corresponding solver, performing simulation analysis, obtaining the magnetic field distribution, reading the magnetic field size of the required path, and calculating the pressure resistance of the magnetic liquid sealing device. However, the above simulation analysis method has the following problems:

[0003] (1) In order to obtain the best sealing structure design, a large number of models with different sizes and structures need to be calculated. However, each calculation requires manual modification of model parameters and repeated simulation steps, which is time-consuming, labor-intensive and prone to errors.

[0004] (2) When the model parameters contain continuous variables or there are many model parameters, it is difficult to obtain the optimal model by manually adjusting the parameters;

[0005] (3) When there are a large number of models to be calculated, there is no corresponding program to process the simulation results in batches, and manual screening is required, which is inefficient. Summary of the invention

[0006] The purpose of the present invention is to propose a magnetic liquid seal pressure resistance analysis method based on MATLAB and COMSOL joint simulation, combining the advantages of the two software to simplify the simulation process, lower the threshold of simulation analysis operation, improve the efficiency of simulation analysis, and quickly complete the batch calculation of the magnetic field distribution and pressure resistance of the sealing structure under different parameter conditions.

[0007] To achieve the above object, the main implementation steps of the present invention are as follows:

[0008] (1) Use CAD software to draw the geometric model required for simulation and export it as a .dxf format file;

[0009] (2) Establish a COMSOL simulation model, set the spatial dimension, physical field options and study type, import the .dxf file of the geometric model exported in step (1), and complete the establishment of the geometric model;

[0010] (3) Set the material parameters of the geometric model in COMSOL, set the physical field properties, perform meshing, set the solver, set the image properties to be exported and saved, complete the finite element simulation model, and export it as a .m format file;

[0011] (4) Use MATLAB to call the finite element simulation model .m file generated in step (3) to complete the joint simulation analysis programming of MATLAB and COMSOL;

[0012] (5) Use COMSOL Multiphysics for MATLAB to open MATLAB, run the joint simulation analysis program of MATLAB and COMSOL written in step (4), complete the finite element simulation of the magnetic liquid sealing structure under different parameter conditions, and save the simulation result file;

[0013] (6) Using MATLAB to call the simulation result file generated in step (5), calculate the pressure resistance of the magnetic liquid sealing structure under different parameter conditions, and export and save the results.

[0014] Compared with the traditional finite element analysis method, the present invention has the following advantages:

[0015] 1) The present invention uses MATLAB to call the COMSOL finite element simulation model, batch-changes its geometric model structural parameters to obtain a large number of simulation results under different structures, and batch-processes them to provide a large amount of data for structural optimization design, thereby improving simulation efficiency;

[0016] 2) The present invention uses MATLAB to automatically generate and change parameters and calls COMSOL for simulation, thereby reducing the steps that require human participation and the possibility of human errors;

[0017] 3) The steps of establishing the finite element simulation model using COMSOL in the present invention can be completed in advance by professional simulation personnel. Without changing the COMSOL simulation model settings, the simulation using the present invention does not require the user to be familiar with the COMSOL operation method, which greatly reduces the operational threshold of simulation analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flow chart of the implementation of the present invention;

[0019] Figure 2 It is the geometric model preliminarily established in COMSOL in the example of the present invention;

[0020] Figure 3 Yes Figure 2 Simulated magnetic field line distribution diagram;

[0021] Figure 4 Yes Figure 2 Simulated magnetic induction intensity cloud map;

[0022] Figure 5 Yes Figure 2 Simulated magnetic induction intensity diagram at the pole teeth;

[0023] Figure 6 It is a partial compressive strength data diagram after batch simulation of the present invention;

[0024] Figure 7 It is a triangular polar tooth profile diagram;

[0025] Figure 8 It is an isosceles trapezoidal polar tooth profile diagram;

[0026] Fig. 9 It is a rectangular polar tooth profile diagram;

[0027] Fig.10 It is a right-angle trapezoidal pole tooth profile diagram. DETAILED DESCRIPTION

[0028] Obviously, many modifications and changes made by those skilled in the art based on the purpose of the present invention belong to the protection scope of the present invention.

[0029] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when an element or component is said to be "connected" to another element or component, it may be directly connected to the other element or component, or there may be an intermediate element or component. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.

[0030] It should be understood by those skilled in the art that unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art.

[0031] To facilitate the understanding of the embodiments, further explanations will be given below, and each embodiment does not constitute a limitation of the present invention.

[0032] Example 1: Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 , Fig. 9 and Fig.10 As shown in the figure, the magnetic liquid seal structure optimization design method based on MATLAB and COMSOL joint simulation contains the following steps:

[0033] Step 1: Use CAD software to draw the geometric model required for simulation and export it as a .dxf format file.

[0034] According to the structure of the magnetic liquid sealing device, the geometric models of its pole shoes, shaft, permanent magnet and air domain are drawn respectively using CAD software, and exported as .dxf files for importing into COMSOL to generate simulation geometric models. During the drawing process, it is necessary to pay attention to the starting position and relative position of the three models so that they maintain the correct relative position in COMSOL. The .dxf file generated in this step is used to generate the model variables and import paths of the pole shoes, shafts, permanent magnets and air domains in COMSOL, which is convenient for subsequent calls and changes using MATLAB; secondly, this step needs to be repeated to change the basic geometric models of the pole shoes, shafts, permanent magnets and air domains, and use CAD software to draw new geometric models and generate .dxf files.

[0035] Step 2: Create a COMSOL simulation model, set the spatial dimensions, physical field options, and study type, import the geometry model .dxf format file, and complete the creation of the geometry model. Figure 2 shown.

[0036] 2.1) Open COMSOL Multiphysics, select the Model Wizard, select the “2D axisymmetric” spatial dimension, “Magnetic field, no current (mfnc)” physics field, and “Stationary” study;

[0037] 2.2) Import the .dxf files of the pole shoe, shaft, permanent magnet and air domain, draw a pole tooth boundary, use array and mirror to complete the establishment of all pole tooth boundaries, use Boolean operations to remove the pole tooth boundaries on the shaft or pole shoe to form the pole teeth, and form a union to complete the establishment of the geometric model;

[0038] Step 3: Set the material parameters of the geometric model in COMSOL, set the physical field properties, perform meshing, set the solver, set the image properties to be exported and saved, complete the finite element simulation model, and export it as a .m format file;

[0039] 3.1) Set the material parameters of the pole shoe, shaft, permanent magnet and air domain. The pole shoe and shaft need to input the BH curve. Use the "Interpolation" function, select "File" in "Data Source", and select the BH curve file. Later, you can modify the BH file path in MATLAB to modify the BH curve parameters of the material according to the actual material parameters used;

[0040] 3.2) Set the "Magnetic Field, No Current (mfnc)" physical field properties. For the air domain, set "Magnetic Flux Conservation", "Material Type" to "Non-solid", "Magnetization Model" to "Relative Permeability", and "Relative Permeability" source to "From Material";

[0041] 3.3) For permanent magnets, set "Magnetic flux conservation", "Material type" to "Solid"; "Magnetization model" - "Residual flux density", "Recoil permeability" source "From material", "Residual flux density modulus" source "From material", "Residual flux direction" - z direction to "1";

[0042] 3.4) For the pole piece and shaft, set "Magnetic Flux Conservation", "Material Type" to "Solid", "Magnetic Model" to "BH Curve", "Magnetic Flux Density Norm" source to "From Material", and "Magnetic Co-energy Density" source to "From Material";

[0043] 3.5) Set “zero magnetic scalar potential”;

[0044] 3.6) Mesh the geometric model using free triangle mesh;

[0045] 3.7) Set the solver and use the default solver;

[0046] 3.8) Generate and save the magnetic induction intensity cloud map of the sealing structure, the magnetic force line distribution map and the magnetic induction intensity map under each pole tooth of the sealing part, and set the export format and save path of each data in "Export";

[0047] 3.9) Save the file and save it in .m format.

[0048] Step 4: Use MATLAB to call the finite element simulation model .m file to complete the joint simulation analysis programming of MATLAB and COMSOL.

[0049] 4.1) Define the file path in MATLAB, including the .dxf file of the sealing device, the COMSOL model file, the material BH parameter file, the finite element simulation model .m file, and the data saving file;

[0050] 4.2) Define the model parameters in MATLAB, including the pole tooth shear direction, starting coordinates, model symmetry axis coordinates, tooth spacing, magnetic liquid volume range, etc.;

[0051] 4.3) According to the geometric positions of different pole teeth in the model and the covering relationship between the magnetic fluid and the pole teeth under different sealing conditions, the relationship between the magnetic fluid consumption and the number of teeth is simplified to Formula 1 and Formula 2.

[0052] V=n1*L t *L g (1)

[0053]

[0054] Since V, L in the model g and L t All are known quantities, so after simplification, we can get Formula 3 and Formula 4, and get n,

[0055]

[0056]

[0057] Where V is the total consumption of magnetic liquid, L g ——Sealing gap, L t ——Tooth spacing, n1——number of rectangular pole teeth, right-angled trapezoidal pole teeth, isosceles trapezoidal pole teeth, n2——number of triangular pole teeth;

[0058] 4.4) According to the geometric positions of different pole teeth in the model, the relationship between the tooth slot width of each pole tooth and the pole shoe width is obtained by formula 5 and formula 6.

[0059] L=n*x (5)

[0060] L=n*L t +(n-1)*L s (6)

[0061] Since L, n, L in the model t All are known quantities, so after simplification, we can get Formula 7 and Formula 8, and get x and L s ,

[0062] x=n / L (5)

[0063]

[0064] Where L is the length of the bottom of the pole shoe; x is the width of the triangular pole tooth top groove; L s ——Rectangular, isosceles trapezoidal, right-angled trapezoidal pole tooth top groove width; L t ——tooth spacing; n——number of pole teeth;

[0065] 4.5) Read the pole tooth size variables and initial positions, and establish the coordinates of a single pole tooth based on the geometric shape relationship of different pole teeth;

[0066] 4.6) Read the polar tooth shear direction, starting coordinates, model symmetry axis coordinates, tooth spacing, and number of teeth, and solve the coordinates of the remaining polar teeth based on the relationship between the polar teeth;

[0067] 4.7) Modify the parameters and file path in the finite element simulation model .m file, and complete the writing of the finite element simulation model calling calculation program in the MATLAB main program.

[0068] Step 5, use COMSOL Multiphysics for MATLAB to open MATLAB, run the joint simulation analysis program of MATLAB and COMSOL, complete the finite element simulation of the magnetic liquid sealing structure under different parameter conditions, and save the simulation result file.

[0069] 5.1) Open MATLAB through COMSOL Multiphysics for MATLAB and run the main program;

[0070] 5.2) After the program is finished running, it will automatically save the Figures 3 to 5 The magnetic field simulation image shown in the figure is saved in a TXT file under the specified path.

[0071] Step 6, use MATLAB to call the simulation result file, calculate the pressure resistance of the magnetic liquid sealing structure under different parameter conditions, and export and save the results.

[0072] 6.1) Use MATLAB to call the magnetic field distribution file in the air gap between the shaft and the pole shoe saved in the simulation results;

[0073] 6.2) According to the grid division at the air gap, run the data processing program to obtain the maximum magnetic flux density modulus difference value in the sealing gap corresponding to each pole tooth, and add up the total magnetic flux density modulus difference, and then multiply it by the saturation magnetization intensity of the magnetic liquid to obtain the compressive strength, which is expressed as Formula 7;

[0074]

[0075] 6.3) Export and save the compressive strength data and comparative analysis under various parameter conditions, such as Figure 6 , for the simulation operator to view and complete the entire simulation process.

[0076] As described above, the embodiments of the present invention are described in detail, but it is obvious to those skilled in the art that many variations are possible without departing from the inventive point and effect of the present invention. Therefore, all such variations are also included in the protection scope of the present invention.

Claims

1. A method for analyzing the pressure resistance of magnetic liquid seals based on joint simulation of MATLAB and COMSOL, characterized in that: The steps include: (1) Use CAD software to draw the geometric model of the pole piece, shaft, permanent magnet, and air domain, and export it into a .dxf format file; (2) Establish a COMSOL simulation model, set the spatial dimension, physical field options and study type, import the geometric model .dxf format file exported in step (1), and complete the establishment of the geometric model; (3) Set the material parameters of the geometric model in COMSOL, set the physical field properties, perform meshing, set the solver, set the image properties to be exported and saved, complete the finite element simulation model, and export it as a .m format file; (4) Perform joint simulation analysis programming of MATLAB and COMSOL, define the file path in MATLAB, including the .dxf file of the sealing device, the COMSOL model file, the material BH parameter file, the finite element simulation model .m file, and the data saving file; (5) Define the model parameters in MATLAB, including the pole tooth shear direction, starting coordinates, model symmetry axis coordinates, tooth spacing, number of teeth, and magnetic fluid volume range; (6) The pole tooth coordinates are calculated based on the pole tooth parameters. According to the geometric positions of different pole teeth in the model and the covering relationship between the magnetic liquid and the pole teeth under different sealing conditions, the relationship between the magnetic liquid consumption and the number of teeth is simplified to Formula 1 and Formula 2. V=n1*L t *L g (1) Since V, L in the model g and L t All are known quantities, so after simplification, we can get Formula 3 and Formula 4, and get n, Where V is the total consumption of magnetic liquid, L g ——Sealing gap, L t ——Tooth spacing, n1——number of rectangular pole teeth, right-angled trapezoidal pole teeth, isosceles trapezoidal pole teeth, n2——number of triangular pole teeth; According to the geometric positions of different pole teeth in the model, the relationship between the tooth slot width of each pole tooth and the pole shoe width is obtained by formula 5 and formula 6: L = n*x(5) L=n*L t +(n-1)*L s (6) Since L, n, L in the model t All are known quantities, so after simplification, we can get Formula 7 and Formula 8, and get x and L s , x=n / L (7) Where L is the length of the bottom of the pole shoe; x is the width of the triangular pole tooth top groove; L s ——Rectangular, isosceles trapezoidal, right-angled trapezoidal pole tooth top groove width; L t ——tooth spacing; n——number of pole teeth; Read the pole tooth size variables and initial positions, and establish the coordinates of a single pole tooth based on the geometric shape relationship of different pole teeth; (7) Use COMSOL Multiphysics for MATLAB to open MATLAB, run the joint simulation analysis program of MATLAB and COMSOL written in step (4), complete the finite element simulation of the magnetic liquid sealing structure under different parameter conditions, and save the simulation result file; (8) Use MATLAB to call the simulation result file generated in step (5), calculate the pressure resistance of the magnetic liquid sealing structure under different parameter conditions, and export and save the results.

2. According to the method of claim 1, the spatial dimension in step (2) is two-dimensional axisymmetry, the physical field option is magnetic field, there is no current, and the research type is steady-state research; the geometric model establishment includes importing the .dxf files of the pole shoes, shaft, permanent magnet and air domain described in step (1), drawing the pole teeth, Boolean operations of the domains and forming a union.

3. According to the method of claim 1, the material parameters in step (3) include material parameters of the pole shoes, shaft, permanent magnet and air domain, and the physical field properties include the setting of conservation of magnetic flux in each domain and the setting of zero magnetic scalar potential.

4. According to the method of claim 1, the simulation result file generated by calling step (7) in step (8) is a magnetic field distribution file in the air gap between the shaft and the pole shoe saved in the simulation result.

5. According to the method of claim 1, the pressure resistance of the magnetic liquid sealing structure under different parameter conditions in step (8) is calculated by obtaining the maximum magnetic flux density modulus difference in the sealing gap corresponding to each pole tooth, accumulating the total magnetic flux density modulus difference, and then multiplying it by the saturation magnetization intensity of the magnetic liquid to obtain the pressure resistance, which is expressed as Formula 9 Where ΔP 总 ——Total compressive strength; M s ——total compressive strength; ——The maximum compressive strength of the i-th pole tooth; ——Minimum compressive strength of the ith pole tooth.

Citation Information

Patent Citations

  • Method for improving pressure resistance of magnetic liquid seal in low-temperature working environment

    CN104405886A

  • Loudspeaker joint simulation method based on finite element method

    CN110188428A

  • Mechanical seal state analysis method based on numerical model

    CN112632849A

  • Magnetic liquid sealing device

    CN112728101A

  • Magnetic-liquid seal

    SU1399556A1