Hello

I would like to project an arbitrary domain defined by piecewise functions in 
inequalities into a uniform quadrangular mesh. I will basically loop over the 
elements over the uniform mesh, calculate its centroid and check if it is 
inside the domain by satisfying the multiple inequalities given by the 
piecewise functions that define the domain. For instance, if such domain is a 
rectangle of length ā€œLā€, width ā€œdā€, with its bottom left vertex anchored to the 
(0,0) point and its longest side parallel to the X axis, the inequalities would 
be something like:

x > 0 && x < L && y > 0 && y < d

I wonder if there are functions within libMesh that can make my life easier and 
if this has done before. I think I could use a ParsedFunction for this simple 
example, but I want more complicated geometries. I would like that rectangle to 
have a circular notch on the top side, for instance.

Thanks
Miguel
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to