Can I simulate more than one stl geometry/ an assmebly with the 'createpde' function?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
R
am 17 Mai 2024
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 Kommentare
Siehe auch
Kategorien
Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!