<div dir="ltr"><div>Hello, <br></div><div><br></div><div>I hope you are all doing well. <br></div><div><br></div><div>I am trying to make an structured mesh having the representation of a parallelepiped with a hole in the middle of the structure. This "hole" has the sole purpose of signaling the presence of an obstacle. For some reason, I get errors regarding the transfinite algo of 2 particular surfaces, while the other 8 work. Also, how can I ensure the normals are all pointing in the right convention? <br></div><div><br></div><div>Here is my algorithm: <br></div><div>//<br></div><div> l_ref = 1; <br><br>Point(1) = {-0.5, -0.5, 0, l_ref};  Point(2) = {0.5, -0.5, 0, l_ref}; <br>Point(3) = {0.5, -0.5, 4.0, l_ref}; Point(4) = {0.5, 0, 4.0, l_ref}; <br>Point(5) = {0.5, 0, 6.0, l_ref}; Point(6) = {0.5, -0.5, 6.0, l_ref}; <br>Point(7) = {0.5, -0.5, 10.0, l_ref}; Point(8) = {0.5, 0.5, 10.0, l_ref}; <br>Point(9) = {0.5, 0.5, 0, l_ref}; Point(10) = {-0.5, 0.5, 0, l_ref}; <br>Point(11) = {-0.5, -0.5, 4.0, l_ref}; Point(12) = {-0.5, 0, 4.0, l_ref}; <br>Point(13) = {-0.5, 0, 6.0, l_ref}; Point(14) = {-0.5, -0.5, 6.0, l_ref}; <br>Point(15) = {-0.5, -0.5, 10.0, l_ref}; Point(16) = {-0.5, 0.5, 10.0, l_ref};<br><br>Line(1) = {1, 2}; <br>Line(2) = {2, 3}; <br>Line(3) = {3, 4}; <br>Line(4) = {4, 5}; <br>Line(5) = {5, 6}; <br>Line(6) = {6, 7}; <br>Line(7) = {7, 8}; <br>Line(8) = {8, 9}; <br>Line(9) = {9, 10}; <br>Line(10) = {10, 16}; <br>Line(11) = {16, 8}; <br>Line(12) = {2, 9}; <br>Line(13) = {10, 1}; <br>Line(14) = {1, 11}; <br>Line(15) = {11, 12}; <br>Line(16) = {12, 13}; <br>Line(17) = {13, 14}; <br>Line(18) = {14, 15}; <br>Line(19) = {15, 16};<br>Line(20) = {7, 15}; <br>Line(21) = {3, 11}; <br>Line(22) = {14, 6};<br>Line(23) = {4, 12}; <br>Line(24) = {5, 13}; <br><br>Line Loop(21) = {1, 12, 9, 13}; Plane Surface(22) = {21};<br>Line Loop(23) = {2, 3, 4, 5, 6, 7, 8, -12}; Plane Surface(24) = {23}; <br>Line Loop(25) = {7, -11, -19, -20}; Plane Surface(26) = {25}; <br>Line Loop(27) = {-10, 13, 14, 15, 16, 17, 18, 19}; Plane Surface(28) = {27}; <br>Line Loop(29) = {8, 9, 10, 11}; Plane Surface(30) = {29}; <br>Line Loop(31) = {1, 2, 21, -14}; Plane Surface(32) = {31}; <br>Line Loop(33) = {3, 23, -15, -21}; Plane Surface(34) = {33}; <br>Line Loop(35) = {4, 24, -16, -23}; Plane Surface(36) = {35}; <br>Line Loop(37) = {-5, 24, 17, 22}; Plane Surface(38) = {37}; <br>Line Loop(39) = {6, 20, -18, 22}; Plane Surface(40) = {39};<br><br>Surface Loop(40) = {22, 24, 26, 28, 30, 32, 34, 36, 38, 40};<br>Volume(41) = {40}; <br><br>Transfinite Line {1, 9, 20, 11} = 10; <br>Transfinite Line {12, 13, 7, 19} = 20; <br>Transfinite Line {2, 14} = 20; <br>Transfinite Line {4, 16} = 60; <br>Transfinite Line {6, 18} = 40; <br>Transfinite Line {8, 10} = 120;<br><br>Transfinite Surface{22} = {1, 2, 9, 10}; <br>Transfinite Surface{24} = {2, 7, 8, 9}; <br>Transfinite Surface{26} = {7, 8, 16, 15};<br>Transfinite Surface{28} = {16, 15, 10, 1}; <br>Transfinite Surface{30} = {8, 9, 10, 16}; <br>Transfinite Surface{32} = {1, 2, 3, 11}; <br>Transfinite Surface{34} = {3, 4, 12, 11};<br>Transfinite Surface{36} = {4, 5, 13, 12};<br>Transfinite Surface{38} = {5, 6, 13, 14};<br>Transfinite Surface{40} = {6, 7, 15, 14};<br><br>Recombine Surface {22, 24, 26, 28, 30, 32, 34, 36, 38, 40}; <br>Transfinite Volume {41} = {2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 11, 12, 13, 14, 15, 16};<br><br>// Physical Surface(200) = {22, 24, 26, 28, 30, 32, 34, 36, 38, 40}; <br>Physical Surface('inlet') = {22}; <br>Physical Surface('periodic_0_r') = {24}; <br>Physical Surface('outlet') = {26}; <br>Physical Surface('periodic_0_l') = {28}; <br>Physical Surface('top') = {30}; <br>Physical Surface('bottom1') = {32}; <br>Physical Surface('bottominclined1') = {34}; <br>Physical Surface('bottom2') = {36}; <br>Physical Surface('bottominclined2') = {38}; <br>Physical Surface('bottom3') = {40}; <br><br>Physical Volume('fluid') = {41};<br><br>//<br><br></div><div>I would be very grateful if you can answer my question! <br></div><div><br></div><div>Kind regards, <br></div><div>Robert Atanasiu <br></div><div>Imperial College London, Aeronautics Undergraduate Student<br></div></div>