[Hedge] boundary condition
Islam El Salawi
islamelsalawi at gmx.de
Tue Dec 14 04:50:43 PST 2010
Hallo,
watching wing.py script, I found:
fvi2fm = mesh.face_vertex_indices_to_face_marker
in make_wingmesh(). "fvi2fm" is a variable of type "dict" in which frozensets of vertex indices are assigned to a specific integer. This integer represents a boundary condition. In this dictionary "fvi2fm" stands the following example:
frozenset([2475, 3445, 1406]): 1000
with the specified frozenset of vertex indices and the allocated integer. My question is, why are there three vertex indices? Is it possible to create a dict with frozensets of all "noslip" vertex indices and allocate the boundary condition to it, like
wall=[0,1,4,5......2348,5990]
inflow=[35,46,57,....,134]
dict({frozenset(wall):1000,frozenset(inflow):2})
"wall" is a list with all nodes or vertices of an area with special interest. inflow is self-explanatory.
Thanks
Islam
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
More information about the Hedge
mailing list