1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
% Copyright (C) 2017-2017 Yves Renard.
%
% This file is a part of GetFEM++
%
% GetFEM++ is free software; you can redistribute it and/or modify it
% under the terms of the GNU Lesser General Public License as published
% by the Free Software Foundation; either version 3 of the License, or
% (at your option) any later version along with the GCC Runtime Library
% Exception either version 3.1 or (at your option) any later version.
% This program is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
% License and GCC Runtime Library Exception for more details.
% You should have received a copy of the GNU Lesser General Public License
% along with this program; if not, write to the Free Software Foundation,
% Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
% -*- matlab -*- (enables emacs matlab mode)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% parameters for program crack %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% pde parameters : %%%%%
ADAPTED_REFINE = 1; % 0 to disable adapted refinement
% 1 to enable it
REFINE_THRESHOLD = 0.00002;
% REFINE_THRESHOLD = 1E-8;
MIN_RADIUS_ELT = 1E-7; % Min radius for an element in the refinement process.
CONV_MAX = 12000; % maximal number of elements
CUTOFF_FUNC = 2; % 0 for the exponential cutoff.
% 1 for a 3rd degree polynomial cutoff.
% 2 for a 5th degree polynomial cutoff.
CUTOFF = 0.3;
CUTOFF1 = 0.2;
CUTOFF0 = 0.3;
ENRICHED = 1; % Enrichment or not with singular functions
OPTION = 1; % 0 = opening mode
% 1 = L shaped domain.
%%%%% discretisation parameters : %%%%%
MESH_TYPE = 'GT_PK(2,1)'; % linear triangles
%MESH_TYPE = 'GT_LINEAR_QK(2)'; % linear rectangles
%MESH_TYPE = 'GT_PRISM(3,1)'; % 3D prisms
LX = 1; % mesh size x'ox
LY = 1; % mesh size y'oy
NX = 8; % space step.
MESH_NOISE = 0; % Set to one if you want to "shake" the mesh
FEM_TYPE = 'FEM_PK(2, 1)'; % PK element
FEM_DISC = 'FEM_PK_DISCONTINUOUS(2,2, 0.0001)';
DIRICHLET_VERSION = 0;
% DATA_FEM_TYPE must be defined if your main FEM is not Lagrangian
% DATA_FEM_TYPE = 'FEM_PK(2,2)';
% DATA_FEM_TYPE = 'FEM_QK(2,1)';
% integration meth. for sub-simplexe of elements crossed by the level-set
SIMPLEX_INTEGRATION = 'IM_STRUCTURED_COMPOSITE(IM_TRIANGLE(6),10)';
% integration meth. for quasi-polar integration of sub-simplexes adjascent to the level-set
% (comment it to disable quasipolar integration). Should be a
% method defined on a square for 2D, or defined on a prism for 3D.
% SINGULAR_INTEGRATION = 'IM_GAUSS_PARALLELEPIPED(2, 10)';
SINGULAR_INTEGRATION = 'IM_STRUCTURED_COMPOSITE(IM_GAUSS_PARALLELEPIPED(2, 6), 10)';
INTEGRATION = 'IM_STRUCTURED_COMPOSITE(IM_TRIANGLE(6), 2)';
%INTEGRATION = 'IM_STRUCTURED_COMPOSITE(IM_GAUSS_PARALLELEPIPED(2, 2), 5)';
%INTEGRATION = 'IM_TRIANGLE(6)';
RESIDUAL = 1E-10; % residual for iterative methods if any.
%%%%% saving parameters %%%%%
ROOTFILENAME = 'aposteriori_laplacian'; % Root of data files.
VTK_EXPORT = 2 % export solution to a .vtk file ?
|