OK, the more I think about it, the more I am confident to say: It is Wrong.

In my logic, I am not doing anything related to DoF numbering. In both 
cases, I create a square by the length of 44.72, assign the same boundary 
IDs to the sides (left: 1, right:2, down:3, up:4), then use the 
"DoFTools::make_periodicity_constraints" function to apply periodic BCs. 
Since the arguments for this function are the paired boundary IDs, and 
again, they are the same in both cases (because I marked them manually), I 
do not see a reason why we get a different result.

Regards,
Masoud
On Saturday, 3 December 2022 at 16:01:03 UTC Wolfgang Bangerth wrote:

> On 12/3/22 03:38, Masoud Ahmadi wrote:
> > My expectation stems from the fact that I am using the exact same mesh, 
> but 
> > instead of using "GridGenerator" function of dealii, this time I import 
> a mesh 
> > from Cubit. Then, I mark the boundaries in the same order: left: 1, 
> right: 2, 
> > bottom: 3, up: 4. So, I think I did the exact same thing.
> > 
> > What happens is the order of DoF numbering changes (as shown in the 
> pictures). 
> > But since my mesh is the same, and so are the boundary IDs, I expect the 
> > results to be as I described since 
> "DoFTools::make_periodicity_constraints" 
> > function gets the boundary IDs as inputs.
>
> What I'm trying to say is that just because the two meshes describe the 
> same 
> geometric region in space does not mean that they are constructed in the 
> same 
> way. GridGenerator may use a different numbering of vertices than the 
> imported 
> mesh, for example.
>
> So I'll come back to the original question: Is what happens actually 
> wrong? Or 
> is it just unexpected?
>
> Best
> W.
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/b8d32052-b795-4621-a9a1-c414f95ec3e3n%40googlegroups.com.

Reply via email to