Define boundary conditions of a polygon in a unit square cell

Click For Summary
SUMMARY

This discussion focuses on defining boundary conditions for shapes within a unit square cell, specifically addressing a circular shape and extending the concept to more complex polygons like hexagons. The boundary condition for a circle is established as h(x,y) = C+depth for points inside the circle and h(x,y) = C for points outside. For polygons, each side can be represented by linear equations, and the interior is defined by the intersection of half-planes. The most efficient approach for convex polygons involves restricting boundary conditions to specific angles, while more complex shapes may require piecewise defined curves.

PREREQUISITES
  • Understanding of boundary conditions in mathematical modeling
  • Familiarity with linear equations and inequalities
  • Knowledge of convex polygons and their properties
  • Basic principles of piecewise functions
NEXT STEPS
  • Research methods for defining boundary conditions in computational geometry
  • Explore algorithms for handling piecewise defined curves
  • Learn about the mathematical properties of convex polygons
  • Investigate applications of boundary conditions in finite element analysis
USEFUL FOR

This discussion is beneficial for mathematicians, computational geometers, and engineers involved in modeling physical systems with complex shapes and boundary conditions.

tomallan
Messages
20
Reaction score
0
Hi,

I am wondering as to how to define the boundary condition for a shape in a unit cell. Just imagine that the shape is the hole for the unit cell. Hence, for a constant thickness on the untextured boundary, thickness is, let's say C, then for the circle, it's C+depth.


For example for a unit cell with width 2r1 by 2r1 with a circle inside the unit cell, the boundary condition is:

h(x,y) = C+depth, if x^2+y^2<r^2, and
h(x,y) = C, if x^2+y^2>r^2.

I am wondering how to do this with complicated polygons, like hexagon and stuff or if there is a formula or principle that i don't know of.

Thank you heaps.
 

Attachments

  • hex.jpg
    hex.jpg
    7.2 KB · Views: 563
Physics news on Phys.org
Each of the sides of a polygon is definable by a simple linear equation in x and y. The interior of a convex polygon is the intersection of the half-planes defined by the corresponding inequalities.
 
Last edited:
For convex polygons, the most economic way would probably be to restrict the boundary conditions to particular angles. For more complex polygons, a piecewise defined curve is probably the best way.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K