CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   A basic Gmsh question: 1D transfinite (http://www.cfd-online.com/Forums/openfoam-meshing-open/88178-basic-gmsh-question-1d-transfinite.html)

the_phew May 10, 2011 10:58

A basic Gmsh question: 1D transfinite
 
Hello,

My Pointwise license has lapsed, and I need to get by with Gmsh for the near term. The code seems to be pretty nice, but I have a very fundamental issue that I was hoping to get help on:

I have a line, and I want to specify its dimension and spacing at both ends. In Pointwise, I would simply dimension the connector, specify the DeltaS at each end, then choose a distribution (tanh seems to always work well). In Gmsh, only two distributions are available, "Progression" and "Bump", but for both of these, the spacings at both ends are dependent variables (dependent on the Progression Parameter and Dimension). I want the independent variables to be the spacings at each end and the dimension. Is this possible?

Thanks

P.S.-Related question; how do you find out the dimension of a line/curve generated by the "regular" (non-transfinite) 1-D algorithm? I would like the dimension to display when I mouse over the entity, but it only tells me the index of the line and its endpoints.


All times are GMT -4. The time now is 20:03.