-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve y-axis and w based local coordinate system
The main application for the y-axis and w based local coordinate system is the stranded homogenization model where the homogenization parameters are oriented using the RotM transformation. The RotM transformation needs a local coordinate system and the wish is to be able to define it without direction solvers (in case of arbitrary wire cross-sections). A test case derived from `circuits_harmonic_stranded_homogenization` is added. The original case computes the skin and proximity losses for a stranded coilcurrent via so called homogenization, where the strands are not geometrically in the model but their frequency responce is estimated using `sigma` and `nu` parameters that are gotten from the elementary solutions of 2D computations (transversal fields and perpendicular current). In 3D the cross-section needs to be oriented using the RotM transformation that requires the definition of a local coordinate system. For that we have previously used the direction solvers (`Alpha` and `Beta`). The main point now is to get rid of the direction solvers. The other major change is to use `CoilSolver` solution to drive the circuit (instead of `WSolver`). There are many benefits for using the `CoilSolver`, for example, one can calculate closed coils. The important new keywords (with respect to ) here are: 1. `Body: Local Coordinate System Beta Reference and Gamma = Logical True` * CoordinateTransform computes alpha = beta x gamma: where beta is set to "Beta Reference" and Gamma is set to "coilcurrent e" computed by `CoilSolver` 2. `Component: Coil Normal(3) = Real 0. 0. 1.` * `CoilSolver` needs to know how the coil is oriented 3. `Component: Desired Current Density = Real 1.0` * `CoilSolver` will set a certain current density over the coil 4. `Component: Coil Use W Vector = Logical True` * Coil uses a defined `W Vector` for which a name can be provided * The `W Vector` set here is used for driving the component with circuits 5. `Component: W Vector Variable Name = String "CoilCurrent e"` * Here we choose the correct field for `W Vector` 6. `Boundary: Coil Start = Logical True` * `CoilSolver` needs a boundary for knowing where coil starts (if not closed) 7. `Boundary: Coil End = Logical True` * `CoilSolver` needs a boundary for knowing where coil ends (if not closed) Issue #429
- Loading branch information
Showing
12 changed files
with
23,644 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
fem/tests/circuits_harmonic_homogenization_coil_solver/2241/entities.sif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
!------ Skeleton for body section ----- | ||
Body 1 | ||
Name = core | ||
End | ||
|
||
Body 2 | ||
Name = airgap_1_limb_2 | ||
End | ||
|
||
Body 3 | ||
Name = wp1 | ||
End | ||
|
||
Body 4 | ||
Name = air | ||
End | ||
|
||
!------ Skeleton for boundary section ----- | ||
Boundary Condition 1 | ||
Name = xy0 | ||
End | ||
|
||
Boundary Condition 2 | ||
Name = airgap_1_limb_2_boundary0 | ||
End | ||
|
||
Boundary Condition 3 | ||
Name = wp1_alpha0 | ||
End | ||
|
||
Boundary Condition 4 | ||
Name = wp1_beta1 | ||
End | ||
|
||
Boundary Condition 5 | ||
Name = wp1_alpha1 | ||
End | ||
|
||
Boundary Condition 6 | ||
Name = wp1_beta0 | ||
End | ||
|
||
Boundary Condition 7 | ||
Name = airgap_1_limb_2_boundary1 | ||
End | ||
|
||
Boundary Condition 8 | ||
Name = coreface_xy | ||
End | ||
|
||
Boundary Condition 9 | ||
Name = wp1_gamma0 | ||
End | ||
|
||
Boundary Condition 10 | ||
Name = cylinder_lateral_surface | ||
End | ||
|
||
Boundary Condition 11 | ||
Name = wp1_gamma1 | ||
End | ||
|
||
Boundary Condition 12 | ||
Name = infinity_xz1 | ||
End | ||
|
||
Boundary Condition 13 | ||
Name = infinity_xz0 | ||
End | ||
|
||
Boundary Condition 14 | ||
Name = bnry18 | ||
End | ||
|
Oops, something went wrong.