Jump to content

yuwen

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by yuwen

  1. It looks lovely ! Thanks for sharing the demo. Have a great weekend. Cheers, Yuwen
  2. Dear Heinch, Thanks for the reply. The surfaces I generated is created from the Fsubsurface feature where I give four surface edges and the parent surface, and it will return me a four edge parametrized surface, ready for meshing. Hence, I dont have control over how the surface can be parametrized differently. If you look at the attached images. I have a wing that is connected to a fuselage. At the intersection where the wing is attached to the fuselage, the wing and the fuselage joint patches have same mapping factor, so their boundaries edges will be aligned. However, if you look at the surface in front of the fuselage joint patch, I need to manually tweak the mapping factor (-0.7) so that I can have smooth transition in the size of the mesh from the fuselage joint to the fuselage nose. It would be great if I can know for example, given the length and the width of a patch, and also number of panels in the u and v direction, what mapping factor I need to give so that I can make sure the size the mesh at the boundary of two neighboring patch, will have similar length and width, or aspect ratio. Again, if I simply set the distribution to be uniform, this won't be a problem, but if I want to have non-uniform distribution, I will probably need the equation in order to know what would be the right mapping factor to put in. Please let me know if you have any suggestion. And If it is not of too much trouble, could you help ask the developer to look for the equation ? If it is too hard to find, I guess I can create a simple rectangular patch and try to reverse engineering the equation on it. Cheers, Yuwen
  3. Hi there, I am trying to mesh a wing using the meshengine. I want the mesh to be cosine distribution so it is more clustered towards the wing leading and trailing edge. I realize that with the mapping factor, if put in negative value, it will sort of give the result I want (see attached). And the larger the negative value , -1 --> -0.7 ----> -0.5, the more clustered the mesh will be in both ends. May I know what is the underlying formula that calculates the meshing spacing given the number of panels and mapping factor ? So I can understand better what goes on. Thank you. Yuwen
  4. Hi Herich, Ok, thanks for the code. Yuwen
  5. Hi Heinrich, Thanks for the reply. How about if i want to sort an array in an ascending order ? One of the reason I want to use FList is because it seems to be the only type that has a built-in sorting feature, but apparently it has the same recursion issue. Is there any other object that allows me to return an sorted array from an input Fdouble/Finteger array ? Thank you. Yuwen
  6. Hi, I am trying to create an Flist containing Fdouble values, and would like to use the .sort() class function to sort the values within the list. However, when i do that, i got an error, *** ERROR Command Control : failure [invalid expression "|04_partision|clean_partision_gen1:Wing_x_loc_array.maxElement()": Cannot execute non-const command on const object]. May i know what does it mean by a non-const command and const object ? Thank you. Yuwen
×
×
  • Create New...