Am I missing some basic point in setting up this problem? If not, what solver parameters should I adjust to improve the convergence?
Since I'll eventually need to set up my own geometry, I'm using Gmsh to create a mesh. Here is my Gmsh input file, plates.geo:
Code: Select all
// create mesh with gmsh plates.geo -2
// then, convert to Elmer mesh with ElmerGrid 14 2 plates.msh
w = 0.2; // width
Mesh.CharacteristicLengthMax = w / 20;
Point(1) = {0, 0, 0};
Point(2) = {w/2, 0, 0};
Point(3) = {w/2, w/2, 0};
Point(4) = {w, w/2, 0};
Point(5) = {w, w, 0};
Point(6) = {0, w, 0};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 1};
Line Loop(7) = {1, 2, 3, 4, 5, 6};
Plane Surface(8) = {7};
Physical Line(101) = {1, 2, 3, 4, 5};
Physical Line(102) = {6};
Physical Surface(201) = {8};
Code: Select all
Header
Mesh DB "." "plates"
End
Constants
End
Simulation
Max Output Level = 5
Coordinate System = Cartesian 2D
Simulation Type = Steady State
Steady State Max Iterations = 1
Output Intervals = 1
Post File = "plates.ep"
End
Body 1
Equation = 1
Material = 1
Target Bodies(1) = 201
End
Material 1
Density = 2330
Thickness = 0.001
Youngs Modulus = 900e9
Poisson Ratio = 0.3
End
Solver 1
Equation = Plate Solver
Procedure = "Smitc" "SmitcSolver"
Linear System Solver = Iterative
Linear System Max Iterations = 500
Linear System Residual Output = 0
Linear System Iterative Method = BiCGStab
Linear System Preconditioning = ILU0
Linear System Convergence Tolerance = 1.0e-8
Nonlinear System Newton After Tolerance = 1.0e-3
Nonlinear System Newton After Iterations = 20
Nonlinear System Max Iterations = 1
Nonlinear System Convergence Tolerance = 1.0e-5
Nonlinear System Relaxation Factor = 1.0
Steady State Convergence Tolerance = 1.0e-6
Eigen Analysis = True
Eigen System Values = 10
Eigen System Convergence Tolerance = Real 1.0e-6
Eigen System Select = smallest magnitude
End
Solver 2
Equation = SaveScalars
Procedure = "SaveData" "SaveScalars"
Show Norm = True
Show Norm Index = 1
Variable 1 = Deflection
Save EigenValues = Logical True
End
Equation 1
Active Solvers(1) = 1
! Element = p:2 ! also tried this, but convergence or failure thereof was same
End
Boundary Condition 1
Target Boundaries(1) = 101 ! converges when only left-hand edge is free
! Target Boundaries(2) = 101 102 ! converges when all edges are fixed
! Target Boundaries(1) = 102 ! fails to converge if only left-hand edge fixed
Deflection 1 = 0 ! z-deflection
Deflection 2 = 0 ! x-rotation
Deflection 3 = 0 ! y-rotation
End