Import 2D geometry for PDE solver from CAD
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everybody,
I want to solve a 2D PDE based heat transfer problem but I am having issues importing the geometry. I have an assembly in SolidWorks composed of many parts, I can export it as STL or STEP but they are both 3D files formats. The import in MatLab works fine and I can even plot the 3D model, but I cannot find a way to reduce it to 2D. Note that the assembly as well as all the parts making up the model are axisymmetric (thus the "need" to solve a 2D problem).
Does anybody know if there is a way to maybe slice up the model in MatLab and just select the section? Or maybe can I import a native 2D file such as DXF in place of STL/STEP?
My desire to reduce the model from 3D to 2D is to symplify the problem and reduce the computational time, as well as to more clearly display results. Any help is appreciated!
0 commentaires
Réponses (1)
Yatharth
le 19 Fév 2024
Hi Francesco,
I understand that you want to import a 2D geometry from Solidworks to MATLAB.
You can refer to the following solution in Solidworks to export a 2D stl.
MATLAB cannot read or write DXF files however there are several files on the MATLAB Central File Exchange which allow basic DXF file functionality. For more information, please visit the following URL:
I hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Geometry and Mesh dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!