Kaleem -- please use a subject for your email that indicates the concrete question you have.

The following error shown in step-49 during make run.
Exception on processing:

--------------------------------------------------------
An error occurred in line <1430> of file </home/kaleem/deal.ii-candi/tmp/unpack/deal.II-v9.2.0/source/grid/grid_in.cc> in function     void dealii::GridIn<dim, spacedim>::read_msh(std::istream&) [with int dim = 2; int spacedim = 2; std::istream = std::basic_istream<char>]
The violated condition was:
     in
Additional information:

Yes, thanks for reporting this. It's a bug in the library :-(

The problem is that two files that should be in this directory are not, in fact. If you take the two files attached to this email, and put them into the step-49/ directory, everything should work!

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/af3b3ed5-f17f-b714-7c9f-63352fb77090%40colostate.edu.
cl1 = 1;

Point(1) = {-1, 0.3, 0, 1};
Point(2) = {0.5, 0.3, 0, 1};
Point(3) = {-1, -0.5, 0, 1};
Point(4) = {0.5, -0.5, 0, 1};

Point(7) = {-0.3, -0.1, 0, 1};
Point(8) = {-0.2, -0.1, 0, 1};
Point(9) = {-0.3, 0.1, -0, 1};
Point(10) = {-0.4, -0.1, 0, 1};
Point(11) = {-0.3, -0.3, 0, 1};

Point(12) = {0.1, -0.1, 0, 1};
Point(13) = {0.2, 0.0, 0, 1};
Point(14) = {0.3, -0.1, 0, 1};

// lines of the outer box:
Line(1) = {1, 2};
Line(2) = {4, 2};
Line(3) = {1, 3};
Line(4) = {3, 4};

// the first cutout:
Ellipse(5) = {8, 7, 11, 9};
Ellipse(6) = {9, 7, 11, 10};
Ellipse(7) = {8, 7, 10, 11};
Ellipse(8) = {11, 7, 8, 10};

// the second cutout:
Line(9) = {12, 13};
Line(10) = {13, 14};
Line(11) = {14, 12};

// loops of the outside and the two cutouts
Line Loop(12) = {1, -2, -4, -3};
Line Loop(14) = {5, 6, -8, -7};
Line Loop(15) = {9,10,11};

// these define the boundary indicators in deal.II:
Physical Line(0) = {1, 2, 4, 3};
Physical Line(1) = {6, 5, 8, 7};
Physical Line(2) = {9, 10, 11};


// you need the physical surface, because that is what deal.II reads in
Plane Surface(16) = {12, 14, 15};
Physical Surface(17) = {16};

// some parameters for the meshing:
Mesh.Algorithm = 8;
Mesh.RecombineAll = 1;
Mesh.CharacteristicLengthFactor = 0.09;
Mesh.SubdivisionAlgorithm = 1;
Mesh.Smoothing = 20;
Show "*";

Attachment: example.msh
Description: Mesh model

Reply via email to