Jump to content


  • Content Count

  • Joined

  • Last visited

About HenLopes

  • Rank

Profile Information

  • Country
  • Are you University user?

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. HenLopes

    Open a .txt file scripting

    Thank you very much Manoj. I worked that way.
  2. HenLopes

    Open a .txt file scripting

    Hello, I'm trying to open a .txt file in Compose but I get an error. Error: invalid input in argument 1; type must be a string or a valid file stream in call to function textscan at line number 2 fid = fopen('nodes.txt'); track =textscan(fid, '%f %f %f %f %s %s'); fclose(fid); track_node = track{:,1}; x_node_track = track{:,2}; y_node_track = track{:,3}; z_node_track = track{:,4}; Do I need to import the txt file firstly ? If yes how can I do it? How can I call a .txt file in Compose? Thank you!
  3. HenLopes

    Stress Tensor Components GPSTRESS

    Hi Rahul, Thank you very much for your reply. I'm using HW 2018. Problem is I'm trying to extract this from a model witch contains 1D/ 2D elements together with solids. Is there a workaround for this? Any different output file that can provide me the stress tensors ( XX, YY, ZZ, XY, YZ, ZX) on the nodes? I'll be grateful for any help you can provide. Regards, Henrique
  4. HenLopes

    Stress Tensor

    Hello, Is anyone knows if it is possible from a model (2D/3D elements)to get as an output file the stress tensor (xx, yy, zz, xy, yz, zx) per node? When selecting STRESS control card I just get a (.pch) file with nodal displacements (not stresses) and a (.strs) file with stresses but per element instead per node. I was thinking that could be done by selecting GPSTRESS control card, but when I select that happens nothing! Thank you for your help.
  5. Hi all, I'm trying to get as an output the Stress Tensor Components (Grid Point Stresses) on the nodes of my structure. For that I have defined on my control cards: Global Output Request - GPSTRESS Format - PUNCH I'm using Optistruct as my solver. The problem is that I just get an output(.pch) file with only Grid Point Displacements (Nodal displacements) not Grid Point Stresses. From the Altair OptiStruct Reference Guide p.2415 I read that could be possible. As I missing some step? Could you please help me? Thank you.