> On 25 Jul 2019, at 15:26, Junting Chen <[email protected]> wrote:
> 
> Here it is, Christophe.
> 
> if i comment out lines between 40 and 47, which is the refinement field, two 
> surfaces (periodic_0_l and periodic_0_r) will be conformal.

Well, you need to specify that the mesh should be periodic. In your case, just 
add 

Periodic Surface{1051} = {1} Translate {0,0,0.6};

at the end of your file.

Christophe


> 
> Best regards,
> 
> Junting Chen
> 
> 
> 
> 
> 
> On Thu, Jul 25, 2019 at 8:30 AM Christophe Geuzaine <[email protected]> 
> wrote:
> 
> 
> > On 24 Jul 2019, at 23:15, Junting Chen <[email protected]> wrote:
> > 
> > Hello Christophe,
> > 
> > I guess I didn't explain my problem clearly.
> > 
> > I need to create conformal surfaces that every mesh node on one surface is 
> > mirror-imaged onto the other, also I need to create refinement fields. I 
> > find it impossible to be done with these two tasks together.
> > 
> 
> Send the smallest possible example that exhibits the issue so we can have a 
> look.
> 
> Christophe
> 
> > Junting Chen
> > 
> > On Tue, Jul 23, 2019 at 2:47 PM Christophe Geuzaine <[email protected]> 
> > wrote:
> > 
> > Hi Justin,
> > 
> > See e.g. 
> > https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/boolean/periodic.geo
> > 
> > Christophe
> > 
> > > On 18 Jul 2019, at 17:20, Junting Chen <[email protected]> wrote:
> > > 
> > > Hello all, this might be answered previously but i wasn't really able to 
> > > find a good solution yet. 
> > > 
> > > I have created a bounding box and extracted my target geometry out by the 
> > > boolean operation. The next step I want to do is to force the two side 
> > > planes having the same mesh. I think I should use the periodic command 
> > > but i can never make it work properly.
> > > 
> > > Periodic Line{5} = {21} ;
> > > Periodic Line{1} = {3} ;
> > > Periodic Line{7} = {24} ;
> > > Periodic Line{6} = {23} ;
> > > Periodic Surface {5}= {6};
> > > 
> > > I kept on getting error message like "Affine transformation requires at 
> > > least 12 entries". 
> > > 
> > > I have attached my .geo file as well as the step file if anyone doesn't 
> > > mind to do a brief run. 
> > > 
> > > Thanks a lot for your help!
> > > 
> > > Junting Chen
> > > <concaveTower.geo><concaveTower.stp>_______________________________________________
> > > gmsh mailing list
> > > [email protected]
> > > http://onelab.info/mailman/listinfo/gmsh
> > 
> > — 
> > Prof. Christophe Geuzaine
> > University of Liege, Electrical Engineering and Computer Science 
> > http://www.montefiore.ulg.ac.be/~geuzaine
> > 
> > 
> > 
> > _______________________________________________
> > gmsh mailing list
> > [email protected]
> > http://onelab.info/mailman/listinfo/gmsh
> 
> — 
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science 
> http://www.montefiore.ulg.ac.be/~geuzaine
> 
> 
> 
> <concaveTower.geo>

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to