Import tetrehedral mesh - how?
Hello, StarCD users,
I don't know how to import a tetrehedral mesh generated by another package into STAR-CD. The datum format that I generated with another package is like this: # for nodes NodeNumber, X_Coordinate, Y_Coordinate, Z_Coordinate ... # for cells CellNumber, NodeNo_1, NodeNo_2, NodeNo_3, NodeNo_4 ... I can put a "V" letter in front of each node entry and put a "C" to replace the cell number of each cell entry, then read in the modified file from PRO-STAR, in order to generate the vertices and cells. But this only works for a hexahedral grid, i.e., each cell have eight nodes. Should I further modify each cell entry to force it ot be an eight-node sequence? Because the UserGuide tells me I can use an N1-N2-N3-N3-N4-N4-N4-N4 sequence to present an N1-N2-N3-N4 tetrahedral cell. But will the modifications cause left-hand/crack or other errors? Thanks for you suggestions, Jiaying |
Re: Import tetrehedral mesh - how?
Hi Jiaying, try to use the standard formats like Nastran to import the grid. That's the way I do it. Cheers, Thomas
|
Re: Import tetrehedral mesh - how?
you can use shell script to convert the current node and cell to star-cd vertex and cell format and then vread as well as cread them in star-cd.
|
Re: Import tetrehedral mesh - how?
Yes, that's what I did, and it works well. Thanks, Jiaying
|
All times are GMT -4. The time now is 19:24. |