Can I simulate more than one stl geometry/ an assmebly with the 'createpde' function?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, so I want to run a thermal (transient) thermal simulation on a CAD model.
I have imported the CAD model, which consists of distinct bodies that are in both thermal contact and physical contact (like a cuboid, inside another cubiod). I want to use the createpde fucntion to carryout the simulation.
This is an example of my code:
xxChamber = createpde('thermal', 'transient');
importGeometry(xxChamber, 'Outermost component v.stl')
pdegplot(xxChamber, "FaceLabels","on")
Now this works quite alright, but once I begin to add the second chamber, by typing in
importGeometry (hydrolysisChamber, "middle v2.stl")
The code gives an error saying ' Assemblies of more than one geometric model not supported.
What can I do to solve this problem?
댓글 수: 0
답변 (1개)
R
2024년 5월 17일
This is likely due to the limitations of importGeometry:
A possible workaround to achieve the functionality you have described would be to, instead of exporting an .STL file from your third party tool, export a mesh and then try to import it to a geometry using geometryFromMesh:
If there are multiple domains in your geometry (e.g. a cuboid inside a cuboid with different properties), you will need to make sure that the exported mesh data that you are trying to import into MATLAB also contains mappings of the nodes to different regions. See ElementIDtoRegionID input for geometryFromMesh:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!