Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
13 mar 2012, 02:42 GMT-4
Hi
check your default resolutions parameters, on one side, and then to use a sweep mesh, transform your L shape into two rectangels by addig an internal boundary, then you can sweep it through. For good sweep mesh situations you need to think "cubisme", and cut your geometry accordingly ;)
--
Good luck
Ivar
Hi
check your default resolutions parameters, on one side, and then to use a sweep mesh, transform your L shape into two rectangels by addig an internal boundary, then you can sweep it through. For good sweep mesh situations you need to think "cubisme", and cut your geometry accordingly ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
14 mar 2012, 22:59 GMT-4
Hi, Ivar,
I did not know how to transform "L" shape back to the 2 rectangles after they were built, so I went back to the very beginning. I used 2 rectangles , then "union" them to "L" shape. now during the "union", I choose to " keep the internal boundary"(keep this option checked), then I still have an internal boundary after the whole structure is built, which I can use for "sweep" mesh.
Do you have a better way to generate the internal boundary because sometimes I would like to put an internal boundary to one domain, for example, a rectangle to be divided into 3 sections for applying different physical conditions ?
regards,
Hi
check your default resolutions parameters, on one side, and then to use a sweep mesh, transform your L shape into two rectangels by addig an internal boundary, then you can sweep it through. For good sweep mesh situations you need to think "cubisme", and cut your geometry accordingly ;)
--
Good luck
Ivar
Hi, Ivar,
I did not know how to transform "L" shape back to the 2 rectangles after they were built, so I went back to the very beginning. I used 2 rectangles , then "union" them to "L" shape. now during the "union", I choose to " keep the internal boundary"(keep this option checked), then I still have an internal boundary after the whole structure is built, which I can use for "sweep" mesh.
Do you have a better way to generate the internal boundary because sometimes I would like to put an internal boundary to one domain, for example, a rectangle to be divided into 3 sections for applying different physical conditions ?
regards,
[QUOTE]
Hi
check your default resolutions parameters, on one side, and then to use a sweep mesh, transform your L shape into two rectangels by addig an internal boundary, then you can sweep it through. For good sweep mesh situations you need to think "cubisme", and cut your geometry accordingly ;)
--
Good luck
Ivar
[/QUOTE]
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mar 2012, 01:53 GMT-4
Hi
not really but ...
1) you do not need to add a specific "union" if you use the Finish Union mode, as its already there
2) if you have a L shape already, and you overlay a rectangle, during the union you will get the two distinct domains with the internal boundary.
The internal boundary forces COMSOL to put nodes on it so with this "cubisme" painting of your geometry you can easier use the mapped and sweep mesh features
The overhead of an (or a few) internal boundary is mostly so little that you will not notice it on calculation time
--
Good luck
Ivar
Hi
not really but ...
1) you do not need to add a specific "union" if you use the Finish Union mode, as its already there
2) if you have a L shape already, and you overlay a rectangle, during the union you will get the two distinct domains with the internal boundary.
The internal boundary forces COMSOL to put nodes on it so with this "cubisme" painting of your geometry you can easier use the mapped and sweep mesh features
The overhead of an (or a few) internal boundary is mostly so little that you will not notice it on calculation time
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mar 2012, 02:32 GMT-4
Ivar,
I kind of get your idea. for example, I have a rectangle, and I want to divide it into 3 sections, with 2 internal boundaries, in order to apply different temperature. then I need to overlay a small rectangle in the middle of the big ones, the smaller one will divide the big one into 3 sections (if they are the same width). but I have to do all this before extruding the rectangle into a 3D object. my real question now is : if I have already had a 3D rectangle structure( a block), how can I put some internal boundary inside it easily(for example divide it into two)? or this is not possible because the structure is already there?
regards,
Ivar,
I kind of get your idea. for example, I have a rectangle, and I want to divide it into 3 sections, with 2 internal boundaries, in order to apply different temperature. then I need to overlay a small rectangle in the middle of the big ones, the smaller one will divide the big one into 3 sections (if they are the same width). but I have to do all this before extruding the rectangle into a 3D object. my real question now is : if I have already had a 3D rectangle structure( a block), how can I put some internal boundary inside it easily(for example divide it into two)? or this is not possible because the structure is already there?
regards,
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mar 2012, 10:10 GMT-4
Hi
normally in the same way, if your "L" is a 3D shape with a given thickness you can divide your L bloc int 3 rectangular domains by simply adding in a cube aat the L jonction and then exit in union mode. COMSOL will perform an geometrical analysis and subdivide your domains into the smallest items (if you keep interiour boundaries, as per default) and any dedoubled volume (same shape overlaying exactly each other will be made "unique" (one is ignored). Just as in "Finish Union" mode will make any common boundary between two adjacent domains into a single boundary (in Assembly mode each domain will keep its boundary and common boundaries are dedoubled as well as volumes/domains might overlap
It is important to undestand this well, you can gain quite some time like that when constructing your geoemtry with COMSOL
--
Good luck
Ivar
Hi
normally in the same way, if your "L" is a 3D shape with a given thickness you can divide your L bloc int 3 rectangular domains by simply adding in a cube aat the L jonction and then exit in union mode. COMSOL will perform an geometrical analysis and subdivide your domains into the smallest items (if you keep interiour boundaries, as per default) and any dedoubled volume (same shape overlaying exactly each other will be made "unique" (one is ignored). Just as in "Finish Union" mode will make any common boundary between two adjacent domains into a single boundary (in Assembly mode each domain will keep its boundary and common boundaries are dedoubled as well as volumes/domains might overlap
It is important to undestand this well, you can gain quite some time like that when constructing your geoemtry with COMSOL
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mar 2012, 12:37 GMT-4
Ivar,
I got the idea , thanks.
now back to the "sweep" meshing, I think sweep meshing is great for standing alone object, you can mesh any way you want. but once that object have some neighbors, or there are shared boundary or partial shared boundary, sweep meshing will be difficult. for example, my "L" shape is made of 2 rectangles. when you pick one of them to sweep meshing from one end , you can sweep very easily. but when you try to sweep meshing the 2nd rectangle, it will become hard since there are partial shared boundary. I got an error message "failed to create mesh for domain" , I attached the model.
regards,
Ivar,
I got the idea , thanks.
now back to the "sweep" meshing, I think sweep meshing is great for standing alone object, you can mesh any way you want. but once that object have some neighbors, or there are shared boundary or partial shared boundary, sweep meshing will be difficult. for example, my "L" shape is made of 2 rectangles. when you pick one of them to sweep meshing from one end , you can sweep very easily. but when you try to sweep meshing the 2nd rectangle, it will become hard since there are partial shared boundary. I got an error message "failed to create mesh for domain" , I attached the model.
regards,