// Gmsh project created on Mon Sep 30 11:19:19 2019
SetFactory("OpenCASCADE");

Merge "Probe1_Inf.stp";//+
Physical Volume("Core") = {1};
//+
Physical Volume("Ind") = {2};
//+
Physical Volume("Air") = {3};
//+
Physical Volume("Air_Inf") = {4};

// Color to know the Parts

Recursive Color Grey { Volume{1}; }

Recursive Color Gold { Volume{2}; }

Recursive Color SkyBlue { Volume{3,4}; }

// Mesh element size

lcar1 = 2;  // Blech
lcar2 = 1.5; // Wicklung
lcar3 = 3.5;   // Air

Characteristic Length{ PointsOf{ Volume{1}; } } = lcar1;
Characteristic Length{ PointsOf{ Volume{2}; } } = lcar2;
Characteristic Length{ PointsOf{ Volume{3,4}; } } = lcar3;
//+
Physical Surface("Surf_Core") = {2, 1, 3};
//+
Physical Surface("Surf_Ind") = {5, 4, 7, 6};
//+
Physical Surface("Surf_Inf") = {16};
