Another but less efficient approach is to decompose everything to tetrahedra (e.g., using Refine if you do this inside DX). Then all fields that you may wish to combine have common elements. If you do this external to DX, then you could import them combined as a single field.
I would suggest you try Greg's method first and see what artifacts are at the boundaries and whether it's an issue. Gregory D Abram/Watson/[EMAIL PROTECTED]@opendx.watson.ibm.com on 04/18/2002 10:22:34 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: Re: [opendx-users] Mixed cell types DX does support mixed-cell grids, but only as MultiGrid groups. You're right, Field objects contain only one connections component and that has to contain the a single type of element. Composite Fields are groups that consist of fields that are of the same element type and, further, faces on the boundary of the member Fields match exactly - what you get when you Partition a Field, and you get C1 continuity across the boundaries - shaded isosurfaces of composite fields will not show field boundaries. Multigrids, however, make no assumptions about boundaries or about element types of the the constituent fields - they can be overlapping, unconnected, varying, element types - whatever, as long as they are of the same (what?) topological class - eg. surface in 2-space, volume in 3-space... Downside is that you aren't guaranteed C1 continuity across boundaries - you may see artifacts at boundaries. Streamlines will work, though. Greg Kent Eschenberg <[EMAIL PROTECTED]> To: [email protected] Sent by: cc: [EMAIL PROTECTED] Subject: Re: [opendx-users] Mixed cell types son.ibm.com 04/18/2002 09:49 AM Please respond to opendx-users --On Thursday, April 18, 2002 <[EMAIL PROTECTED]> wrote: > DX does not support meshes with mixed cell types I think you're right. See page 193 in "Programmer's Reference" (version 3 release 1 modification 4) where is says "It is an error to attempt adding one kind of interpolation element to a "connections" component that already contains a different kind." Each field can have only one connection component (i.e., cells), and each can be of only one kind. There is a way to create a group that contains several fields. The manual referenced above says, however, that all the fields must have the same type of cells (pages 99, 100). Kent - - - Kent Eschenberg [EMAIL PROTECTED] (412)268-6829 Scientific Visualization Specialist Pittsburgh Supercomputing Center, CMU, Pittsburgh, PA
