Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
4 years ago
15.01.2021, 07:01 GMT-5
This is a common mistake. If you have both domain and boundary features that uses From Material, then the materials must be assigned not only to domains, but also to boundaries. Boundaries do not inherit domain materials.
This means that you have to add the same material twice, but with different types of selection. Even better, add the material once under Global Definitions, and use two Material Link nodes to connect it to both domains and boundaries.
-------------------
Henrik Sönnerlind
COMSOL
This is a common mistake. If you have both domain and boundary features that uses **From Material**, then the materials must be assigned not only to domains, but also to boundaries. Boundaries do not inherit domain materials.
This means that you have to add the same material twice, but with different types of selection. Even better, add the material once under **Global Definitions**, and use two **Material Link** nodes to connect it to both domains and boundaries.
Poorvank Sharma
Teaching Assistant | IIT Bombay | Vibrational Spectroscopy
Please login with a confirmed email address before reporting spam
Posted:
4 years ago
18.01.2021, 01:07 GMT-5
Updated:
4 years ago
19.01.2021, 00:39 GMT-5
Hi Henrik
Do you have any tutorial by any chance for the Global Definitions approach? It would be helpful. Also, I have 2 different materials sharing a common boundary. I am not sure how to assign the boundary as a particular material.
Regards
Poorvank
Hi Henrik
Do you have any tutorial by any chance for the Global Definitions approach? It would be helpful. Also, I have 2 different materials sharing a common boundary. I am not sure how to assign the boundary as a particular material.
Regards
Poorvank
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
4 years ago
20.01.2021, 01:55 GMT-5
For the Global Defintions approach:
- When you add the material you select Add to Global Material instead of Add to Component.
- Under Materials in the component, you add More Materials -> Material Link
- In the Material Link node, you select the global material you want and the geometrical selection.
It is (for physical reasons) uncommon that there are two materials sharing a common boundary. But if this really is the case, you cannot use From Material for both of them. In one of the physics nodes using material data you have to enter the data manually as User Defined.
-------------------
Henrik Sönnerlind
COMSOL
For the Global Defintions approach:
1. When you add the material you select **Add to Global Material** instead of **Add to Component**.
2. Under **Materials** in the component, you add **More Materials -> Material Link**
3. In the **Material Link** node, you select the global material you want and the geometrical selection.
It is (for physical reasons) uncommon that there are two materials sharing a common boundary. But if this really is the case, you cannot use **From Material** for both of them. In one of the physics nodes using material data you have to enter the data manually as **User Defined**.