Import mesh from Ansys

버전 1.0.1 (6.49 KB) 작성자: Hauke Gravenkamp
Imports the mesh from a .dat file generated by Ansys into Matlab
다운로드 수: 320
업데이트 날짜: 2020/10/8

라이선스 보기

If you have a finite element mesh generated in Ansys Workbench and want to import it into Matlab, do the following:

- in Ansys workbench: Create an "input file" (in the model, select "solution" in the tree, click "tools"->Write input file)

- in Matlab: pass the file name of the input file to the function 'importMesh_ansys2D'.

The function reads the vertex coordinates and connectivity from the .dat file and stores them into Matlab arrays. For an example, see the file 'test_importMesh'.

Notes:
- Works for 2D only. However, the extension to 3D should be straightforward by selecting the corresponding columns in the connectivity.
- The additional nodes (in case of quadratic shape functions) are ignored.
- For triangular elements, the connectivity table repeats the third vertex. This format is adopted from Ansys.

인용 양식

Hauke Gravenkamp (2024). Import mesh from Ansys (https://www.mathworks.com/matlabcentral/fileexchange/80907-import-mesh-from-ansys), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

add example file

1.0.0