SPCD displacements

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

Hello,

 

I used 'fields' to transfer displacments and rotations from a model with a coarse mesh to a model with a fine mesh.

There are different Interpolation Options available.

 

How can I read (show) all displacements/rotation in the createted SPCD's (maybe in a table) before solving?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Hi Oli,

     

    Do you want to show/label displacement/rotation values on GUI for SPCDs?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Yes, like in the Picture below. I want to see the displacements/rotations for all SPCD's in one load collector. I just know how to display a single one. Would be great to have get table with all dis/rot from one load collector.

    <?xml version="1.0" encoding="UTF-8"?>Picture.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Hi,

     

    I will check if there is a script which can do that.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Hi Oli,

     

    Unfortunately I couldn't find a script to write out SPCD data to text file or some other format.

     

    You can either write your own script or get from .fem file 

  • tinh
    tinh Altair Community Member
    edited January 2018

    This template may help (run by command *usercheck spcd.tpl spcdout.csv 0)

    file spcd.tpl:

    *loads(3,2,'SPCD')

       *format()

           *string('SPCD,')

           *field(integer,collector.id,0) *string(',')

           *field(integer,location.id,0)

           *if([comp1!=-999999.0])   

                *string(',1,')       

    *field(real,comp1,8) *end()   

            *endif()

            *if([comp2!=-999999.0])   

                 *string(',2,')       

    *field(real,comp2,8) *end()   

            *endif()

            *if([comp3!=-999999.0])   

                 *string(',3,')       

    *field(real,comp3,8) *end()   

            *endif()

            *if([comp4!=-999999.0])   

                 *string(',4,')       

    *field(real,comp4,8) *end()   

            *endif()

            *if([comp5!=-999999.0])   

                *string(',5,')   

    *field(real,comp5,8) *end()       

            *endif()

            *if([comp6!=-999999.0])   

                 *string(',6,')       

    *field(real,comp6,8) *end()   

            *endif()

                

    *output()