Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Combining Mapped and Free Mesh in 3d
Posted Feb 27, 2011, 6:42 a.m. EST Low-Frequency Electromagnetics, Geometry Version 3.5a 2 Replies
Please login with a confirmed email address before reporting spam
Hello Everyone,
my model consists of 5 round line-coils (r=0.04m, EMB1-5), arbitrarily positioned around a phantom (block with l=0.1m). This phantom is not fully modeled in COMSOL and I will not need to do so. However, I need the magnetic field strength inside the middle cross plane (EMB6) of the phantom at points with 5mm resolution. Thus, I want a fine mesh inside this plane (I used 1cm so far, and interpolated the others with postinterp in MATLAB).
Since this solution is only part of a larger optimization process, I need the calculation as fast as possible. When I use a Free mesh for all the geometries, the mesh inside the middle cross plane becomes very complex and irregular. If I could use a mapped quad mesh on the plane, less elements would be used (356 vs. 100) and thus the solution time would go down.
Whenever I create a mapped mesh for the plane and then go into free mesh to mesh the remaining elements, an error comes up: #4134: "Boundary mesh must consist of triangular elements only".
I would assume now that it is not possible to combine mapped and free meshed elements in 3D?
I need to use 3D and no symmetry can be applied, I am on 3.5a. I have 4 available but all my MATLAB scripts are already written for 3.5a.
Thanks in advance for your help!
Attachments:
.png of the model
my model consists of 5 round line-coils (r=0.04m, EMB1-5), arbitrarily positioned around a phantom (block with l=0.1m). This phantom is not fully modeled in COMSOL and I will not need to do so. However, I need the magnetic field strength inside the middle cross plane (EMB6) of the phantom at points with 5mm resolution. Thus, I want a fine mesh inside this plane (I used 1cm so far, and interpolated the others with postinterp in MATLAB).
Since this solution is only part of a larger optimization process, I need the calculation as fast as possible. When I use a Free mesh for all the geometries, the mesh inside the middle cross plane becomes very complex and irregular. If I could use a mapped quad mesh on the plane, less elements would be used (356 vs. 100) and thus the solution time would go down.
Whenever I create a mapped mesh for the plane and then go into free mesh to mesh the remaining elements, an error comes up: #4134: "Boundary mesh must consist of triangular elements only".
I would assume now that it is not possible to combine mapped and free meshed elements in 3D?
I need to use 3D and no symmetry can be applied, I am on 3.5a. I have 4 available but all my MATLAB scripts are already written for 3.5a.
Thanks in advance for your help!
Attachments:
.png of the model
Attachments:
2 Replies Last Post Feb 28, 2011, 3:32 a.m. EST