Co-ordinates arrangements

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

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

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited July 2018

    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

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2018

    Hi Tinh,

     

    I am unable use the command.

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

  • tinh
    tinh Altair Community Member
    edited July 2018

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

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2018

    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.

  • tinh
    tinh Altair Community Member
    edited August 2018

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

  • tinh
    tinh Altair Community Member
    edited August 2018

    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