Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

The signed distance function between an arbitrary point in 3D space and a given closed surface returns the minimum distance from that point to the collection of triangles representing the surface. By convention, the sign is positive if the point is outside and negative if the point is inside the ... [More] region determined by the surface. In the context of Computational Fluid Dynamics, not only the signed distance function is useful to locate the separation interface between two different fluids with constant (but possibly different) material properties as its zero level-set surface but also it determines for each Eulerian grid point its instantaneous mass density and viscosity (one fluid is represented by the positive values and the other one by the negative ones). Although there are other ways to compute the signed distance function, when the number of Lagrangian points (vertices of the triangles) is less than N*log(N), where N is the number of points in the Eulerian grid, a very robust, most efficient way of computing the signed distance function is obtained through the application of techniques from Computational Geometry (Mauch´s Algorithm). The computational cost for the entire Eulerian domain is linear in the number of the geometrical elements composing the triangulated surface (that is, vertices, edges, and faces) with a O(1) proportion constant. The current GTS-CPT code creates an Eulerian grid in run-time based on the average size of the triangle edges and computes the (cutoff) signed distance function. For details on its 2D computation and use for a two-phase flow simulations refer to Ceniceros and Roma 2005, and to Ceniceros et al. 2009. The current stage is being developed by the undergraduate student Thiago P. Macedo, under the supervision of Prof. Alexandre M. Roma (roma (at) ime usp br) in the Instituto de Matematica e Estatistica at the Universidade de Sao Paulo (IME-USP). REFERENCES: Mauch´s Algorithm: http://www.cacr.caltech.edu/~sean/projects/cpt/html3/index.html Ceniceros and Roma 2005: http://www.math.ucsb.edu/~hdc/public/left.pdf Ceniceros et al. 2009: http://www.math.ucsb.edu/~hdc/public/Adaptive_LEFT.pdf The current version can be tested by downloading some GTS sample files examples at http://gts.sourceforge.net/samples.html. As of now, the current program version runs only with closed manifolds. One can remove this constraint in the source code and test it with other cases at his own risk. No warranties on what´s gonna happen are given =] The computed cut distance function (indicator function) is output and may be visualized with VisIt (https://wci.llnl.gov/codes/visit/). To compile the example program, you'll need the SILO library installed (see downloads, or grab it at https://wci.llnl.gov/codes/visit/3rd_party/silo060605.sh). We added also at download section some dependences to run VisIt (1.11.1, 1.11.2, i386) with Silo support. Please let us know if you decide to download and to use our implementation for this is important to us for future reference. We appreciate any comments about the above topics, the life, the universe and everything =] Please write about problems/bugs or improvement suggestions to Thiago P. Macedo (tmacedo at usp br). [Less]

0
 
  0 reviews  |  0 users  |  1,433 lines of code  |  0 current contributors  |  Analyzed over 1 year ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.