Can I simulate more than one stl geometry/ an assmebly with the 'createpde' function?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
R
il 17 Mag 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 Commenti
Vedere anche
Categorie
Scopri di più su Geometry and Mesh in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!