Please login with a confirmed email address before reporting spam
Posted:
7 years ago
6 avr. 2018, 20:54 UTC−4
Updated:
7 years ago
6 avr. 2018, 22:14 UTC−4
I should have read the help more completely. It is clear what to do with the identity boundary pair.
Use src2dst_pn where pn corresponds to the name of the Identity Boundary Pair name. For instance, I want to map the x displacement and y displacement from a beam onto another object to deform it with the Moving Mesh interface. I use an Identity Boundary Pair with name ap1. The beam is the source and the rectangle below is the destination. In the Prescribed Displacement boundary condition in the Moving Mesh Interface, I use src2dst_ap1(u) and src2dst_ap1(v) to map the beam deflection onto the rectangle.
To make the model, I used "Form Assembly" instead of "Form Union" at the bottom of the Geometry node. I checked the box "Create imprints" so that Comsol split the edge of the overlapped edges. This is necessary otherwise the Prescribed Displacement boundary condition will try to evaluate the src2dst_ap1(u) on the unconnected portion of the boundary and Comsol will throw an error during the solve. The example is attached for further inspection.
I think this technique may be useful for Fluid Structure Interaction so that the structural mesh doesn't need to match the fluid mesh. Any further comment or experience on this is welcomed.
-------------------
Jason Nicholson
I should have read the help more completely. It is clear what to do with the identity boundary pair.
Use *src2dst_pn* where *pn* corresponds to the name of the Identity Boundary Pair name. For instance, I want to map the x displacement and y displacement from a beam onto another object to deform it with the Moving Mesh interface. I use an Identity Boundary Pair with name *ap1*. The beam is the source and the rectangle below is the destination. In the Prescribed Displacement boundary condition in the Moving Mesh Interface, I use *src2dst_ap1(u)* and *src2dst_ap1(v)* to map the beam deflection onto the rectangle.
To make the model, I used "Form Assembly" instead of "Form Union" at the bottom of the Geometry node. I checked the box "Create imprints" so that Comsol split the edge of the overlapped edges. This is necessary otherwise the Prescribed Displacement boundary condition will try to evaluate the *src2dst_ap1(u)* on the unconnected portion of the boundary and Comsol will throw an error during the solve. The example is attached for further inspection.
I think this technique may be useful for Fluid Structure Interaction so that the structural mesh doesn't need to match the fluid mesh. Any further comment or experience on this is welcomed.
![Undeformed configuration and mismatched meshes.](https://preview.ibb.co/fiEo2H/Clipboard02.jpg)
![Deformed Configuration. The deformation is exaggerated.](https://preview.ibb.co/fpESwc/Clipboard01.jpg)