help please ,i cant mesh my space "Meshing error: Bamg
number : 777, " bad sens and i dont know where the problem is i checked in every common poit its verifies that the space is closed
this is my program
//datas
int a=1;
int N=50;
//trace des bordures:
thank you it worked i tried again and made sure the - borders are oriented counter-clockwise
so i got this code //datas
real a=1;
real k=0.05;
real T=100;
real dt=1;
real t=0;
int N=100;
int ue=80;
//trace des bordures:
border ommega1(t=0,1){label=1;x=-2at+2a;y=2at;};
border ommega2(t=0,1){label=2;x=2at;y=2at-2a;};
border ommega3(t=0,1){label=3;x=0;y=-at-a;};
border ommega4(t=0,1){label=4;x=asin(pit);y=acos(pit);};
border ommega5(t=0,1){label=5;x=0;y=-at+2*a;};
plot(ommega5(N)+ommega4(N)+ommega3(N)+ommega2(N)+ommega1(N));
mesh Th= buildmesh(ommega5(N)+ommega4(N)+ommega3(N)+ommega2(N)+ommega1(N));
plot(Th);
thank you for the help