The error message is "DefaultInitialize: No matrix exists, cannot initialize!" This appears when I try to run my simulation. The error message points to a problem during the assembly stage of the HelmholtzSolver.
My sif file is:
Code: Select all
Header
CHECK KEYWORDS Warn
Mesh DB "." "domain"
Include Path ""
Results Directory ""
End
Simulation
Max Output Level = 5
Coordinate System = Cartesian
Coordinate Mapping(3) = 1 2 3
Simulation Type = Steady state
Steady State Max Iterations = 1
Output Intervals = 1
Timestepping Method = BDF
BDF Order = 1
Solver Input File = simlate1.sif
Post File = simlate1.ep
End
Constants
Gravity(3) = 0 -1 9.82
Stefan Boltzmann = 5.67e-08
Permittivity of Vacuum = 8.8542e-12
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
Body 1
Equation = 1
Material = 1
Target Bodies(1) = 1
End
Solver 1
Equation = Helmholtz Equation
Variable = "Pressure Wave"
Procedure = "HelmholtzSolve" "HelmholtzSolver"
Exec Solver = Always
Stabilize = True
Bubbles = False
Lumped Mass Matrix = False
Optimize Bandwidth = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-7
Nonlinear System Max Iterations = 20
Nonlinear System Newton After Iterations = 3
Nonlinear System Newton After Tolerance = 1.0e-3
Nonlinear System Relaxation Factor = 1
Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-10
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
Linear System ILUT Tolerance = 1.0e-3
Linear System Abort Not Converged = False
Linear System Residual Output = 10
Linear System Precondition Recompute = 1
Angular Frequency = Real MATC "2*pi*6000"
End
Material 1
Name = "Air (room temperature)"
Density = 1.205
Heat Capacity = 1005.0
Heat expansion Coefficient = 3.43e-3
Viscosity = 1.983e-5
Sound speed = 343.0
Relative Permittivity = 1.00059
Heat Conductivity = 0.0257
End
Boundary Condition 1
Target Boundaries(1) = 1
Pressure Wave 1 = 0
End
Equation 1
Name = "Equation 1"
Active Solvers(1) = 1
End
Code: Select all
SetFactory("OpenCASCADE");
Point(1) = {0, -0.1, 0, 1.0};
Point(2) = {0, 0.4, 0, 1.0};
Point(3) = {0.3, 0.4, 0, 1.0};
Point(4) = {0.3, 0.2, 0, 1.0};
Point(5) = {0.4, 0.2, 0, 1.0};
Point(6) = {0.4, 0.1, 0, 1.0};
Point(7) = {0.3, 0.1, 0, 1.0};
Point(8) = {0.3, -0.1, 0, 1.0};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 7};
Line(7) = {7, 8};
Line(8) = {8, 1};
Line Loop(1) = {1, 2, 3, 4, 5, 6, 7, 8};