Periodic boundaries IΒΆ
Learning targets
- Periodic boundary conditions
- 2D square lattice
In some models for a simulation, the equations to be
simulated are stated on a unit cell of an infinite array.
In this case it is typically required to apply periodic boundary
boundary conditions.
JCMgeo
analyses all specified Periodic
boundaries,
identifies boundaries which are parallel to each other and
creates a mesh with corresponding periodic discretizations of
these boundaries.
For the unit cell of a 2D periodic square array of circular objects, as specified in this tutorial example, the resulting geometry and mesh correspond to the following figure.
.jcm
Input File
layout.jcm [ASCII]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Layout2D { UnitOfLength = 1e-6 MeshOptions { MaximumSideLength = 0.5 } BoundaryConditions { Boundary { Class = Periodic } } Objects { Parallelogram { Height = 3 Width = 3 DomainId = 1 Priority = ComputationalDomain } Circle { Radius = 1.0 RefineAll = 3 DomainId = 2 } } }