🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Co-ordinates arrangements

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

I have exported my model to .dat format for nastran solver.

While reviewing the .dat file, I found that, the co-ordinate points for nodes are not in same order (in terms of precision).

Is there any settings to keep the precision of the node co-ordinates same in all directions.

Sample is shown in image..

 

Thanks,

Prabhu P

<?xml version="1.0" encoding="UTF-8"?>node sample.png

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    There is a template command to set precision is *realprecision

    But I don't think that is a good idea, setting a low precision is similar to changing your node coordinates

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Tinh,

     

    I am unable use the command.

    can you please give me an example on using this command.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Could you explain reasons you have to set a low precision?

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Tinh,

    I am using my .dat file into excel to make some Quality Checks.

    In one process, we have to filter the co-ordinates of particular elements.

    We felt difficult in segregating the x,y and z co-ordinates, because they did not follow the uniform precision.

     

    For example, my X will be 1080.0125, Y will be 1524.012 and X will be 1526.12.

    In this, I cannot make automated segregation since there will be absence of space/tab in the dat file.

     

    In this case, we are expecting for uniform precision, at the level of 2 decimal places or 3 decimal places.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Can't you import .dat file into excel with fixed width ?

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi Prabhu,

    using 'fixed width' option when import *.dat file to excel, you can easily separate x, y, z of nodes:

    don't need 'space' among them
    Capture.PNG.be16c9257f63262fa01e7f1aee451754.PNG