Jump to content
Sign in to follow this  
Oli

SPCD displacements

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Picture.JPG

Share this post


Link to post
Share on other sites
Guest

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 

Share this post


Link to post
Share on other sites

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()

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...