-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugs in INTERFACE_BOUNDARIES? #90
Comments
What type of error occurs? For example, is it an issue parsing the control file or the nesting of the embedded objects? If you want to build polygons with straight sides it will probably be easier to use
|
The method you provide to input straight line is just like the issue #31 I posted before, it will take a long time and huge memory. Thanks. |
the time spending function is here (for the case test.off): OuterToInnerboundaryDistances
|
Dear andrewwinters5000, Thank you very much for your kindly reply. Yes, the inner boundaries I studied are very complicated. I need mesh all the domains inside the outer boundary, with the complicated inner (interface) boundaries.
Thanks, Tang Laoya |
All curves, whether they are
Here is an example of an
Yes, one can use the input flag ./HOHQMesh -sLimit 9 -f <pathToControlFile> would increase the allowed number of refinement levels to 9. |
Thank you very much, this part is just what I want to know. Do you mean that if I have N discrete points to form a polygon, the first number of every line should be 0, 1/N, 2/N, ..., 1? By this way (together with nKnots =5) I can keep the input polygons are straight lines instead of curves? Thanks, Tang Laoya |
Yes, this is one way to create the parametric variable |
Thank you very much for your kindly remind. just now I set an error nKnots, but even I correct it, the program still display error message, could you please help me to take a look at it? Thanks, Tang Laoya |
You can only have a single Also, your stats file and mesh file output have the same name, which might cause a conflict. |
You don't want to define the boundaries as polygons as one would for a FEM mesh. HOHQMesh is designed for generating meshes for high order methods, and higher order boundary curves than usual low order FEMs. Because HOMs are sensitive to singularities, even in curvature, HOHQMesh tries to put an element corner at every joint so that the joint singularities are not straddled by high order polynomials. Making chains of large numbers of small straight line segments makes that impossible. Instead, you want to define your boundaries as "large" segments of smooth curves with few joints. You probably want to use splines for those chains of piecewise linear curves. You should check the manual for how the splines are defined, but the first argument is the parametrization for the spline, i.e. \vec x = \vec S(t). It is traditional (though recent work of Sherwin's group suggests it's not optimal) to parametrize by arc length. My book discusses this, but for straight line segments it is easy to get the length of each segment to compute the location of a node as the fraction along the total length of the curve. If you want to define your boundaries as polygonal with large numbers of straight line segments, the you should use a FEM mesh generator. |
Dear andrewwinters5000, Thank you very much for your kindly remind. After decreased the number of 'INNER_BOUNDARIES' to 1, the program can work now, but after a long time it displayed the following error:
and the test files and output files are attached. Could you please give me some hint on how to check the disconnected edges according to the output information (althrough I think the input is correct :) )? Thanks, Tang Laoya |
Dear andrewwinters5000, Further tests show that if I only keep the out_boundary, the program return the wrong mesh (I also changed 'polynomial order = 1'). The test file is attached. Thanks, Tang Laoya |
It is hard to say what is going wrong. With fine features you may need to add manual refinement centers based on the problematic areas you can identify when you plot the |
Dear developers,
I am trying to use the INTERFACE_BOUNDARIES to generate meshes with multiple domains. I used the example given in the last of 'the-model.md' (just replaced the INNER_BOUNDRIES to INTERFACE_BOUNDARIES, see attachment 'interfaceboundary.control'), the mesh is error. Could you please help me to take a look at it?
BTW: I usually use the polygons as input, such as 'test.off' attached, how to use 'SPLINE_CURVE' input these polyons (just segments instead of curves)?
Thanks,
Tang Laoya
test.zip
The text was updated successfully, but these errors were encountered: