System and method for simulating rotating machines based on mortar method

The mortar method with T−Ω formulation addresses non-conformal mesh challenges in rotating machine simulations, ensuring smooth field continuity and efficient simulation of rotational movements, overcoming inefficiencies in existing methods.

US12818587B1Active Publication Date: 2026-12-01ANSYS INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
US18/945448
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Priority Date
2024-04-30
Filing Date
2024-11-12
Publication Date
2026-12-01
Estimated Expiration
2045-05-07

AI Technical Summary

Technical Problem

Existing simulation methods for rotating machines face challenges with non-conformal meshes, particularly in scenarios involving non-constant speed or non-constant time steps, leading to issues like hot spots and the need for dense meshes, which are impractical and inefficient.

Method used

The system employs the mortar method to simulate rotating machines with non-conformal meshes, using a T−Ω formulation that includes eddy current effects and circuit coupling, and applies a robust search algorithm to handle non-coplanar surfaces, allowing for accurate simulation of rotational movements.

Benefits of technology

This approach ensures smooth field continuity at the rotor-stator interface, providing accurate and efficient electromagnetics simulation results even in scenarios with both stationary and moving parts, reducing simulation time and avoiding hot spots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12818587-D00000_ABST
    Figure US12818587-D00000_ABST
Patent Text Reader

Abstract

A system is disclosed for simulation of physical behavior of a rotating machine with motion. The system receives a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator, the simulation model including mesh elements representing the rotor and the stator. The system generates a T−Ω formulation for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents. The system simulates the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method. The simulation includes projecting field values of mesh elements of the slave surface to mesh elements of the master surface. The system determines the physical behaviors of the rotating machine based on results of the simulation.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Application No. 63 / 640,781, filed on Apr. 30, 2024, the disclosure of which is hereby incorporated by reference in its entirety.TECHNICAL FIELD

[0002] Embodiments of the present invention relate generally to rotating machines. More particularly, embodiments of the invention relate to system and method for the simulation of rotating machines based on the mortar method.BACKGROUND

[0003] Simulation for rotating machines can use equivalent circuit-based methods, finite element analysis (FEA)-based methods, or a combination thereof. Equivalent circuit-based methods use an equivalent circuit model for the rotating machines. The equivalent circuit of rotating machines typically is used to evaluate the machine characteristics of the rotating machines at steady-state conditions. FEA-based methods can simulate the rotating machines at steady-state conditions and with motion. In FEA-based simulation with motion, the moving mesh and stationary mesh are non-conformal on the rotor-stator interface. This could lead to hot spots at the interface as shown in FIG. 2A.

[0004] In an existing clone mesh approach, at each time step, the mesh at the interface needs to be configured to be conformal. A conformal mesh means that the mesh elements at the interface between the rotor and stator align, e.g., shared topology, are identical on each side of the interface which maintain field continuity. But this approach has several issues including: the clone mesh approach cannot solve simulation scenarios with non-constant speed, or non-constant time step. E.g., maintaining conformity between the moving and stationary meshes becomes challenging, as the relative positions of the elements shift significantly between time steps. Furthermore, to simulate the scenarios with a small time step or a slow speed, the mesh needs to be configured to be very dense (as shown in FIG. 2B) as changes in the simulation at each time step can be subtle and thus a need for a finer mesh to capture the changes accurately.SUMMARY

[0005] According to a first aspect, a system is disclosed for simulation of physical behavior of a rotating machine with motion. The system receives a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator, the simulation model including mesh elements representing the rotor and the stator. The system generates a T−Ω formulation for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents. The system simulates the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method. The simulation includes projecting field values of mesh elements of the slave surface to mesh elements of the master surface, or projecting field values of mesh elements of the master surface to mesh elements of the slave surface. The simulation includes performing numerical integration for mesh elements at the slave surface to project the field values. The system determines the physical behaviors of the rotating machine based on results of the simulation, the physical behaviors including electromagnetic fields from effects of eddy currents.

[0006] For an embodiment, determining the physical behaviors of the rotating machine further includes determining a cogging torque of the rotating machine based on magnetic potentials of the rotor and stator of the rotating machine.

[0007] For an embodiment, the system further receives a full mesh model for finite element simulation of the rotating machine, the simulation model being a partial model for finite element simulation determined based on a periodic segment of the full mesh model.

[0008] For an embodiment, the system further specifies interface boundaries for the simulation model such that the simulation model is representative of the full mesh model.

[0009] For an embodiment, the slave surface of the rotor is subject to rotational motion along the interface at different simulation time steps.

[0010] For an embodiment, projecting field values of mesh elements of the slave surface to mesh elements of the master surface includes, for each element at the slave surface, determining the element belongs in one of three scenarios, the three scenarios being: a) the mesh element fully maps to the mesh elements at the master surface; b) the mesh element partially maps to the mesh elements at the master surface; and c) the mesh element does not map to any mesh elements at the master surface.

[0011] For an embodiment, when the mesh element fully maps to any mesh elements at the master surface, the system determines that no rotation of the rotor component is needed for the mesh element for the field value projection of the mesh element, and projects the field value of the mesh element to the mesh elements at the master surface.

[0012] For an embodiment, when the mesh element partially maps to any mesh elements at the master surface, the system projects the field value of the mesh element to the mesh elements at the master surface for a partially mapped portion of the mesh element. The system determines a periodicity of the periodic segment of the full mesh model, derives a rotated mesh element corresponding to a remainder portion of the mesh element based on the periodicity, and projects the field value of the rotated mesh element to the mesh elements at the master surface.

[0013] For an embodiment, when the mesh element does not map to any mesh elements at the master surface, the system determines a periodicity of the periodic segment of the full mesh model. the system derives a rotated mesh element based on the periodicity, and projects the field value of the rotated mesh element to the mesh elements at the master surface.

[0014] For an embodiment, the T−Ω formulation further includes effects of circuit coupling from a number of winding circuits of the rotating machine.

[0015] For an embodiment, projecting field values of mesh elements of the slave surface to mesh elements of the master surface further includes, for each element at the slave surface, searching for one or more mesh elements at the master surface that maps to the mesh element.

[0016] For an embodiment, searching for one or more mesh elements at the master surface that maps to the mesh element further includes determining a plurality of bounding boxes corresponding to the mesh elements at the slave surface and the master surface; for each of the mesh elements at the slave surface, determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface; and if bounding boxes of two mesh elements overlap, determining that their corresponding mesh elements potentially overlap.

[0017] For an embodiment, determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface further includes specifying the plurality of bounding boxes with an angular coordinate θ and an axial coordinate z. The two bounding boxes overlap when the two bounding boxes have an overlap in their radial angles and z axial coordinates.

[0018] For an embodiment, performing numerical integration for mesh elements at the slave surface includes, for two mesh elements with bounding boxes that overlap, performing the numerical integration for an overlapping region of the two mesh elements. Performing the numerical integration includes projecting, orthogonal to the master surface, a slave mesh element at the slave surface to a master mesh element at the master surface; determining the overlapping region based on the projected slave mesh element and the master mesh element; and determining an image for the overlapping region projected back to the slave surface. The numerical integration is performed based on quadrature points corresponding to the image.

[0019] For an embodiment, the overlapping region corresponds to one or more surface triangles when the two mesh elements are tetrahedra and the quadrature points correspond to the surface triangles in the image.

[0020] For an embodiment, for each of the quadrature points, the system determines a local coordinate of the quadrature point with respect to the slave surface to calculate βi. The system determines a coordinate for the quadrature point with respect to the master surface to calculate

[0021] αjm.The numerical integration is performed based on a weight of the quadrature points with respect to slave surface, and the βi and the

[0022] αjmof the quadrature points.

[0023] According to a second aspect, the system further determines a time differential scheme with mortar method; determines a time step size for the time differential scheme; determines an initial solution of the T−Ω formulation at a first time step; and determines change in the solution for a next time step based on a configuration of the rotating machine at the next time step and the solution at the first time step.

[0024] For an embodiment, the system derives a time variant portion of the T−Ω formulation, and derives a time invariant portion of the T-formulation, where the time differential scheme is applied separately to the time variant portion of the T−Ω formulation than the time invariant portion of the T−Ω formulation.

[0025] For an embodiment, the configuration of the rotating machine at the next time step is specified by a submatrix of the T−Ω formulation corresponding to the next time step.

[0026] For some embodiments, the system generates an A-phi formulation for physical behaviors of the rotating machine. For some embodiments, the system applies the time differential scheme to an A-phi formulation instead of the T−Ω formulation. The system simulates the physical behaviors of the rotating machine based on the simulation model under the A-phi formulation using mortar method.

[0027] The above summary does not include an exhaustive list of all embodiments and aspects in this disclosure. All systems, media, and methods can be practiced from all suitable combinations of the various aspects and embodiments summarized above and also those disclosed in the detailed description below.BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The present invention is illustrated by way of example and not limited to the figures of the accompanying drawings.

[0029] FIG. 1 is a block diagram illustrating a networked system according to one embodiment.

[0030] FIG. 2A is a block diagram illustrating an example of hot spots of H field at the rotor-stator interface according to one embodiment.

[0031] FIG. 2B is a block diagram illustrating an example of a dense mesh at the rotor-stator interface according to one embodiment.

[0032] FIG. 3 is a block diagram illustrating an example of basis functions according to one embodiment.

[0033] FIG. 4 is a flow diagram illustrating an example process according to one embodiment.

[0034] FIG. 5 is a block diagram illustrating the master surface and slave surface are not on the same plane according to one embodiment.

[0035] FIG. 6 is a block diagram illustrating a segment of a rotating machine according to one embodiment.

[0036] FIG. 7 is a block diagram illustrating a mesh at the interface of the master and slave region for partial mesh method according to one embodiment.

[0037] FIG. 8 is a block diagram illustrating mapping of the slave elements to the master region according to one embodiment.

[0038] FIG. 9 is a block diagram illustrating a searching algorithm for bounding box mapping by angle according to one embodiment.

[0039] FIG. 10 is a flow diagram illustrating an example process according to one embodiment.

[0040] FIG. 11A-11D depict block diagrams illustrating projection of elements according to some embodiments.

[0041] FIG. 12 is a block diagram illustrating an overlap of two surface triangles according to one embodiment.

[0042] FIG. 13 is a block diagram illustrating a model of a rotating machine according to one embodiment.

[0043] FIG. 14 is a graph illustrating cogging torque with point matching algorithm according to one embodiment.

[0044] FIG. 15 is a graph illustrating cogging torque with mortar method according to one embodiment.

[0045] FIG. 16 is a flow diagram illustrating a process according to one embodiment.

[0046] FIG. 17 is a flow diagram illustrating a process according to one embodiment.

[0047] FIG. 18A-18C depict example systems for use in implementing a system according to some embodiments.DETAILED DESCRIPTION

[0048] Various embodiments and aspects will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding of various embodiments. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments.

[0049] Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in conjunction with the embodiment can be included in at least one embodiment. The appearances of the phrase “For an embodiment” in various places in the specification do not necessarily all refer to the same embodiment. The processes depicted in the figures that follow are performed by processing logic that comprises hardware (e.g. circuitry, dedicated logic, etc.), software, or a combination of both. Although the processes are described below in terms of some sequential operations, it should be appreciated that some of the operations described may be performed in a different order. Moreover, some operations may be performed in parallel rather than sequentially.

[0050] Reference in the specification to electric vector potential-magnetic scalar potential (T−Ω) formulation refers to a variational electromagnetic field formulation used in finite element analysis (FEA) for solving electromagnetic problems in rotating electric machines (e.g., electric motors and generators). This formulation is derived from Maxwell's equations. Ω refers to nodal-based magnetic scalar potential, defined in the entire solution domain, and T refers to edge-based electrical vector potential, defined only in conducting eddy-current regions. Rotor-stator interface refers to the region in between the rotor and stator components of a rotating electric machine. The A-phi formulation is another electromagnetic field formulation used in electromagnetic analysis, particularly in the context of finite element analysis (FEA) for electric machines. This formulation involves the electric vector potential A and the magnetic scalar potential phi to describe electromagnetic fields. Reference in the specification to a time differential scheme means a numerical method used to approximate the solution of differential equations that describe a dynamic system over time. Backward Euler's method is an implicit numerical technique used for solving partial differential equations (PDEs). The Newton-Raphson method is an iterative numerical technique used to find approximate solutions to equations.

[0051] Systems and Methods of this disclosure relates to the simulation of rotating machines with non-conformal mesh using the mortar method. The mortar method approach eliminates the need to configure the mesh at the rotor-stator interface to be conformal such as through the clone mesh approach.

[0052] As described above, the clone mesh approach configures the mesh to be conformal. One approach creates the surface mesh at the interface to be repeated along the moving direction. At each time step the moving mesh rotates exactly one segment of the mesh. Then at each time step the mesh at the interface is always conformal. But this approach leads to a very dense mesh at the interface if the simulated movement is small for each time step. Furthermore, it may be impractical to create such a mesh where the simulated movement is different for each time step.

[0053] Another approach is to employ the Mortar Method to solve the Laplace equation in the presence of nonconformal meshes, which yields smooth results at the interface. This approach can be applied for the T−Ω formulation with only the current source as the input for field excitation. The T−Ω formulation with only the current source as the input for field excitation, however, has limited application, e.g., applicable to approximately less than 10% of typical simulations.

[0054] Consequently, the currently known approaches struggle to provide accurate and efficient electromagnetics simulation results in scenarios involving both stationary and moving parts.

[0055] This disclosure provides a mechanism to simulate the rotational movements between a rotor and a stator of a rotating machine based on the Mortar Method while ensuring smoothness of the fields at the interface, where a simulation model of the rotating machine has nonconformal and non-coplanar meshes at the interface. This simulation can be performed taken into account the eddy effects and / or circuit coupling effects for the rotating machine.

[0056] For some embodiments, the disclosed mechanism identifies projection relationships between the planar surfaces of the slave meshes and the master meshes at the interface. The projection relationships can be used to relate basis functions defined on these mesh surfaces for computation of the Lagrange multiplier. For some embodiments, the disclosed mechanism can include formulation of the motion with time derivative (dy / dt) treated as a variable in time differential equations. The formulation can include constraint equations to represent restrictions imposed on dependent / independent boundaries of the moving and stationary parts involved in the motion.

[0057] For some embodiments, the mechanism can identify periodic segments of the rotating machine to simulate the motion using just one of these segments. For simulations involving periodic fields, the disclosed mechanism applies two approaches to reduce simulation time. The first approach involves truncating the simulation region to one period and mapping the fields from the dependent boundary to the independent boundary. The second approach entails creating a repeated mesh based on the periodicity of the field, allowing the simulation to focus on just one period of the mesh. Embodiments of the mechanism to address both approaches are further described below. For some embodiments, the disclosed simulation mechanism includes a robust search algorithm to address challenges in mapping the fields where the fields are not on the same plane (e.g., non-coplanar).

[0058] The methods and systems described herein may be implemented using any suitable processing system with any suitable combination of hardware, software and / or firmware, such as described below with reference to the non-limiting examples of FIG. 1.

[0059] FIG. 1 depicts at 100 a computer-implemented environment wherein users 102 can interact with a system 104 hosted on one or more servers 106 through a network 108. The system 104 contains software operations or routines. The users 102 can interact with the system 104 through a number of ways, such as over one or more networks 108. One or more servers 106 accessible through the network(s) 108 can host system 104. It should be understood that the system 104 could also be provided on a stand-alone computer for access by a user. User 102 can use system 104 to generate a T−Ω formulation to simulate a rotating machine under steady state condition, and a time differential scheme to simulate the rotating machine under transient condition.

[0060] In the following sections, the T−Ω formulation with nonconformal mesh for eddy and / or circuit coupling effects is derived through 1) the T−Ω formulation with conformal mesh, 2) Mortar Method for nonconformal mesh applied to Laplace Equation, and 3) Mortar Method applied to the T−Ω formulation with nonconformal mesh with no eddy and / or circuit coupling effects.T−Ω Formulation with Conformal Mesh

[0061] For the magnetic scalar potential (T−Ω) formulation, the magnetic field of the rotating machine can be represented by the formula:

[0062] H⇀=∑ iH⇀wi+T⇀+∇Ω+H⇀p(1)where is the field component for the ith winding circuit, is the electric vector potential flowing through the windings of the rotating machine, Ω is the magnetic scalar potential, and is the field component for a source current. The current density of the source current can be expressed as the curl of :

[0063] J⇀p=∇×H⇀p.(2)

[0064] The eddy current in a conductor of the rotating machine can be:

[0065] J⇀T=∇×T⇀(3)

[0066] The current density of the ith winding circuit for 1 Ampere of current can be:

[0067] J⇀wi=∇×H⇀wi.(4)

[0068] The imposed Maxwell equations can be:

[0069] ∇·B⇀=0⁢ and(5)-∂B⇀∂t=∇×E⇀(6)

[0070] The Constitutive equations can be:

[0071] B⇀=μ⁢H⇀⁢ and(7)J⇀=σ⁢E⇀.(8)

[0072] The i-th circuit voltage equation can be formulated as:

[0073] Vi=ei+Ri⁢Ii(9)where the induced voltage can be:

[0074] ei=-ddt⁢∫H⇀wi·B⇀⁢dV(10)and the resistance Ri can be:

[0075] Ri=∫∇×H⇀wi·1σ⁢∇×H⇀⁢dV.(11)

[0076] Combining formula (1)-(11), the system equation can be:

[0077] [[S]+ddt[T]ddt[A]ddt[C][A]T[E][F]ddt[C]Tddt[F]T[G]+ddt[H]][TΩIwi]=(ddt⁢g1ddt⁢g2ddt⁢g3+Vi)(12)where

[0078] Si⁢j=∫∇×t⇀i·1μ⁢σ·∇×t⇀j⁢d⁢V(13)Ti⁢j=∫t⇀i·μ·t⇀j⁢d⁢V(14)Ai⁢j=∫t⇀i·μ·∇αj⁢d⁢V(15)Ci⁢j=∫t⇀i·μ·H⇀w⁢j⁢d⁢V(16)Ei⁢j=∫∇αi·μ·∇αj⁢d⁢V(17)Fi⁢j=∫∇αi·μ·H⇀wi⁢d⁢V(18)Gi⁢j=δi⁢j⁢∫∇×H⇀wi·1μ⁢σ·∇×H⇀w⁢j⁢dV(19)Hi⁢j=∫H⇀wi·μ·H⇀w⁢j⁢d⁢V(20)g1⁢i=-∫t⇀i·μ·H⇀p⁢d⁢V(21)g2⁢i=-∫∇αi·μ·H⇀p⁢d⁢V(22)g3⁢i=-∫H⇀wi·μ·H⇀p⁢d⁢V+Vi(23)where i and j are the node indices of mesh elements, μ is permeability, σ is electric conductivity, δ is a dirac delta function. The magnetic scalar potential Ω and the electric vector potential are represented by scalar nodal basis function a and the vector edge basis function i.e.,

[0079] Ω=∑Ωk⁢αk(24)T⇀=∑Tk⁢t⇀k.(25)

[0080] There are several properties to note for equation (12): 1) equation (12) is for the simulation with inputs of source current, eddy effect, and circuit coupling. That is, and are components of from the source current, eddy current, and circuit coupling from the coil windings, respectively. 2) From equations (24) and (25), the system matrix in equation (12) is based on the combination of the scalar basis function and vector basis function.Point Matching for Nonconformal Mesh

[0081] In a simulation of rotating machine with motion, the electric vector potential is zero, e.g., =0, field component for the source current is zero, e.g., =0, and field component for the ith winding circuit coupling is zero, e.g., =0, at the rotor-stator interface. Thus, at the interface, only the scalar magnetic potential Ω is non-zero.

[0082] If a point matching mapping algorithm is used, the scalar magnetic potential on the slave side of the interface is mapped to the scalar magnetic potential on the master side of the interface as:

[0083] Ωj′=∑ i=16⁢Ωi⁢αi(xj′)(26)where Ω and Ω′ are the magnetic scalar potential on the respective master mesh and slave mesh.

[0084] Here, in each surface mesh element (e.g., triangle), 6 nodal basis functions can be used to represent the field in the triangle (e.g., at the three vertices and midpoints between the vertices). Thus, Ωi has i=1 . . . 6 unknowns for the field values. In the point matching mapping algorithm, each node j in the slave surface can be found in one triangle of the master surface. So, the unknown of the node

[0085] Ωj′in the slave surface can be mapped to the 6 unknowns Ωi related to that triangle.

[0086] The location of the slave nodes related to unknown

[0087] Ωi′is denoted as

[0088] xi′.E.g., there is a direct relationship between the potentials on the two sides of the interface.

[0089] But the point matching mapping algorithm can only ensure that the field of the master side equals field at the nodes of the slave side

[0090] xi′,on a point-by-point basis. If there are mismatches, unevenly distributed points, or discontinuities at the interface due to poor point alignment, the mapping can result in abrupt changes in field distributions, which leads to localized hot spots of the magnetic field as shown in FIG. 1. Here, hotspots in magnetic fields are regions where the magnetic field strength is significantly higher than in surrounding areas. When using the point matching approach, if there are steep gradients in the magnetic scalar potential, even small errors or discontinuities in the mapping can amplify the differences in the resulting magnetic field leading to hot spots. Thus, the point matching approach is undesirable.Mortar Method for Nonconformal Mesh Applied to Laplace Equation

[0091] In numerical approaches, the mortar method is a discretization method for partial differential equations (PDEs) with separate finite element discretization on nonoverlapping subdomains. The PDEs can describe the physical behavior of a system being simulated. Under the mortar method approach, even though the meshes on the subdomains do not match on the interface as there are nonoverlapping subdomains, the equality of the solution can be enforced by Lagrange multipliers as further illustrated below.

[0092] For example, the Laplace equation is an example of a partial differential equation and can be expressed in the form of:

[0093] ∇2(μ⁡(r⇀)⁢Ω⁡(r⇀))=f⁡(r⇀)(27)where ∇2 denotes the Laplacian operator, {right arrow over (r)} denotes a radial vector for a location of a mesh element, f({right arrow over (r)}) denotes a known source function, μ({right arrow over (r)}) denotes a known coefficient function, and Ω({right arrow over (r)}) denotes a quantity function to solve.

[0094] The Ω({right arrow over (r)}) can be represented by a basis function as:

[0095] Ω⁡(r⇀)=∑Ωk⁢αk(r⇀)(28)where αk is a scalar basis function.

[0096] Equation (27) can then be expressed in the form of:

[0097] [S]⁢(Ω)=(g)(29)whereSij=∫∇αi(r⇀)·μ⁡(r⇀)·∇αj(r⇀)⁢dV(30)gi=-∫∇αi(r⇀)·μ⁡(r⇀)·H⇀p(r⇀)⁢dV(31)where i and j are node indices for the mesh elements.

[0098] Lagrange multiplier λ can be specified on the slave side of the interface as:

[0099] λ⁡(r⇀)=∑λk⁢βk(r⇀)(32)where βk is the scalar basis function for the Lagrange multiplier. For some embodiments, the Lagrange multiplier can be specified on the master side of the interface.

[0100] The matrix equation to solve the Laplace equation (27) can be specified as:

[0101] [SI,ImSI,Γm000SΓ,ImSΓ,Γm00-MT00SΓ,ΓsSΓ,IsDT00SI,ΓsSI,Is00-MD00]⁢(ΩImΩΓmΩΓsΩIsλ)=(gm00gs0)(33)where

[0102] Skl=∫∇αk(r⇀)·μ⁡(r⇀)·∇αl(r⇀)⁢dV(34)gk=-∫αk(r⇀)·μ⁡(r⇀)·f⁡(r⇀)⁢dV(35)Dkl=∫Γsβk(r⇀)⁢αls(r⇀)⁢d⁢ Γs(36)Mkl=∫Γsβk(r⇀)⁢αlm(r⇀)⁢d⁢ Γs(37)where k and l are node indices for the elements in a mesh model, D and M are coupling matrices, the superscript m and s denotes “the master region” and “the slave region”.

[0103] The subscript I and Γ represent “inside the region” and “on the interface between master and slave region”.

[0104] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmthe magnetic scalar potential inside the slave region, on the slave side of the interface, inside the master region, on the master side of the interface respectively. Here, the Lagrange multiplier can be interpreted as the magnetic flux across the rotating interfaces as the physical interpretation.

[0105] The continuity of the magnetic scalar potential 22 on the interface can be enforced by:

[0106] ∫Γsβk(r⇀)·[Ωm(r⇀)-Ωs(r⇀)]⁢d⁢ Γs=0.(38)

[0107] E.g., constraint (38) can be enforced by the last row of the system matrix in equation (33). Equation (33) can thus lead to:

[0108] μ⁡(r⇀)⁢∂Ωm(r⇀)∂n=λ⁡(r⇀)(39)μ⁡(r⇀)⁢∂Ωs(r⇀)∂n=λ⁡(r⇀)(40)where n denotes the normal unit vector with respect to the mesh surfaces on the interface.

[0109] From equations (39) and (40), one can obtain:

[0110] μ⁡(r⇀)⁢∂Ωm(r⇀)∂n=μ⁡(r⇀)⁢∂Ωs(r⇀)∂n(41)so that

[0111] μ⁡(r⇀)⁢∂Ω∂nis continuous on the interface.

[0112] From equation (41), one can see that the magnetic scalar potential with respect to the normal direction on the interface are equal to ensure field continuity when the rotor and stator are of the same material, e.g., same μ for rotor and stator.Types of Basis Functions

[0113] In general, a finite element space may be specified by a set of basis functions. The basis functions can be represented using local coordinates or element coordinates. For example, consider a mesh element of a dimension d in an n-dimensional geometry having space coordinates denoted x1 . . . xn. Also, consider the standard d-dimensional simplex represented as: ζ1←0, ζ2←0, . . . ζd←0, ζ1, . . . , ζd∩1 which resides in the local coordinate space parameterized by the local coordinates ζd. In geometry, a simplex is a generalization of the notion of a triangle or tetrahedron to arbitrary dimensions. A simplex can represent the simplest possible polytope in any given dimension. If d=1, then the simplex is the unit interval with local coordinates (0), (1). If d=2, then the simplex is a triangle with two 45 degree angles with local vertices coordinates (1, 0), (0, 1), and (0, 0), and if d=3 it is a tetrahedron with local vertices coordinates (1, 0, 0), (0, 1, 0), (0, 0, 1), and (0, 0, 0), etc.

[0114] Next, the finite element mesh can include simplices forming a representation of the geometrical domain (e.g., dimension d in an n-dimensional geometry). Each simplex can belong to a unique subdomain, and the union of the simplices forms an approximation of the geometrical domain. The boundary of the domain may also be represented by simplices of the dimensions 0, 1, and 2, for geometrical dimensions 1, 2, and 3, respectively. Generally, this technique may be used to divide the geometrical domain into small partitions. For example, for a 1-dimensional domain, the partitions may be intervals along the x-axis. For a 2-dimensional square domain, the domain may be partitioned into triangles or quadrilaterals. For a 3-dimensional domain, the domain may be partitioned into tetrahedrons, blocks or other shapes.

[0115] As described above, the scalar nodal basis function αk can be used to represent the magnetic scalar potential Ω, and βk is the scalar basis function can be defined on the slave interface for the Lagrange multiplier λ.

[0116] For some embodiments, αk and βk have a biorthogonal relationship. E.g.,

[0117] Kij=∫ Γsβi·αjs⁢d⁢Γs=δij⁢∫ Γsαjs⁢d⁢Γs,with⁢ δij={1⁢ if⁢ i=j0⁢ if⁢ i≠jwhere δ is the dirac delta function.

[0118] For some embodiments, the α and β scalar basis functions can be Lagrangian shape functions or some other interpolating functions. For some embodiments, the basis functions include piecewise quadratic Lagrangian shape functions, or piecewise cubic functions, where the basis function has a value of 1 at the i-th node point and a value of 0 at the other node points. FIG. 3 depicts some possible dual basis functions for a 1-D sliding interface in local coordinates. Similar basis functions can be derived for a 2D sliding interface by taking the product of two 1-D basis functions.

[0119] In general, basis functions can be defined locally within an element and can have a specific shape. The shape of a “hat function” is the most basic resembling a triangle shape for linear elements. Each basis function can be associated with a specific node within an element, and its value is 1 at that node and 0 at all other nodes.Mortar Method in T−Ω Formulation for Nonconformal Mesh with No Eddy Effects and Circuit Coupling Effects

[0120] Mortar method can be used in T−Ω formula for nonconformal mesh. In this case, the magnetic field of the rotating machine can be represented by:

[0121] H⇀(r⇀)=H⇀p(r⇀)+∇Ω⁡(r⇀)(42)where is the field component from source current.

[0122] Note that the eddy current component and the circuit coupling component ΣIwi are not included in equation (42). Eddy effect in rotating machine can refer to the eddy currents induced within winding conductors from the changing magnetic fields. Circuit coupling effects in rotating machine can refer to the magnetic flux produced by the current in one coil interacting not only with its own winding but also with the windings of adjacent coils in the rotating machine with multiple coils.

[0123] On the interface of the nonconformal mesh, the boundary conditions to be enforced for equation (42) would be:

[0124] H⇀tm(r⇀)=H⇀ts(r⇀)(43)B⇀nm(r⇀)=B⇀ns(r⇀)(44)where n denotes the normal vector which is a vector perpendicular to a surface or curve at a given point, t denotes the tangent vector, superscript m and s respectively denotes “the master region” and “the slave region”.

[0125] Next, the system matrix of T−Ω formula (12) without and ΣIwi can be reduced to:

[0126] [E]⁢(Ω)=(g)(45)whereEij=∫∇αi·μ·∇αj⁢dV(46)gi=-∫∇αi·μ·H⇀p⁢dV.(47)

[0127] Equation (45) can be viewed as a Laplace equation with conformal mesh.

[0128] Implementation of the Mortar method using equation (45) provides the following system matrix with nonconformal mesh.

[0129] The system matrix with nonconformal mesh based on mortar method can be:

[0130] [SI,ImSI,Γm000SΓ,ImSΓ,Γm00-MT00SΓ,ΓmSΓ,IsDT00SI,ΓsSI,Is00-MD00]⁢(ΩImΩΓmΩΓsΩIsλ)=(gm00gs0)(48)where

[0131] Skl=∫∇αk(r⇀)·μ⁡(r⇀)·∇αl(r⇀)⁢dV(49)gk=-∫∇αk(r⇀)·μ⁡(r⇀)·H⇀p(r⇀)⁢dV(50)Dkl=∫Γsβk(r⇀)⁢αls(r⇀)⁢d⁢ Γs(51)Mkl=∫Γsβk(r⇀)⁢αlm(r⇀)⁢d⁢ Γs(52)where l and k are node indices, D and M are coupling matrices, DT and MT are the transpose of D and M, the superscript m and s denotes “the master region” and “the slave region”.

[0132] The subscript I and Γ represent “inside the region” and “on the interface between master and slave region”.

[0133] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmdenote the magnetic scalar potential inside the slave region, on the slave side of the interface, inside the master region, on the master side of the interface respectively.

[0134] The requirements to implement the Mortar method as the Laplace equation requires some criteria to be imposed on , where the criteria are 1) =0 at edges of the interface, and 2) =0 at edges adjacent to edges of the interface.

[0135] From the above requirements, since =0 on the edges of the interface, has no contribution to

[0136] H⇀tm⁢ and⁢ H⇀ts,e.g.,

[0137] H⇀tm(r⇀)=H⇀ts(r⇀)=∇tΩ⁡(r⇀).(53)

[0138] Further, since =0 on the 1) edges of the interface, and 2) edges adjacent to the interface. has no contribution to

[0139] B⇀nm⁢ and⁢ B⇀ns

[0140] Bnm(r⇀)=μ⁡(r⇀)⁢∂Ωm(r⇀)∂n=λ⁡(r⇀)(54)Bns(r⇀)=μ⁡(r⇀)⁢∂Ωs(r⇀)∂n=λ⁡(r⇀).(55)

[0141] As a result,

[0142] Bnm(r⇀)=Bns(r⇀)=λ⁡(r⇀).(56)

[0143] Therefore, equations (53)-(56) satisfy the boundary conditions similar to equations (43)-(44). In this case, the system equation (45) for the mortar method applied to the T−Ω formulation with nonconformal mesh has the same form as the system equation (29) for mortar method for the T−Ω formulation with conformal mesh.

[0144] The system equation (45), however, can only be applied to less than 10% of the simulation for practical applications, because: 1) approximately 50% of real-world simulations includes eddy effect which is not handled by this implementation; 2) approximately 90% of real-world simulations includes circuit coupling which is not handled by this implementation; and 3) the requirement of =0 on the edges adjacent to the interface cannot be satisfied for approximately 20% of real-world simulations.Mortar Method in T−Ω Formulation with Nonconformal Mesh Involving Eddy Effect and Circuit Coupling Effects

[0145] For some embodiments, the Mortar method implementation is applied to equation (12) instead of equation (45). Notable challenges of this implementation includes: 1) Mortar method needs to be implemented in a system equation (12) with the combination of vector basis function and scalar basis function; 2) would include the components and ΣIwi to simulate the eddy effect and the circuit coupling effects; and 3) must be allowed to be nonzero on the edges adjacent to the interface. Since is nonzero at edges adjacent to the interface, will have contribution to

[0146] B⇀nm⁢ and⁢ B⇀ns.

[0147] For some embodiments, the disclosed mechanism can perform simulations based on the Mortar method using system matrix equation (12) without ignoring the and ΣIwi. The mechanism can be based on an updated system matrix:

[0148] [[S]+ddt[T]ddt[AIm]ddt[AΓm]ddt[AΓs]ddt[AIs]0ddt[C][AIm]T[EI,Im][EI,Γm]000[FIm][AΓm]T[EΓ,Im][EΓ,Γm]00-[K]T[FΓm][AΓs]T00[EΓ,Γs][EΓ,Is][L]T[FΓs][AIs]T00[EI,Γs][EI,Is]0[FIm]00-[K][L]000ddt[C]Tddt[FIm]Tddt[FΓm]Tddt[FΓs]Tddt[FIs]T0[G]+ddt[H]][TΩImΩΓmΩΓsΩIsλIwi]=(ddt⁢g1ddt⁢g2⁢Imddt⁢g2⁢Γmddt⁢g2⁢Γsddt⁢g2⁢Is0ddt⁢g3+Vi)(57)where the second last row in the system matrix corresponds to projecting of field values of mesh elements of the slave surface to mesh elements of the master surface, where

[0149] Ki⁢j=∫Γsβi·αjs⁢d⁢Γs(58)Li⁢j=∫Γsβi·αjm⁢d⁢Γs(59)

[0150] Here, matrices K and L have the physical interpretation of magnetic field coupling on the interface. Variables i and j are node indices, the superscript m and s denotes “the master region” and “the slave region”. The subscript I and Γ represent “inside the region” and “on the interface between master and slave region”.

[0151] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmdenote the magnetic scalar potential inside the slave region, on the slave side of the interface, inside the master region, on the master side of the interface respectively.

[0152] Other definitions of the matrix elements in equation (57) follows equations (13)-(23). Namely, the subscript (I, Γ) and superscript (s, m) in submatrix [A], [F], [E] and (g2) are denoted for the basis function of the magnetic scalar potential, e.g., a. In equations (58)-(59), βi can represent the scalar basis function for the Lagrange Multiplier λ which is defined on the slave side of the interface,

[0153] αjmcan represent the scalar basis function for Ωm defined on the master side of the interface, and

[0154] αjscan represent the scalar basis function for Ωs defined on the slave side of the interface.

[0155] The disclosed mechanism can perform the Mortar method subject to the requirements that =0, =0, =0 on the edges on the interface. Those terms can be nonzero on the edges adjacent to the interface.

[0156] In additional, boundary conditions (43)-(44) correspond to new boundary conditions (60)-(65) as follows. For example, since =0, =0, =0 on the edges on the interface, and have no contribution to

[0157] H⇀tm⁢ and⁢ H⇀ts,so that

[0158] H⇀tm(r⇀)=H⇀ts(r⇀)=∇tΩ⁡(r⇀)(60)

[0159] Since and can be nonzero on the edges adjacent to the interface, they have the contribution to

[0160] B⇀nm⁢ and⁢ B⇀ns,so that:

[0161] Bnm(r⇀)=μ⁡(r⇀)⁢(∂Ωm(r⇀)∂n+∑ iHwinm(r⇀)+Tnm(r⇀)+Hpnm(r⇀))(61)Bns(r⇀)=μ⁡(r⇀)⁢(∂Ωs(r⇀)∂n+∑ iHwins(r⇀)+Tns(r⇀)+Hpns(r⇀))(62)

[0162] In the system matrix equation (57), the existence of submatrix

[0163] [AΓm]T,[FΓm]⁢ and⁢ g2⁢Γminvalidates

[0164] μ⁡(r⇀)⁢∂Ωm(r⇀)∂n=λ⁡(r⇀).Instead,

[0165] μ⁡(r⇀)⁢(∂Ωm(r⇀)∂n+∑ iHwinm(r⇀)+Tnm(r⇀)+Hpnm(r⇀))=λ⁡(r⇀)(63)

[0166] Here, λ({right arrow over (r)}) not only includes the component

[0167] μ⁡(r→)⁢(∂Ωm(r→)∂n),but also includes the components

[0168] μ⁡(r→)⁢Tnm(r→),μ⁡(r→)⁢∑ i⁢Hw⁢i⁢nm(r→),and⁢ μ⁡(r→)⁢Hp⁢nm(r→)corresponding to the submatrix

[0169] [AΓm]T,[FΓm],and⁢ g2⁢Γmrespectively.

[0170] Similarly,

[0171] μ⁡(r→)⁢(∂Ωs(r→)∂n+∑ i⁢Hw⁢i⁢ns(r→)+Tns(r→)+Hp⁢ns(r→))=λ⁡(r→).(64)

[0172] Combine equations (61)-(64) provides:

[0173] B→nm(r→)=B→ns(r→)=λ⁡(r→)(65)

[0174] Thus, satisfying boundary conditions (60)-(65) is similar to satisfying the boundary conditions (43)(44).

[0175] The advantages of the system matrix (57) includes 1) the ability to solve the simulation with the combination of source current, eddy effect, and circuit coupling; 2) can be nonzero on the edges adjacent to the interface; 3) the symmetric matrix (57) allows solvers to process the computations efficiently in comparison to an unsymmetric matrix; and 4) simulation would cover 100% of real-world practical applications. In summary, unlike the point matching approach, system matrix (57) applied to simulation models with nonconformal mesh configurations can solve 100% of simulation scenarios with non-constant speed, or non-constant time step. Furthermore, simulations with a small time step or a slow speed need not configure (or reconfigure) the mesh to be very dense to capture a same threshold of accurate.

[0176] FIG. 4 is a flow diagram illustrating a process to prepare a simulation model for finite element simulation according to one embodiment. Process 400 may be performed by processing logic which may include software, hardware, or a combination thereof. For example, process 400 can be performed by system 104 of FIG. 1. Process 400 can generate system equations for finite element simulation.

[0177] Operation 402: processing logic determines the formula to simulate the motion with the combination of the current source, the eddy effect and the circuit coupling. Here, formula can be equation (57) as shown above.

[0178] Next, the Mortar Method with Time Differential Scheme is developed for simulation with motion.Mortar Method with Time Differential Scheme

[0179] As shown above, the Mortar Method can be used in the T−Ω formulation to handle problems with non-matching mesh interfaces between different Ω domains. When combined with a time differential scheme that discretizes the time domain, the same mechanism can be used to solve transient problems. The time differential scheme can be derived from an initial-value problem. For the equation of the initial-value problem:

[0180] C⁢y+U⁢d⁢ydt=P,y⁡(t0)=y0,t∈[t0,te⁢n⁢d](66)where y is a state variable at time t, y0 is the state variable at time t0, U is a matrix associated with conductivity that can be a constant or can depend on time or state variable y, C is a matrix that is nonlinear and can depend on state variable y, and P is a time variant source term that provides an input to the system.

[0181] Given the nonlinearity and time dependency, a numerical method can be used for the time differential scheme. For example, Backward Euler method can be used for the time differential scheme. In this case, after applying Backward Euler's method and using the Newton-Raphson method for the nonlinear iteration, one can derive:

[0182] (Uh+C)⁢Δ⁢ykn=P⁡(t,ykn-1)-C⁢ykn-1-Uh⁢ykn-1+Uh⁢yk-1(67)where

[0183] yknat the k-th time step and n-th iteration, h=tk−tk-1 be specified as the time step size, and

[0184] Δ⁢ykn=ykn-ykn-1can be the change in y from the previous iteration.

[0185] The iteration index n starts at 1 for the first iteration of the k=1 time step. The solution to y0 can be given or can be derived from a steady state simulation.

[0186] At the k-th time step, the solution of the previous time step,

[0187] ykn-1=yk0=yk-1can be used, and the equation for the first nonlinear iteration of the k-th time step is then:

[0188] (Uh+C)⁢Δ⁢yk1=P⁡(t,yk-1)-C⁢yk-1.(68)

[0189] Operation 404: processing logic determines the formula (e.g., equation (66-68)) to simulate the motion where a time derivative (dy / dt) is treated as a variable in time differential equations.

[0190] For some embodiments, the time differential scheme can be applied to the T−Ω formulation. In this case, matrix C can be system matrix

[0191] [Si,imSi,Γm000SΓ,imSΓ,Γm00-MT00SΓ,ΓsSΓ,isDT00Si,ΓsSi,is00-MD00],which contains the submatrices S, D, and M associated with unknowns on the sliding interface surface at stator side

[0192] ΩΓmand rotor side

[0193] ΩΓsas shown in equation (69).

[0194] [Si,imSi,Γm000SΓ,imSΓ,Γm00-MT00SΓ,ΓsSΓ,isDT00Si,ΓsSi,is00-MD00]⁢(ΩimΩΓmΩΓsΩisλ)=(gm00gs0).(69)

[0195] State variable y can be

[0196] (ΩimΩΓmΩΓsΩisλ),and⁢ P⁢ can⁢ be⁢ (gm00gs0).

[0197] Due to the different position of the rotor at various time steps, matrix C associated with unknowns

[0198] ΩΓscan change with each time step. To calculate term Cyk-1 in applying the mortar method to the time differential scheme, the matrix C of current time step needs to be multiplied with the solution yk-1 of the previous time step. Replace

[0199] Δ⁢yk1=(yk1-yk-1)in equation (68) provides:

[0200] Uh⁢(yk1-yk-1)+C⁡(yk1-yk-1)+C⁢yk-1=P⁡(t,yk-1)(70)

[0201] One can see that matrix C is time-dependent due to the rotor's position. Thus, at each time step k, C reflects the current configuration of the system rather than the previous state. The term

[0202] (yk1-yk-1)represents the change in the solution between the current time step and the previous time step. Thus, such a scheme can capture the dynamics of the rotating machine as the rotor of the rotating machine rotates over time.

[0203] For some embodiments, the time differential scheme can be applied to a magnetic vector potential (A)-electric scalar potential (phi) formulation. The A-Phi formulation is a mathematical approach used in electromagnetics, particularly for solving problems involving magnetic fields and vector potentials. The derivation for the A-phi formulation is as follows:

[0204] From the following Maxwell's equations, we have:

[0205] ∇×H=J(71)∇×E=-∂B∂t⁢∇·B=0⁢∇·J=0(72)

[0206] Let B=∇×A, then equation (71) can be specified as:

[0207] ∇×(v⁢∇×A)=J(73)and equation (72) can be specified as:

[0208] ∇×(E+∂A∂t)=0.(74)

[0209] Let

[0210] E+∂A∂f=-∇V(75)

[0211] Then, the current density can be specified as:

[0212] J=σ⁢E=σ⁡(-∂A∂t-∇V)(76)

[0213] The Formulation in 2 Dimensional space substitutes A=Az and J=Jz.

[0214] Next, from equation (73) and (76), we can specify:

[0215] -∇·(v⁢∇A)+σ⁢∂A∂t+σ⁢∂V∂z=0(77)

[0216] For a winding in 2D,

[0217] ∂V∂z=-Vl,where l is the winding length of a winding conductor in z-direction.

[0218] From the above definition, the winding current can be:

[0219] it=∫SJ⁢d⁢s=∫S(-σ⁢∂A∂t-σ⁢∂V∂z)⁢d⁢s=-∫Sσ⁢∂A∂t⁢d⁢s+∫Sσ⁢VA⁢Bl⁢d⁢s=-∫Sσ⁢∂A∂t⁢d⁢s+VA⁢B⁢σ⁢Slwhere VAB denotes the voltage drop between point A and point B, two ends of a conductor, and it denotes the total current through a particular conductor.

[0220] Next, we have

[0221] R⁢∫Sσ⁢∂A∂t⁢d⁢s+R⁢it=V(78)where R is the winding resistance,

[0222] R⁢∫Sσ⁢∂A∂t⁢d⁢sis the induced voltage, and V is the input voltage in one winding.

[0223] To have a symmetric stiffness matrix, let

[0224] iad=addition=∫Sσ⁢∂A∂t⁢ds.

[0225] Thus, the equations of the A-phi formula can be specified as:

[0226] {-∇·(v⁢∇A)+σ⁢∂ A∂ t-1S⁢iad-1S⁢it=0-1S⁢∫S∂ A∂ t⁢ds-Rl⁢it=Vl-1S⁢∫S∂ A∂ t⁢ds+Rl⁢iad=0(79)

[0227] Then we can obtain the matrix of equation (79), after finite element method (FEM) discretization is applied, to be:

[0228] [S11S12S130S22000S33] [Aitiad]+[M1100M12 TM220M13 T00] [dAdtditdtdiaddt]=[0-1l⁢V0](80)

[0229] When mortar method is applied, unknown A has four parts,

[0230] Ai s,AΓ s,Ai m⁢ and⁢ AΓ m,which can represent the magnetic vector potential inside the slave region, on the slave side of the interface, inside the master region, and on the master side of the interface, respectively. Then we have the following matrix.

[0231] [Si,i mSi,Γ m S12S13SΓ,i mSΓ,Γ m -M T SΓ,Γ sSΓ,i sD T Si,Γ sSi,i s -MD S22 S33]⁢ (Ai mAΓ mAΓ sAi sλitiad)+[M11i,i mM11i,Γ m M11Γ,i mM11Γ,Γ m M11Γ,Γ sM11Γ,i s M11i,Γ sM11i,i s M12 T M22 M13 T ]⁢ (dAi mdtdAΓ mdtdAΓ sdtdAi sdtλditdtdiaddt)=(00000-1l⁢V0)(81)

[0232] In this case, according to equation (66), matrix C can

[0233] be [Si,i mSi,Γ m S12S13SΓ,i mSΓ,Γ m -M T SΓ,Γ sSΓ,i sD T Si,Γ sSi,i s -MD S22 S33],which contains the submatrices S, D, and M associated with unknowns on the sliding interface surface. Matrix U can be system matrix

[0234] [M11i,i mM11i,Γ m M11Γ,i mM11Γ,Γ m M11Γ,Γ sM11Γ,i s M11i,Γ sM11i,i s M12 T M22 M13 T ],y⁢ can⁢ be⁢ (Ai mAΓ mAΓ sAi sλitiad),dydt⁢ can⁢ be⁢ (dAi mdtdAΓ mdtdAΓ sdtdAi sdtλditdtdiaddt),and⁢ Pcan be

[0235] (00000-1l⁢V0).D can represent Kij and M can represent Lij. Here, submatrix M is related to the sliding surface, whereas M11, M12, M13, and M22 are related to components of a conductivity matrix.

[0236] Thus, the simulation with motion can be perform with the time derivative

[0237] dydttreated as a variable in time differential equations.Calculation of the System Matrix

[0238] In the equation (57), the calculation of the submatrices can follow equations (13)-(23) except for the element

[0239] Lij=∫Γ sβi·αj m⁢d⁢Γ s.There are three difficulties in calculating this term: 1) βi is the scalar basis function defined on the slave surface mesh element and the is the scalar

[0240] αj mis the scalar basis function defined on the master surface mesh element. Since the master mesh and the slave mesh are non-conformal on the interface, calculation of this term is not trivial. 2) In the case of rotational movement, on the interface, surface 503 of the master mesh and surface 501 of the slave mesh are not on the same plane as shown in FIG. 5. 3) For some embodiments, if the field is periodic (which is true for most rotating machines), a partial model method or partial mesh method can be used to reduce the calculation domain so that the computation load can be reduced.

[0241] For some embodiments, a partial model method uses a periodic segment of the full simulation model as the simulation model. For some embodiments, a partial mesh method cuts the full calculation domain (360 degree) by some planar boundaries. In both cases, dependent / independent boundary conditions can be specified to map the field between the rotor and stator components, as in the example partial simulation model 600 with a range of [0, 90] degrees shown in FIG. 6. The rotor surface 501 and stator surface 503 of model 600 can correspond to the range of [0, 90] for segment 507 of FIG. 5.

[0242] In such cases, some or all of the slave surface mesh elements may be unable to locate a corresponding master surface mesh element for mapping. The situation is worse for the partial mesh method, where a repeated mesh is generated for the full model based on the periodicity of the field, and the simulation is conducted over just one period of the mesh. In this situation, locating a master surface mesh element for mapping becomes more complex, as the mesh region is not limited by planar boundaries and does not reside on a specific plane. FIG. 7 shows an example when the surface meshes at the interface are not confined to a particular angular. E.g., the stationary side surface mesh 701 of the coupling surface is not in a predefined range. The following 3 steps can address the above issues.Step 1. Processing Logic Rotates the Slave Surface Mesh Element to Touch the Master Region.

[0243] Operation 406: processing logic specifies the dependent / independent boundaries for the sliding interface as shown through the mapping of the dependent boundary to the independent boundary in FIG. 8.

[0244] Here, rotor mesh elements (dependent) can be specified to depend on the stator mesh elements (independent), or vice versa. Independent boundaries refer to the inputs or conditions that are defined by the user and do not depend on the solution of the finite element equations. These are typically the boundaries where external conditions are applied. Dependent boundaries are boundaries that are influenced by the solution of the finite element equations. These boundaries respond to the conditions set at independent boundaries and depend on the state of the system.

[0245] FIG. 8 is a top-down view for a 3D example of a simulation model for the rotational motion with dependent / independent boundaries. Referring to FIG. 8, model 600 can be a 90-degree quarter model cut from a full simulation model (such as model 1300 of FIG. 13). For the simulation with motion, rotor slave component 810 is rotatable around a center position of the rotor while the master stator component 820 is stationary. Slave 810 can include four surface mesh elements 801-807. Although slave 810 can include any number of surface mesh elements, for purpose of illustration, four slave surface mesh elements are used for the dependent / independent boundary mapping.

[0246] For each element at the slave surface, processing logic determines if the element belongs to one of three scenarios, the three scenarios being: a) the mesh element fully maps to the mesh elements at the master surface; b) the mesh element partially maps to the mesh elements at the master surface; and c) the mesh element does not map to any mesh elements at the master surface.

[0247] Here, elements 805, 807 can be fully mapped to a surface of the master region at 815, 817. Elements 805, 807 thus do not need to move / rotate. Element 801 does not map to any master region, so element 801 needs to be rotated clockwise by some multiple of the angle of the cut (90 degrees), e.g., 90, 180, 270 degrees, until element 801 maps to the master region. Element 801 rotated 90 degrees clockwise would derive element 821. Element 821 full maps to the master region at 811, thus, the angle to rotate is 90 degrees clockwise.

[0248] Element 803 maps to the master region partially. Here, processing logic maps partial region (part a) of element 803 to part a′ (813) of the master region. Since there is only a partial mapping, element 803 needs to be rotated clockwise by some multiple of the periodicity until the remaining region of element 803 maps to the master region. Here, processing logic rotating element 803 by 90 degrees clockwise derives element 823. Processing logic then maps part b of element 823 to part b′ of the master region. That is, the mapping of element 803 would be calculated twice. In the first calculation, element 803 does not move and processing logic maps part a of element 803 to part a′ of master region. In the second calculation, processing logic calculates a rotational angle for the element 803 to derive element 823. Processing logic then maps part b of element 823 to b′ (819) of master region.

[0249] In summary, for each slave surface mesh element, processing logic calculates two values: 1) how many times it needs to be mapped. 2) the angles needed to rotate for each mapping.

[0250] For the partial mesh method, since the mesh is not confined to a region by angular angles as shown in FIG. 7, processing logic determines a maximum and a minimum angle of the master surface mesh. Processing logic determines an enlarged master region using these two angles. Then for each slave surface mesh element, processing logic calculates the above mentioned two values based on the enlarged master region, 1) how many times an element needs to be mapped; and 2) the angle the element needs to rotate for each mapping. Using the above mapping for the sliding slave surface elements, processing logic can specify the boundary conditions for the interface surfaces, e.g., slave surface is specified to depend on the master region, or vice versa, through boundary conditions equations, such as boundary conditions (60)-(65).Step 2. For Each Slave Surface Mesh Element, Processing Logic Searches for the Potential Master Surface Mesh Elements to Map to.

[0251] For one approach, for each slave surface mesh element, processing logic loops through all the master surface mesh elements and checks whether two surface mesh elements overlap one by one. The issue with this approach is that the computation time used to check whether two surface mesh elements overlap is very long. This step can be improved by the following search algorithms.

[0252] For some embodiments, for each slave surface mesh element, processing logic filters out all the master surface mesh elements which must not overlap with the slave mesh element. For an embodiment, processing logic generates a bounding box of each of the surface mesh elements based on x, y, z coordinates of the surface.

[0253] For the 3D configuration, when the mesh elements are tetrahedra, three coordinates for the triangle face on the interface can be used to calculate the coordinates for the bounding box. For example, if the master surface triangle on the interface has coordinates M0(xm0, ym0, zm0), M1(xm1, ym1, zm1), M2(xm2, ym2, zm2), then the coordinates of the eight nodes of the 3D bounding box for the master surface triangle are R0(xmin,ymin,zmin), R1(xmax,ymin,zmin), R2(xmax,ymax,zmin), R3(xmin,ymax,zmin), R4(xmin,ymin,zmax), R5(xmax,ymin,zmax), R6(xmax,ymax,zmax), and R7(xmin,ymax,zmax), where xmin=min(xm0, xm1, xm2), xmax=max(xm0, xm1, xm2), ymin=min(ym0, ym1, ym2), ymax=max(ym0, ym1, ym2), and zmin=min(zm0, zm1, zm2), zmax=max(zm0, zm1, zm2). A 3D bounding box for a slave surface triangle can be derived in the same way. For hexahedron mesh elements, the bounding box can be calculated in the same way.

[0254] For each slave surface mesh element, processing logic then compares the slave bounding box (e.g., bounding box for the slave surface mesh element) to each of the master bounding boxes (e.g., bounding boxes of the master surface mesh elements) to determine the potential master surface mesh elements that the slave surface mesh element can map to, by checking whether the bounding boxes overlap. The overlap can be checked using the x, y, z coordinates of the bounding boxes. If the bounding boxes of the two surface mesh elements do not overlap, processing logic continues to the next slave surface mesh element. If the bounding boxes of the two surface mesh elements overlap, processing logic marks the pair of surface mesh elements for computation of the field coupling matrices, e.g., matrix Lij. Since checking of the overlap of the bounding boxes is much faster than checking the overlap of the mesh elements, the simulation time can be reduced substantially.

[0255] In the case of rotational motion, the master and slave surface mesh might not be on the same plane. When the mesh size is small, the slave surface mesh element 901 and master surface mesh elements 913-915 could be seen as far away compared to their mesh sizes, as shown in FIG. 9. In such case, filtering of the master surface mesh elements using x, y, z coordinates of the bounding boxes could lead to inaccuracies.

[0256] For some embodiments, the slave and master bounding boxes 921-925 are calculated based on angular coordinates θ and axial coordinates z of the slave and master surface elements. By doing so, the bounding box of the small mesh elements shown in FIG. 9 still overlap even if they are far away compared to their sizes.

[0257] In this case, the master surface triangle on the interface with coordinates M0(xm0, ym0, zm0), M1 (xm1, ym1, zm1), M2(xm2, ym2, zm2), can be written in the (O, z) form as: R0(θmin, zmin), R1(θmax, zmin), R2(θmin, zmax), R3(max, zmax), where zmin=min(zm0, zm1, zm2), zmax=max(zm0, zm1, zm2), x=r*cos θ, y=r*sin θ, where r is the radial distance from the rotor center to a point on the surface element. For hexahedron mesh elements, the bounding box can be calculated in the same way.

[0258] For each slave surface mesh element, processing logic then compares the slave bounding box (e.g., bounding box for the slave surface mesh element) to each of the master bounding boxes (e.g., bounding boxes of the master surface mesh elements) to determine the potential master surface mesh elements that the slave surface mesh element can map to. The comparison can be performed by extending the rotor (θ, z) coordinates radially to the stator (θ, z) coordinates, or vice versa, via the equation θs=(rs)*(θm / rm), (assuming r>>θ), where superscript m and s denotes master and slave respectively. Processing logic checks whether the two bounding boxes overlap. If the bounding boxes of the two surface mesh elements do not overlap, processing logic continues to the next slave surface mesh element. If the bounding boxes of the two surface mesh elements overlap, processing logic marks the pair of surface mesh elements for computation of the field coupling matrices, e.g., matrix Lij. Since checking of the overlap of the bounding boxes is much faster than checking the overlap of the surface mesh elements, the simulation time can be reduced substantially.

[0259] Operation 408: for each mesh element on the moving side of the interface, processing logic searches for the mesh element on the stationary side of the interface in a robust way, as described above using (θ, z) coordinates.

[0260] Note that throughout this application, surface mesh element refers to the 2D mesh surface on the rotor-stator interface for a 3D mesh element. A 3D tetrahedron mesh element would have a triangle face (e.g., triangle surface mesh element) on the interface. A 3D hexahedron mesh element would have a quadrilateral face (e.g., quadrilateral surface mesh element) on the interface, etc.Step 3. Processing Logic Calculates the Matrix Term by Projection and Numerical Integration.

[0261] Operation 410: Processing logic calculates a matrix element Lij on the non-conformal and non-coplanar mesh as further described below.

[0262] After identifying the potential master surface mesh elements to which each slave surface mesh element can be mapped, the matrix term

[0263] Lij=∫Γ sβi·αj m⁢d⁢Γ scan be calculated. In this matrix term, the respective scalar basis function βi and

[0264] αj mare defined on the slave surface mesh element and the master surface mesh element which are non-conformal to each other. This complicates the integration process with rotational motion since the slave and master mesh are not situated on the same plane.

[0265] The workflow below can be used to calculate the matrix term Lij.

[0266] FIG. 10 is a flow diagram illustrating an example process for surface mesh element projection according to one embodiment. Process 1000 may be performed by processing logic which may include software, hardware, or a combination thereof. For example, process 1000 can be performed by system 104 of FIG. 1.

[0267] Operation 1002: processing logic projects, orthogonal to the master surface, a slave mesh element at the slave surface to a master mesh element at the master surface.

[0268] Here, the slave surface mesh element needs to be mapped to the master surface mesh elements. As shown in FIG. 11A, due to the curvature of the rotor-stator interface, the master surface mesh elements, e.g., shown as b and c, are not on a same plane. Note that for ease of illustration, FIG. 11A shows a 2D diagram with lines for the surface mesh elements to demonstrate the projections. Here, each 2D line can correspond to a triangle surface on the rotor-stator interface.

[0269] Referring to FIG. 11A, rotor-stator interface 505 includes slave surface mesh element a at the slave surface, and master surface mesh elements b and c at the master surface that element a should map to. Surface mesh elements a, b, and c can correspond to triangular surfaces on the rotor-stator interface when these mesh elements are 3D tetrahedra. In this case, element a (slave mesh element) should be projected to the plane of element b and the plane of element c separately as shown in FIG. 11B. For an embodiment, the projection is an orthogonal projection in a normal direction of the master region. That is, the projected element denoted as a(b) is in a normal direction to the plane of element b and projected element a(c) is in a normal direction to the plane of element c.

[0270] Operation 1004: Processing logic determines an overlapping region based on the projected slave mesh element and the master mesh element.

[0271] Here, as shown in FIG. 11C, processing logic calculates the overlapping surface (e.g., overlapping region) of elements b and a(b) as ab and the overlapping surface (e.g., overlapping region) of elements c and a(c) as ac. Note that the calculation of the overlap is different for different types of surface elements. Here, when the mesh elements are tetrahedra, the surface elements a, b, c, a(b) and a(c) are triangles. The overlapping surface of the two triangles (e.g., a and a(b)) can be represented as the union of the inner triangles (e.g., ab) as shown in FIG. 12. Here, the numerical integration of Lij can be calculated for the overlap using the scalar basis function βi and

[0272] αj mand the coordinates of the slave and master surface mesh elements. For an embodiment, the numerical integration of Lij can be calculated using quadrature points of the overlapping region.

[0273] Referring to FIG. 11C, the overlap of c and a(c) are denoted as element ac, the overlap of b and a(b) are denoted as element ab. For triangular surface mesh element, ab (or ac) can correspond to the union of triangles 1201-1207 in FIG. 12. For each of the quadrature points 1209 of the triangles 1201-1207 of ab in FIG. 12, the local coordinate and weight of the quadrature point in both element b and a(b) are calculated. Similarly, for each quadrature point of the triangles in ac, the local coordinate and weight of the quadrature point in element c and a(c) are calculated.

[0274] Operation 1006: Processing logic determines an image for the overlapping region projected back to the slave surface.

[0275] Here, the overlapped element ab and ac are projected back to slave surface mesh element a as shown in FIG. 11D. The projected elements (e.g., images) are denoted as ab(a) and ac(a). All the quadrature points of ab and ac are also projected to element a. The local coordinates and weights of quadrature points in ab(a) to element a should equal the local coordinates and weights of quadrature points in ab to element a(b). Similarly, the local coordinates and weights of quadrature points in ac(a) to element a should equal the local coordinates and weights of quadrature points in ac to element a(c).

[0276] Note that the above projection describes the slave surface mesh elements being projected onto the master region. For some embodiments, the project can be performed in the opposite direction, e.g., the master surface mesh elements are initially projected onto the slave region. Thereafter, the overlapping region of the projected master element and the slave elements is determined with respect to the slave region. The quadrature points of the overlapping region at the slave region are then used to perform the numerical integration in the next operation.

[0277] Operation 1008: Processing logic calculates the numerical integration based on quadrature points corresponding to the image.

[0278] With the above calculated quadrature points in slave surface mesh element, the matrix term

[0279] Lij=∫Γ sβi·αj m⁢d⁢Γ scan be calculated. For example, if βi corresponds to element a, and

[0280] αj mcorresponds to element b, then the quadrature points of ab(a) is used for the numerical integration. For each quadrature point, the local coordinate of the quadrature point in element a is used to calculate βi, the local coordinate of the quadrature point in element b is used to calculate

[0281] αjm,the numerical integration is calculated from the weights of the quadrature points in element a. The following is a summary of the numerical calculations for tetrahedra mesh elements with triangle surfaces. Although tetrahedra mesh is shown for purpose of illustration, the mesh of a three dimensional (3D) model can include pentahedron, hexahedron, prism, pyramid elements, or any other shaped elements. For some embodiments, the simulation model is two-dimensional (2D) and the mesh elements can include triangular or quadrilateral shaped mesh elements, etc., or the simulation model is 1D and the mesh element can include a line.

[0282] An example calculate for

[0283] Lij=∫ Γsβi·αjm⁢d⁢Γsis as follows.

[0284] Given master triangle Tm with the location of the vertex as and the slave triangle Ts with the location of the vertex as where is the 3D vector (=(x, y, z)) representing the location of the vertex, we need to integrate Lij numerically on the slave triangle on N quadrature points as show below:

[0285] Lij=∑ k=1N⁢βi(ζ<semantics definitionURL="">→<annotation encoding="Mathematica">"\[Rule]"< / annotation>< / semantics>sk)⁢αjm(ζ<semantics definitionURL="">→<annotation encoding="Mathematica">"\[Rule]"< / annotation>< / semantics>mk)⁢wsk(82)

[0286] So, one needs to calculate the local coordinates of the quadrature points on master triangle and slave triangle and the weight of the quadrature points (wsk) on the slave triangle.

[0287] First, we need to project the slave triangle Ts to the plane of the master triangle Tm. The is the new locations of the vertex of the projected slave triangle Ts′.

[0288] Then we need to calculate the overlap of the Ts′ and Tm, The overlap of the Ts′ and Tm is represented as the union of Nt overlap triangles To1, To2, . . . . ToN<sub2>t < / sub2>. . . . For some embodiments, Nt=4. For each triangle, we can choose 6 Gauss quadrature points for the numerical integration. When using Gauss quadrature for numerical integration over each triangle, selecting 6 Gauss quadrature points can achieve good accuracy. The κ points can be the 3 vertices and the 3 midpoints of the edges of the triangle (1, 0, 0), (0, 1, 0) and (0, 0, 1). Each point can have a correspond weight. In one embodiment, the local coordinates and the weights of the quadrature points can be:

[0289] ζ⇀0=(0.816847572980459,0.091576213509771,0.091576213509771)⁢ζ⇀1=(0.091576213509771,0.816847572980459,0.091576213509771)⁢ζ⇀2=(0.091576213509771,0.091576213509771,0.816847572980459)⁢ζ⇀3=(0.10810301816807,0.445948490915965,0.445948490915965)⁢ζ⇀4=(0.445948490915965,0.10810301816807,0.445948490915965)⁢ζ⇀5=(0.445948490915965,0.445948490915965,0.10810301816807)⁢w0=0.054975871827661⁢w1=0.054975871827661⁢w2=0.054975871827661⁢w3=0.111690794839005⁢w4=0.111690794839005⁢w5=0.111690794839005

[0290] Now that we have 6Nt quadrature points with 6 quadrature points on each of the Nt overlap triangles Tol, we can calculate the local coordinates of each quadrature point on master triangle and slave triangle.

[0291] Assume kth quadrature point is on the overlap triangle Tol, its local coordinate is and the weight is wk. At first, we can calculate the global coordinate of the quadrature point by and location of the overlap triangle Tol, by the following:

[0292] r⇀qk=Flocal-⁢to-⁢global(Tol,ζ⇀k)(83)where l is an index from 1 . . . . Nt.

[0293] Then we can calculate the local coordinates of the quadrature point on master triangle Tm and projected slave triangle Ts′ as:

[0294] ζ⇀mk=Flocal-⁢to-⁢global(Tm,r⇀qk)(84)ζ⇀sk′=Flocal-⁢to-⁢global(Ts′,r⇀qk)(85)

[0295] If the area of the overlap triangle Tor and projected slave triangle Ts′ are ST<sub2>ol < / sub2>and ST<sub2>s′< / sub2>, then the weight of the quadrature point on the projected slave triangle is

[0296] wsk′=wk⁢STolSTs′(86)

[0297] We can apply the formulas (84)-(86) for each of the 6Nt quadrature points. Now we have and wsk′ for each quadrature point.

[0298] In the next step, we can calculate the local coordinate and weight of each quadrature point in slave triangle Ts instead of Ts′ using the equation:

[0299] ζ<semantics definitionURL="">→<annotation encoding="Mathematica">"\[Rule]"< / annotation>< / semantics>sk=ζ<semantics definitionURL="">→<annotation encoding="Mathematica">"\[Rule]"< / annotation>< / semantics>sk′,wsk=wsk′⁢STsSTs′

[0300] Now we have all the parameters needed for formula (82). Using formula (82), processing logic can perform the numerical integration for Lij each pair of slave surface mesh element and their potential master surface mesh elements on the interface.

[0301] Note that if the master surface and the slave surface are on the same plane (e.g., coplanar), then the calculations related to the projections of fields from the slave surface to master surface and vice versa can be skipped. Although 6 quadrature points for the gaussian quadrature technique is shown for the numerical integration, other implementations can use a different number of quadrature points, e.g., 1, 3, 9, etc. or use different techniques (Newton-Cotes Formulas, Monte Carlo Integration, Adaptive Quadrature, etc.).

[0302] A rotating machine 1300 is shown in FIG. 13. A finite element simulation for machine 1300 can demonstrate improvements in the simulation results. Here, the cogging torque of machine 1300 depends on the accuracy of the magnetic field simulation. The cogging torque, being a function of the magnetic potential (e.g., Ω) of the rotating machine, should: 1) have no DC component, 2) be periodic and, 3) be smooth.

[0303] In this case, the rotor half of the machine rotates so that the interface of the moving component and the stationary component should be a circle on the xy plane.

[0304] With the point matching mapping algorithm, the cogging torque simulation results 1400 are shown in FIG. 14, where the cogging torque is not smooth and not periodic over the simulation time interval. Cogging torque is the torque that occurs in a motor or generator when it is stationary, caused by the interaction between the rotor and the stator. Cogging torque can prevent smooth rotation and is undesirable in many industrial applications.

[0305] Referring to FIG. 15, using a same simulation model for the rotating machine with the mortar method approach, the cogging torque simulation results 1500 can be obtained, where the cogging torque result has no DC component, is periodic and smooth.

[0306] FIG. 16 is a flow diagram illustrating an example process according to one embodiment. Process 1600 may be performed by processing logic which may include software, hardware, or a combination thereof. For example, process 1600 can be performed by system 104 of FIG. 1.

[0307] At block 1602, processing logic receives a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator.

[0308] For example, a simulator of system 104 can receive a simulation model, such as model 1300 of FIG. 13, for a finite element model simulation. Model 1300 can represent a 3D rotating machine model composed of hundreds of thousands of mesh elements. For some embodiments, the simulation can be a 2D model.

[0309] At block 1604, processing logic generates a T−Ω formulation (e.g., equation (57)) for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents (e.g., T in equation (57)).

[0310] At block 1606, processing logic simulates the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method.

[0311] For example, processing logic calculates each of the submatrices of equation (57) and solves for the magnetic scalar potential

[0312] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmvalues.

[0313] At block 1608, the simulation includes projecting field values of mesh elements of the slave surface to mesh elements of the master surface (or vice versa).

[0314] For example, from second last row of equation (57), one can derive

[0315] -[K]⁢ΩΓm+[L]⁢ΩΓs=0that relates the magnetic potential field values of mesh elements from the slave surface Γs to mesh elements of the master interface Γm. Simulating the projection of the field values includes calculating the Kij and Lij for the field relationship.

[0316] At block 1610, the simulation includes performing numerical integration, e.g.,

[0317] Lij=∫ Γsβi·αjm⁢d⁢Γs,for mesh elements at the slave surface to project the field values.

[0318] At block 1612, processing logic determines the physical behaviors of the rotating machine based on results of the simulation, the physical behaviors including electromagnetic fields, e.g., the magnetic scalar potential

[0319] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmvalues.

[0320] For an embodiment, determining the physical behaviors of the rotating machine further includes determining a cogging torque (e.g., cogging torque 1500 of FIG. 15) of the rotating machine based on magnetic potentials (e.g., the magnetic scalar potential

[0321] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmvalues) of the rotor and stator of the rotating machine.

[0322] For an embodiment, processing logic further receives a full mesh model (e.g., 1300 of FIG. 13) for finite element simulation of the rotating machine, the simulation model being a partial model (e.g., model 600 of FIG. 6) for finite element simulation determined based on a periodic segment of the full mesh model (e.g., model 1300 of FIG. 13).

[0323] For an embodiment, processing logic further specifies interface boundaries (e.g., shown in FIGS. 10 and 11A-11D) for the simulation model such that the simulation model is representative of the full mesh model.

[0324] For an embodiment, the slave surface of the rotor is subject to rotational motion along the interface at different simulation time steps. Here, the simulation model can be configured to have the rotor rotate under the time differential scheme. The k-th time step can be specified by tk, and the time step size being h=tk−tk-1.

[0325] For an embodiment, projecting field values of mesh elements of the slave surface to mesh elements of the master surface includes, for each element at the slave surface, determining the element belongs in one of three scenarios (as shown in FIG. 8), the three scenarios being: a) the mesh element fully maps to the mesh elements at the master surface; b) the mesh element partially maps to the mesh elements at the master surface; and c) the mesh element does not map to any mesh elements at the master surface.

[0326] For an embodiment, when the mesh element fully maps to any mesh elements at the master surface, the system determines that no rotation of the rotor component is needed for the mesh element for the field value projection of the mesh element, and projects the field value of the mesh element to the mesh elements at the master surface.

[0327] For an embodiment, when the mesh element partially maps to any mesh elements at the master surface, the system projects the field value of the mesh element to the mesh elements at the master surface for a partially mapped portion of the mesh element. The system determines a periodicity of the periodic segment of the full mesh model, derives a rotated mesh element corresponding to a remainder portion of the mesh element based on the periodicity, and projects the field value of the rotated mesh element to the mesh elements at the master surface.

[0328] For an embodiment, when the mesh element does not map to any mesh elements at the master surface, the system determines a periodicity of the periodic segment of the full mesh model. the system derives a rotated mesh element based on the periodicity, and projects the field value of the rotated mesh element to the mesh elements at the master surface.

[0329] For an embodiment, the T−Ω formulation further includes effects of circuit coupling (e.g., Iwi in equation (57) for the ΣIwi component) from a number of winding circuits of the rotating machine.

[0330] For an embodiment, projecting field values of mesh elements of the slave surface to mesh elements of the master surface further includes, for each element at the slave surface, searching for one or more mesh elements at the master surface that maps to the mesh element.

[0331] For an embodiment, searching for one or more mesh elements at the master surface that maps to the mesh element further includes determining a plurality of bounding boxes corresponding to the mesh elements at the slave surface and the master surface; for each of the mesh elements at the slave surface, determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface; and if bounding boxes of two mesh elements overlap, determining that their corresponding mesh elements potentially overlap.

[0332] For an embodiment, determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface further includes specifying the plurality of bounding boxes with an angular coordinate θ and an axial coordinate z (as shown in FIG. 9). The two bounding boxes overlap when the two bounding boxes have an overlap in their radial angles and z axial coordinates.

[0333] For an embodiment, performing numerical integration for mesh elements at the slave surface includes, for two mesh elements with bounding boxes that overlap, performing the numerical integration for an overlapping region of the two mesh elements. Performing the numerical integration includes projecting, orthogonal to the master surface, a slave mesh element at the slave surface to a master mesh element at the master surface; determining the overlapping region based on the projected slave mesh element and the master mesh element; and determining an image for the overlapping region projected back to the slave surface. The numerical integration is performed based on quadrature points corresponding to the image.

[0334] For an embodiment, the overlapping region corresponds to one or more surface triangles (e.g., 1201-1207 of FIG. 12) when the two mesh elements are tetrahedra and the quadrature points (e.g., 1209 of FIG. 12) correspond to the surface triangles in the image.

[0335] For an embodiment, for each of the quadrature points, the system determines a local coordinate of the quadrature point with respect to the slave surface to calculate βi. The system determines a coordinate for the quadrature point with respect to the master surface to calculate

[0336] αjm.The numerical integration is performed based on a weight of the quadrature points with respect to slave surface, and the βi and the

[0337] αjmof the quadrature points.

[0338] The methods and systems described herein may be implemented using any suitable processing system with any suitable combination of hardware, software and / or firmware, such as described below with reference to the non-limiting examples of FIGS. 1 and 18A-18C.

[0339] FIG. 17 is a flow diagram illustrating an example process according to one embodiment. Process 1700 may be performed by processing logic which may include software, hardware, or a combination thereof. For example, process 1700 can be performed by system 104 of FIG. 1.

[0340] At block 1702, processing logic determines a time differential scheme (e.g., equation (70)) with mortar method for a T−Ω formulation (e.g., equations (12), (57), or (69)).

[0341] At block 1704, processing logic determines an initial solution (e.g., y0=yk-1 when k=1) for the physical behaviors of the rotating machine under the T−Ω formulation at a first time step (e.g., to when k=1).

[0342] Here, the initial solution can be the magnetic scalar potential

[0343] ΩIs,ΩΓs,ΩIm⁢ and⁢ ΩΓmvalues at block 1612 of FIG. 16 from simulation results.

[0344] At block 1706, processing logic determines a change in the solution (e.g.,

[0345] Δ⁢yk1=(yk1-yk-1))for a next time step by applying the time differential scheme (e.g., equation (70)) to a configuration of the rotating machine at the next time step (e.g., matrices C and / or U determined for any rotation of the rotor at the next time step) and a current solution at a previous time step (yk-1), the current solution being the initial solution (y0) at the first time step (k=1).

[0346] For an embodiment, processing logic further derives a time variant portion of the T−Ω formulation (e.g., the submatrices without d / dt in the system matrix of equations (12), (57) or (69)) and a time invariant portion of the T−Ω formulation (e.g., the submatrices with d / dt in the system matrix of equations (12), or (57)), where the time differential scheme is applied separately to the time variant portion of the T−Ω formulation (e.g., C in equation (70)) than the time invariant portion of the T−Ω formulation (e.g., M in equation (70)). E.g., the T−Ω formulation has components that varies with time and components that is invariant with time.

[0347] For an embodiment, the configuration of the rotating machine at the next time step is specified by a submatrix (e.g., the submatrices S, D, and M for the system matrix of equation (69)) of the T−Ω formulation corresponding to the next time step. Here, the system matrix in the T-Q formulation would change when rotor is moved in a different position at a next time step.

[0348] The methods and systems described herein may be implemented using any suitable processing system with any suitable combination of hardware, software and / or firmware, such as described below with reference to the non-limiting examples of FIGS. 1 and 18A-18C.

[0349] FIGS. 18A-18C depict example systems for use in implementing a system according to some embodiments. For example, FIG. 18A depicts an exemplary system 200 that includes a standalone computer architecture where a processing system 202 (e.g., one or more computer processors) includes a system 204 being executed on it. The processing system 202 has access to a non-transitory computer-readable memory 206 in addition to one or more data stores 208. The one or more data stores 208 may contain first data 210 as well as second data 212.

[0350] FIG. 18B depicts a system 220 that includes a client server architecture. One or more user PCs 222 accesses one or more servers 224 running a system 226 on a processing system 227 via one or more networks 228. The one or more servers 224 may access a non-transitory computer readable memory 230 as well as one or more data stores 232. The one or more data stores 232 may contain first data 234 as well as second data 236.

[0351] FIG. 18C shows a block diagram of exemplary hardware for a standalone computer architecture 250, such as the architecture depicted in FIG. 18A, that may be used to contain and / or implement the program instructions of system embodiments of the present invention. A bus 252 may serve as the information highway interconnecting the other illustrated components of the hardware. A processing system 254 labeled CPU (central processing unit) (e.g., one or more computer processors), may perform calculations and logic operations required to execute a program. A non-transitory computer-readable storage medium, such as read only memory (ROM) 256 and random access memory (RAM) 258, may be in communication with the processing system 254 and may contain one or more programming instructions. Optionally, program instructions may be stored on a non-transitory computer-readable storage medium such as a magnetic disk, optical disk, recordable memory device, flash memory, or other physical storage medium. Computer instructions may also be communicated via a communications signal, or a modulated carrier wave, e.g., such that the instructions may then be stored on a non-transitory computer-readable storage medium.

[0352] A disk controller 260 interfaces one or more optional disk drives to the system bus 252. These disk drives may be external or internal floppy disk drives such as 262, external or internal CD-ROM, CD-R, CD-RW or DVD drives such as 264, or external or internal hard drives 266. As indicated previously, these various disk drives and disk controllers are optional devices.

[0353] Each of the element managers, real-time data buffer, conveyors, file input processor, database index shared access memory loader, reference data buffer and data managers may include a software application stored in one or more of the disk drives connected to the disk controller 260, the ROM 256 and / or the RAM 258. Preferably, processor 254 may access each component as required.

[0354] A display interface 268 may permit information from bus 256 to be displayed on display 270 in audio, graphic, or alphanumeric format. Communication with external devices may optionally occur using various communication ports 272.

[0355] In addition to the standard computer-type components, the hardware may also include data input devices, such as a keyboard 272, or other input device 274, such as a microphone, remote control, pointer, mouse, touchscreen and / or joystick.

[0356] This written description describes exemplary embodiments of the invention, but other variations fall within scope of the disclosure. For example, the systems and methods may include and utilize data signals conveyed via networks (e.g., local area network, wide area network, internet, combinations thereof, etc.), fiber optic medium, carrier waves, wireless networks, etc. for communication with one or more data processing devices. The data signals can carry any or all of the data disclosed herein that is provided to or from a device.

[0357] The methods and systems described herein may be implemented on many different types of processing devices by program code comprising program instructions that are executable by the device processing system. The software program instructions may include source code, object code, machine code, or any other stored data that is operable to cause a processing system to perform the methods and operations described herein. Any suitable computer languages may be used such as C, C++, Java, etc., as will be appreciated by those skilled in the art. Other implementations may also be used, however, such as firmware or even appropriately designed hardware configured to carry out the methods and systems described herein.

[0358] The systems' and methods' data (e.g., associations, mappings, data input, data output, intermediate data results, final data results, etc.) may be stored and implemented in one or more different types of computer-implemented data stores, such as different types of storage devices and programming constructs (e.g., RAM, ROM, Flash memory, flat files, databases, programming data structures, programming variables, IF-THEN (or similar type) statement constructs, etc.). It is noted that data structures describe formats for use in organizing and storing data in databases, programs, memory, or other non-transitory computer-readable media for use by a computer program.

[0359] The computer components, software modules, functions, data stores and data structures described herein may be connected directly or indirectly to each other in order to allow the flow of data needed for their operations. It is also noted that a module or processor includes but is not limited to a unit of code that performs a software operation and can be implemented for example as a subroutine unit of code, or as a software function unit of code, or as an object (as in an object-oriented paradigm), or as an applet, or in a computer script language, or as another type of computer code. The software components and / or functionality may be located on a single computer or distributed across multiple computers depending upon the situation at hand.

[0360] It should be understood that as used in the description herein and throughout the claims that follow, the meaning of “a,”“an,” and “the” includes plural reference unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise. Finally, as used in the description herein and throughout the claims that follow, the meanings of “and” and “or” include both the conjunctive and disjunctive and may be used interchangeably unless the context expressly dictates otherwise; the phrase “exclusive or” may be used to indicate situation where only the disjunctive meaning may apply.

Claims

1. A machine-implemented method, comprising:receiving a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator, the simulation model including mesh elements representing the rotor and the stator;generating an electric vector potential-magnetic scalar potential (T−Ω) formulation for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents;simulating the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method, wherein the simulation comprises:projecting field values of mesh elements of the slave surface to mesh elements of the master surface, or projecting field values of mesh elements of the master surface to mesh elements of the slave surface;performing numerical integration for mesh elements at the slave surface to project the field values; anddetermining the physical behaviors of the rotating machine based on results of the simulation, the physical behaviors including electromagnetic fields from effects of eddy currents.

2. The method of claim 1, wherein determining the physical behaviors of the rotating machine further comprises determining a cogging torque of the rotating machine based on magnetic potentials of the rotor and stator of the rotating machine.

3. The method of claim 1, further comprising receiving a full mesh model for finite element simulation of the rotating machine, the simulation model being a partial model for finite element simulation determined based on a periodic segment of the full mesh model.

4. The method of claim 3, further comprising specifying interface boundaries for the simulation model such that the simulation model is representative of the full mesh model.

5. The method of claim 4, wherein the slave surface of the rotor is subject to rotational motion along the interface at different simulation time steps, wherein projecting field values of mesh elements of the slave surface to mesh elements of the master surface further comprises:for each element at the slave surface, determining the element belongs in one of three scenarios, the three scenarios being:a) the mesh element fully maps to the mesh elements at the master surface;b) the mesh element partially maps to the mesh elements at the master surface; andc) the mesh element does not map to any mesh elements at the master surface.

6. The method of claim 5, wherein projecting field values of mesh elements of the slave surface to mesh elements of the master surface comprises:when the mesh element fully maps to any mesh elements at the master surface,determining that no rotation of the rotor component is needed for the meshelement for the field value projection of the mesh element; andprojecting the field value of the mesh element to the mesh elements at the master surface.

7. The method of claim 6, wherein projecting field values of mesh elements of the slave surface to mesh elements of the master surface comprises:when the mesh element partially maps to any mesh elements at the master surface,projecting the field value of the mesh element to the mesh elements at the master surface for a partially mapped portion of the mesh element;determining a periodicity of the periodic segment of the full mesh model;deriving a rotated mesh element corresponding to a remainder portion of the mesh element based on the periodicity; andprojecting the field value of the rotated mesh element to the mesh elements at the master surface.

8. The method of claim 7, wherein projecting field values of mesh elements of the slave surface to mesh elements of the master surface comprises:when the mesh element does not map to any mesh elements at the master surface, determining a periodicity of the periodic segment of the full mesh model; andderiving a rotated mesh element based on the periodicity; andprojecting the field value of the rotated mesh element to the mesh elements at the master surface.

9. The method of claim 1, the T−Ω formulation further including effects of circuit coupling from a plurality of winding circuits of the rotating machine.

10. The method of claim 1, wherein projecting field values of mesh elements of the slave surface to mesh elements of the master surface further comprises:for each element at the slave surface, searching for one or more mesh elements at the master surface that maps to the mesh element.

11. The method of claim 10, wherein searching for one or more mesh elements at the master surface that maps to the mesh element further comprises:determining a plurality of bounding boxes corresponding to the mesh elements at the slave surface and the master surface;for each of the mesh elements at the slave surface, determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface; andif bounding boxes of two mesh elements overlap, determining that their corresponding mesh elements potentially overlap.

12. The method of claim 11, wherein determining whether the bounding box of the mesh element overlaps any of the bounding boxes of the mesh elements at the master surface further comprises:specifying the plurality of bounding boxes with an angular coordinate θ and an axial coordinate z,wherein two bounding boxes overlap when the two bounding boxes have an overlap in their radial angles and z axial coordinates.

13. The method of claim 12, wherein performing numerical integration for mesh elements at the slave surface comprises: for two mesh elements with bounding boxes that overlap, performing the numerical integration for an overlapping region of the two mesh elements, including:projecting, orthogonal to the master surface, a slave mesh element at the slave surface to a master mesh element at the master surface;determining the overlapping region based on the projected slave mesh element and the master mesh element; anddetermining an image for the overlapping region projected back to the slave surface,wherein the numerical integration is performed based on quadrature points corresponding to the image.

14. The method of claim 13, wherein the overlapping region corresponds to one or more surface triangles when the two mesh elements are tetrahedra and the quadrature points correspond to the surface triangles in the image.

15. The method of claim 14, further comprising:for each of the quadrature points,determining a local coordinate of the quadrature point with respect to the slave surface to calculate βi; anddetermining a coordinate for the quadrature point with respect to the master surface to calculateαjm,wherein the numerical integration is performed based on a weight of the quadrature points with respect to slave surface, and the βi and theαjm of the quadrature points.

16. The method of claim 1, further comprising:determining a time differential scheme with mortar method for a T−Ω formulation;determining an initial solution for the physical behaviors of the rotating machine under the T−Ω formulation at a first time step; anddetermining a change in the solution for a next time step by applying the time differential scheme to a configuration of the rotating machine at the next time step and a solution at a previous time step, the solution being the initial solution at the first time step.

17. The method of claim 16, further comprising:deriving a time variant portion of the T−Ω formulation; andderiving a time invariant portion of the T−Ω formulation, whereinthe time differential scheme is applied separately to the time variant portion of the T−Ω formulation than the time invariant portion of the T−Ω formulation.

18. The method of claim 16, wherein the configuration of the rotating machine at the next time step is specified by a submatrix of the T−Ω formulation corresponding to the next time step.

19. A system, comprising:a network interface for connecting to a network;a memory storing instructions;one or more processors coupled to the network interface and the memory, the one or more processors executing the instructions from the memory, the one or more processors configured to perform operations comprising:receiving a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator, the simulation model including mesh elements representing the rotor and the stator;generating an electric vector potential-magnetic scalar potential (T−Ω) formulation for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents;simulating the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method, wherein the simulation comprises:projecting field values of mesh elements of the slave surface to mesh elements of the master surface, or projecting field values of mesh elements of the master surface to mesh elements of the slave surface;performing numerical integration for mesh elements at the slave surface to project the field values; anddetermining the physical behaviors of the rotating machine based on results of the simulation, the physical behaviors including electromagnetic fields from effects of eddy currents.

20. A non-transitory computer-readable memory storing instructions for commanding one or more processors to perform operations comprising:receiving a simulation model of a rotating machine having a stationary stator and a rotational rotor rotatably coupled via an interface between a slave surface of the rotor and a master surface of the stator, the simulation model including mesh elements representing the rotor and the stator;generating an electric vector potential-magnetic scalar potential (T−Ω) formulation for physical behaviors of the rotating machine, the T−Ω formulation including effects of eddy currents;simulating the physical behaviors of the rotating machine based on the simulation model under the T−Ω formulation using mortar method, wherein the simulation comprises:projecting field values of mesh elements of the slave surface to mesh elements of the master surface, or projecting field values of mesh elements of the master surface to mesh elements of the slave surface;performing numerical integration for mesh elements at the slave surface to project the field values; anddetermining the physical behaviors of the rotating machine based on results of the simulation, the physical behaviors including electromagnetic fields from effects of eddy currents.

Citation Information

Patent Citations

  • Partial simulation model creation, simulation and post-processing for rotational machines

    US11574082B1

  • Core loss simulator and simulation methods

    US11875097B1

  • Three-dimensional mesh generating method, magnetic field analysis method for rotating machine, three-dimensional mesh generating device, magnetic field analysis device for rotating machine, computer program, and recording medium

    US20050055183A1

  • Method for generating three-dimensional mesh method for magnetic field of rotating machine, system for generating three-dimensional mesh, system for analyzing magnetic field of rotating machine, computer program, and recording medium

    US20060033734A1