I am trying to visualize a couple minimal surfaces in the program COMSOL, which requires .mphtxt files to import. After minimizing analytic approximations of my surfaces and reading them into MATLAB as a .h5 file, I have used the isosurface function to obtain isosurface node and element lists. If i try to surf2mesh these variables, I receive the intersecting subfaces error that is well documented on your website. I have tried to follow your example and use remeshsurf to obtain an intersection free mesh and then savemphtext to put it in the desired format. When I head to open the file in COMSOL, however, the surface looks nothing like our desired image. Depending on the variable opt(having tried everything from 0.1 to 100) in remeshsurf, I get some strange figures. I am curious if there is possibly an issue in that we are trying to create a tetrahedral mesh and remeshsurf is said to "remesh a triangular surface."
If that is not the source of my troubles, I was wondering if you maybe had any insight on what it may be.
Thank you,
Neal Richardson--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/groups/opt_out.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
Dr. Fang,
Thank you for your help! I have tried analyzing the different face and node lists and notice that the remeshed surface contains far less values in each list. If I try to surf2mesh my data before remeshing, I receive the intersecting subfaces error that was mentioned earlier. I obtain my incorrect meshes after s2m()ing the remeshsurfed surface and importing that into comsol.
The image I receive is the first attachment. The desired image is the second.
I know that savemphtxt is working correctly because I am able to import simple structures (cubes, spheres) into comsol without issue. I did, however, have to make one change to savemphtxt, changing the tetrahedral domain labels from 0 to 1, but I understand this is a common and well documented issue.
My only clue as to the issue is that remeshsurf calls for a triangular mesh and savemphtxt asks for a tetrahedral mesh.
Any input and advice would be greatly appreciated. Thank you,
Neal Richardson
On Tuesday, July 2, 2013 11:57:34 AM UTC-4, Neal Richardson wrote:I am trying to visualize a couple minimal surfaces in the program COMSOL, which requires .mphtxt files to import. After minimizing analytic approximations of my surfaces and reading them into MATLAB as a .h5 file, I have used the isosurface function to obtain isosurface node and element lists. If i try to surf2mesh these variables, I receive the intersecting subfaces error that is well documented on your website. I have tried to follow your example and use remeshsurf to obtain an intersection free mesh and then savemphtext to put it in the desired format. When I head to open the file in COMSOL, however, the surface looks nothing like our desired image. Depending on the variable opt(having tried everything from 0.1 to 100) in remeshsurf, I get some strange figures. I am curious if there is possibly an issue in that we are trying to create a tetrahedral mesh and remeshsurf is said to "remesh a triangular surface."
If that is not the source of my troubles, I was wondering if you maybe had any insight on what it may be.
Thank you,
Neal Richardson
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/groups/opt_out.
Dr. Fang,
In order to fill in the holes in my structures, I have padded the surface with ones, and therefore been able to export meshes into comsol, however, the isosurface mesh only creates a volume mesh of what it encloses. Considering I am trying to model a two-phase material, in order to test the structures in comsol, I would like to give both the isosurface-contained phase and the external phase material properties. Would it be possible to mesh the areas both inside and outside the isosurface.
I also am unable to specify the geometry once imported into comsol. This makes it impossible to define boundaries and boundary conditions, as well as enact any physics on the surface. COMSOL support seems to think that the geometry must be completely defined in the imported STL or mphtxt file. Once you import a mesh into comsol, you are unable to use the comsol geometry and mesh generators to add to the geometry. I was wondering how to construct the "complete geometry" so that we can run physical tests on the surfaces.
Thank you,
Neal Richardson
On Tuesday, July 2, 2013 11:57:34 AM UTC-4, Neal Richardson wrote:I am trying to visualize a couple minimal surfaces in the program COMSOL, which requires .mphtxt files to import. After minimizing analytic approximations of my surfaces and reading them into MATLAB as a .h5 file, I have used the isosurface function to obtain isosurface node and element lists. If i try to surf2mesh these variables, I receive the intersecting subfaces error that is well documented on your website. I have tried to follow your example and use remeshsurf to obtain an intersection free mesh and then savemphtext to put it in the desired format. When I head to open the file in COMSOL, however, the surface looks nothing like our desired image. Depending on the variable opt(having tried everything from 0.1 to 100) in remeshsurf, I get some strange figures. I am curious if there is possibly an issue in that we are trying to create a tetrahedral mesh and remeshsurf is said to "remesh a triangular surface."
If that is not the source of my troubles, I was wondering if you maybe had any insight on what it may be.
Thank you,
Neal Richardson
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/groups/opt_out.