フィルターのクリア

Importing Hyper Mesh ascii into matlab to extract nodal coordinates

2 ビュー (過去 30 日間)
Jonathan Harris
Jonathan Harris 2013 年 3 月 5 日
コメント済み: Adeline War 2022 年 3 月 14 日
I am currently trying to import nodal coordinates from hyper mesh into matlab. Having gone through many import tutorials, it seems a common assumption is that the data is presented in a typical grid.
Here is a sample of the data that I am working with. After 160 lines of mainly garbage the coordinates appear as the following:
BEGIN NODES
*node(1,-3.75971,-44.8974,-117.002,0,0,0,0,0)
*attributesforentity(NODES,1,2)
*attributedouble(0.0,4146,0,1,9)
*attributedouble(0.0,4147,0,1,9)
*node(2,-4.34886,-44.7984,-117.171,0,0,0,0,0)
*attributesforentity(NODES,2,2)
*attributedouble(0.0,4146,0,1,9)
*attributedouble(0.0,4147,0,1,9)
*node(3,-4.09794,-43.6885,-117.701,0,0,0,0,0)
The basic idea is to import the mesh into matlab, manipulate the points, and then write an ascii file to import back into hyper mesh or another Finite Element Solver. But at this time I am unsure how to even obtain the data, let alone re-write the file with new coordinates for the nodes.
  2 件のコメント
Ata Saricoban
Ata Saricoban 2021 年 2 月 5 日
did u find way how is possible for this?
Adeline War
Adeline War 2022 年 3 月 14 日
You can export the file from export option as a bdf file, import it and covert the data according your requirements whether its in arrays or cells and make the couting from 1 to 8 and so on in the bdf file and arrange your co-ordinates in x,y and z by pre-processing the data.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by