PDE Toolbox: Boundary conditions between cell geometries ?

4 views (last 30 days)
Dear all,
I have a geometry consisting of two bodies which are seperated in two Cells using "importGeometry" command.
Is it possible to assign "constraints" / "connections" between this two Cells at faces which are touching ?
My aim is to perform a modal analyis where one geometry (Cell 2) is shifted in one coordinate direction only relatively to geometry 2 (Cell 1) and solving modal analysis for the new "contact" situation. The movement of Cell 2 relativately to Cell 1 is working well by using geometryFromMesh command which calculates a new mesh for the "shifted" geometry. However, right now I am challenging about the contraints between the two bodies / cells.
Thank you !
best regars
Tugrul

Answers (1)

Shivam Lahoti
Shivam Lahoti on 10 Nov 2023
Hi Tugrul Öztürk,
Based on my understanding, you have a geometry comprising of two bodies that are separated into two cells. Your objective is to perform a modal analysis where one geometry is shifted relative to the other in a specific coordinate direction. To achieve this, you need to establish a connection or constraint between the faces of the cells that are in contact with each other.
To address this, I recommend exploring the functionality of the applyBoundaryCondition function. This function enables you to impose constraints or boundary conditions on the system. You can refer to an example in MATLAB that demonstrates how to use this function effectively. To access the example, execute the following command in MATLAB:
openExample('pde/DirichletBoundaryConditionsExample')
To know more about the function specified above refer to this link:
I hope this was helpful.
Regards,
Shivam Lahoti.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!