AC losses in HTS tape demo
Model definition
Components | Geometric info |
---|---|
air | radius = 8 cm |
tape | width = 4 mm, heigth = 95 μm, length = 1 cm |
copper layer | thickness = 20 μm |
silver layer | thickness = 2 μm |
YBCO layer | thickness = 1 μm |
hastelloy layer | thickness = 50 μm |
domain | length = 1 cm |
YBCO cross-section | m |
Material Data
Magnetic permeability ()
- all domains:
Electric resistivity ()
- Hastelloy: m
- Silver: m
- Copper: m
- YBCO:
-
- V/m
- [A/m]
-
Inputs case 1
-
Frequency Hz
-
Operation current sin
-
External magnetic flux density [T]
Inputs case 2
-
Frequency Hz
-
Operation current A
-
External magnetic flux density sin [mT]
Output results
- Joule losses in the ybco region, and in the normalconducting region
-
Field visualizations
Step-by-step guide
Here you’ll find a step-by-step tutorial on how to simulate this in Quanscient Allsolve.
Step 1 - Create geometry
-
Start with a new project and name it:
-
Upload the mesh file “htstape.msh”:
Step 2 - Define shared regions
-
Proceed to the
Properties
tab to define regions and materials. -
Click on the
+
icon next toShared regions
to define physical regions for later convenience.- Select geometric entities by clicking the geometry visualization. Finalize the selection by clicking `Apply
- Note: After defining the air region, hide the air volume by clicking the button indicated by the arrow, and then clicking the air volume `
- Define the following shared region volumes: air, copper, silver, hastelloy, ybco and tape (including all the tape layers)
- In addition define the tape region excluding ybco layer and name it normalconducting
- Define the following shared region surfaces from the HTS tape cross-section: s_copper, s_silver, s_hastelloy, s_ybco, and s_tape including of all the previously defined surfaces
- Select geometric entities by clicking the geometry visualization. Finalize the selection by clicking `Apply
Step 3 - Define material properties
-
Click on the
+
icon next toMaterials
and selectAir
,Silver
,Copper
andYBCO
from the material list withConfirm
and select the corresponding already defined shared volume to it. Finalize defining a material withApply
.- Change
Electric conducticity
to 1e8 forSilver
andCopper
.
- Change
-
For the Hastelloy, we need to create a new material.
-
Name it to hastelloy and add the following properties with
+
: Magnetic permeability: and electric conductivity: S/m.
Step 3 - Define shared expressions
- Assing correct values to
YBCO_Jc
=2.85e10, andYBCO_n
=30.5 - Create a new shared expression by clicking
+
icon next toShared expressions
, and define =3.96e-9 - Similarly, define shared expressions: freq and . Define also T
Step 3 - Define the physics, boundary conditions and sources
-
Proceed to the
Physics
tab to define physics and interactions. -
Click on the
+
icon to add a new physics. SelectMagnetism
andMagnetism
.
Apply
air region forMagnetism
Apply
tape region forMagnetism
-
Add
Constraint
forMagnetism
. -
Choose a point region from the boundary of the air domain and set the value to 0.0
-
Add
External field
forMagnetism
. Assign to -direction at the infinity boundary of the air domain. -
Add
Lump I/V cut
forMagnetism
, by selecting the curves going around the tape cross-section. Assign as the applied total current. -
Add
coupling
forMagnetism
.
Step 5 - Apply simulation settings
-
Click on
+
icon next to theSimulations
to add a simulation. -
Under the
SIMULATIONS SETTINGS
:Name:
Simulation: case 1Analysis Type:
selectTransient
Time stepping algorithm:
selectImplicit Euler
Start time:
0 s,End time:
0.02 s,Time step:
0.00016 sSolver mode:
Direct solverNode Count = 1
andNode Type = 1 CPU, 16GB
- Click on
Apply
button to confirm the settings.
-
Click on
Mesh
underSimulation: case 1
and selectMesh 1
.
Step 6 - Simulation outputs
-
Click on
+
icon next toOutputs
underSimulation: case 1
. Now selectCustom
underValue outputs
.- Define Joule loss integrals Pnc and Pybco:
- Pybco:
integrate(reg.ybco,transpose(E)*j,2)
- Pnc:
integrate(reg.normalconducting,transpose(E)*j,2)
- Pybco:
- Net currents:
- Itot:
lump.I
- Iybco:
integrate(reg.s_ybco,on(reg.ybco,compz(j)),2)
- Itot:
- Define Joule loss integrals Pnc and Pybco:
-
To visualize in the YBCO region, create
Field output
similarly as in the image.
Step 7 - Custom modifications to the script
-
Go to
Script
underSimulation: case 1
and enable scripting mode. -
Change interpolation order of to 1.
-
Replace line 101 with the following linearization to enable Newton Raphson method:
- Finally:
- change tolerance to 1e-4
- replace the field output region to
reg.s_ybco
- Now
Save script
and click onSimulation: case 1
and then onRun Simulation
button. The simulation status changes fromNot run
toRunning
and after completion toSuccess
.
Step 5 - Visualizing the simulation results
- To visualize , add visualization, select
j
and use similar settings as shown in the image.