

fflen = 200;
Mesh.CharacteristicLengthMax = fflen;
//Mesh.CharacteristicLengthFactor = 0.5;
Mesh.CharacteristicLengthFromPoints=1;

Merge "/home/john/Dropbox/Rhino3D/New787/New787V1.3.stp";

// Mesh.RandomFactor = 1.0e-7;

// Mesh.Lloyd = 1;
// Mesh.AnisoMax = 2.5;
Mesh.Smoothing=3;
Mesh.Optimize=1;
Mesh.SaveParametric = 1;

Mesh.Algorithm = 2; // Automatic
//Mesh.Algorithm = 5; // Delauney
// Mesh.Algorithm = 6; // Frontal

// Mesh.Algorithm3D = 1; // Delauney
Mesh.Algorithm3D = 4; // Frontal

//Mesh.ToleranceEdgeLength = 1.0e-3;



// For V1.2-3
Physical Surface(10) = {1:19};
Physical Surface(11) = {21:25};
Physical Surface(12) = {20};



// For V1.1
//Characteristic Length {0:29} = 0.4;
//Characteristic Length {30:37} = fflen;

// Physical Surface(10) = {1:25};
Physical Volume(1) = {1};




Field[0] = Attractor;
Field[0].EdgesList = {4,7,6,10,11,13};
Field[0].NNodesByEdge = 200;

Field[2] = Attractor;
Field[2].FacesList = {1:25};

/*
Field[3] = Threshold;
Field[3].IField = 2;
Field[3].LcMin = 0.4;
Field[3].LcMax = 2.0;
Field[3].DistMin = 0.1;
Field[3].DistMax = 2.0;
Field[3].StopAtDistMax=1;
*/

Field[1] = Threshold;
Field[1].IField = 0;
Field[1].LcMin = 0.1;
Field[1].LcMax = 0.4;
Field[1].DistMin = 0.05;
Field[1].DistMax = 0.4;
Field[1].StopAtDistMax=1;

Field[4] = Min;
Field[4].FieldsList = {1};

Background Field = 4;

Characteristic Length {0:32} = 0.4;
Characteristic Length {33:40} = fflen;