XIAN-FEM-2026June/三维matlab代码/matlab 3D一阶基+散射边界条件+周期边界/case_config.m

25 lines
680 B
Matlab
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function [phy, cfg] = case_config()
%CASE_CONFIG 3D 一阶 + 单方向周期main_singlePBC.m有损介质
phy.eps = [1 1 (2.438-24.77i)^2 (1.39-0.00035i)^2 1 1 (2.438-24.77i)^2 (2.438-24.77i)^2 (2.438-24.77i)^2];
phy.mur = [1 1 1 1 1 1 1 1 1];
phy.lda0 = 4e-6;
phy.out = [3];
phy.inc = [16];
phy.Einc = [1; 1i; 0];
phy.src = [1 4 7 10 13];
phy.dst = [54 55 56 57 58];
cfg.FemType = 4;
cfg.EletricType = 2;
cfg.NbrBoundary = 14;
cfg.BoundaryFlag = [0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2];
cfg.MeshFile = 'singlePBC_mesh.dat';
cfg.OutFile = './OutFile';
cfg.jsonFile = '';
cfg.meshMatFile = 'singlePBC_mesh.mat';
cfg.pbcWaveVec = [2e-6; 0; 0];
cfg.pbcPhi = 1;
end