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" is a list with all nodes or vertices of an area with special interest. inflow is self-explanatory.
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
thanks for last time's help. Answering the question relating to the order of the results, I need to find that out first.
How do I update the my meshpy repository? Is 'git pull http://git.tiker.net/trees/meshpy.git'
the right way?
-------- Original-Nachricht --------
> Datum: Thu, 02 Dec 2010 10:26:12 -0500
> Von: Andreas Kloeckner <lists(a)informa.tiker.net>
> An: Islam El Salawi <islamelsalawi(a)gmx.de>, hedge(a)tiker.net
> Betreff: Re: [Hedge] cgns, vtk
> Dear Islam,
> On Thu, 02 Dec 2010 15:09:05 +0100, "Islam El Salawi"
> <islamelsalawi(a)gmx.de> wrote:
> > first of all, I'd like to thank you, who helped me getting started
> > with meshing using hedge and meshpy. What I want to do now, is to
> > read in a cgns mesh. I've already converted it to vtk. Is it possible
> > to read in vtk-files in hedge or do I have to do some python
> > programming on my own?
> Both a yes.
> > Second question is: Can I read in a starting
> > solution?
> Of course--hedge doesn't care where you get your initial condition.
> > I have some cfd results from which I want to generate
> > another calculation run and how can I do this?
> Before I can meaningfully answer this, I'd need to know whether the
> geometry and solution uses some sort of high-order discretization, and
> if so, which.
GRATIS! Movie-FLAT mit über 300 Videos.
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
I'm wondering about how to specify the boundary conditions for a 2D mesh.
Reading through one of the example .py files, i see things like
boundary_tagger and some descriptive words like in flow and outflow but I
can't quite find out where the specific boundary conditions are defined and
assigned to the various parts of the mesh. The documentation and wiki I
tried reading weren't clear enough so I'm a bit confused. Should I be
looking in the "main" file, or the __init__.py operator files for these