|
14 | 14 |
|
15 | 15 | %% Obtention of analytic eigenvalues.
|
16 | 16 | % Eigenvalues for the first six modes.
|
17 |
| -k101 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 300, 16); |
18 |
| -k102 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 600, 16); |
19 |
| -k103 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 800, 16); |
20 |
| -k201 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 2, 0, 540, 16); |
21 |
| -k202 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 2, 0, 760, 16); |
22 |
| -k301 = getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 3, 0, 750, 16); |
| 17 | +k101 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 300, 16); |
| 18 | +k102 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 600, 16); |
| 19 | +k103 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 1, 0, 800, 16); |
| 20 | +k201 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 2, 0, 540, 16); |
| 21 | +k202 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 2, 0, 760, 16); |
| 22 | +k301 = math.getKcFromHalfFilledCavity(a, b, c, h, epr, sigmaCond, 3, 0, 750, 16); |
23 | 23 | numberKc = 6;
|
24 | 24 | kc = [k101 k201 k102 k301 k202 k103];
|
25 | 25 |
|
26 | 26 | %% Loading of the hexahedral meshes.
|
27 | 27 | % In this container are included the meshes used for the results.
|
28 |
| -load('meshesHalfFilledTAP2021.mat','projectMeshes'); |
| 28 | +load('+settings/meshesHalfFilledTAP2021.mat','projectMeshes'); |
29 | 29 | lengthMeshes = length(projectMeshes);
|
30 | 30 | % Container to store the error for the different eigenvalues.
|
31 | 31 | errorHalfConvergence = zeros(numberKc,lengthMeshes);
|
|
45 | 45 | % We store the coefficients for using them later.
|
46 | 46 | disp("Storing the coefficients generated...")
|
47 | 47 | sysBasesObj.saveCoefficients();
|
48 |
| -disp("Showing the coefficients of the polynomials...") |
49 |
| -bases.showPolynomials(); |
50 |
| -sysBasesObj.showBases(); |
51 | 48 |
|
52 | 49 | %% Running through all the meshes.
|
53 | 50 | for indexMesh = 1:length(projectMeshes)
|
|
75 | 72 | end
|
76 | 73 |
|
77 | 74 | %% Plotting the results.
|
78 |
| -plotHalfFilledCavity(errorHalfConvergence,lengthHalfConvergence); |
| 75 | +math.plotHalfFilledCavity(errorHalfConvergence,lengthHalfConvergence); |
0 commit comments