hexagon logo

Browse By Tags

  • Issue accessing .h5 results entity

    I'm attempting to update our .bdf files to make use of .h5 instead of .xdb results files. Within Patran, I've made a new .db that successfully imported the .bdf input file. I had already used Nastran to run the .bdf, after adding in the following line…
  • PCL; res_db_create_subcase_c; How to specify the first argument?

    Hello! I am trying to write a script for results derivation and I have a problem with the first argument of function: res_db_create_subcase_c( 2, "Demo", res_create_demo_scid, res_create_demo_rcid ) How to find the correct value?…
  • How to attach multiple results files (load cases) quickly

    We work with old xdb results files, where one result file corresponds to a single load case. There are over 50 of these, and currently the only way I know to add them to the .db is via Analysis > Access Results > Attach XDB > Select Results File > *select…
  • What does function bv_create_gap_elements do? What arguments does it take?

    What does function bv_create_gap_elements do? What arguments does it take?
  • Doubt about implement a pressure (time and space varying) starting from Dytran/Nastran results

    I want to do an UNCOUPLED underwater explosion so: 1° step : explosion against a cylinder (euler domain + structure), where the cylinder is RIGID. After this step, I extract the pressure over time for the coupling surface of the structure;…
  • PCL; mass_prop_create_detailed() - APP error

    Hello! I am trying t write a function which will summarize mass and volume of each mesh group using mass_prop_create_detailed(). The function runs first loop but the next prints out following error. Could you help to debug the function? Is there…
  • How to Limit Patran Random Memory Usage When Generating RMS Results?

    UPDATE: More specifically, it is the "MSC Patran Random Application" (msc_prandom.exe) that is taking whatever RAM it needs, up to the max on my workstation. I'd like to limit that application's RAM usage in some way, to leave me with more headroom. …
  • [PCL] How to get "bush orientation"? CSYS ID?

    Hello! I am trying to write a script which will list all FEM cbush elements and their orientation CSYS ID. What PCL function can extract this property from "region_id"?
  • PCL; Patran Random - "random_randps_input.create_randps_file" input variables

    Hello! I am trying to execute Patran Random through PCL but I have a problem with 6th input parameter - an array with some integer: [3152] : random_randps_input.create_randps_file( out_rnd_name, 1, fresp_case_id_buf, fresp_case_id_buf…
  • Flutter Analysis - Problem Velocity set, Postprocessing, Results Flutter chart

    Hello, both Questions are related to flutter analysis in Flightloads. My Model is in mm and kg. So the velocity should also be in mm/s. When i have to select the velocity set in Aeroelasticity --> Analysis --> Subcase create, i can not…
  • PCL; utilities - skin solid elements. How to assure skin normals outside the solid elements?

    Hello! I am using utility skin solid elements which suppose to create shells with normals pointing outside solids. I noticed that for some solid meshes, produced skin has mixed normals. Is there a utility which can fix normals to point out without…
  • Stress Tensor results for an element have Z1 and Z2 layers. How do I combine those? I'm trying to survey the bypass loading in an area.

    Here is a sample of one load case (there are scores of them) for the Z1 and Z2 layers. Can you merge the Z1 and Z2 layers into one result for all of the load cases, and output that into a report file? Z1 Layer -Source ID--Entity…
  • Element ID's not being displayed in results

    I'm outputting stress tensor results for the y-component on a group of quad elements with multiple load cases. They have results on Z1 and Z2 layers. As shown below, the EID's are being replaced with "******" for some reason. Why? How do I fix that? …
  • PCL; Utilities/Views Based On CoordX - is it possible to execute with PCL?

    Hello! I am investigating possibilities for result display adjustment and I found Utilities/Views Based On CoordX . Running this utility does not produce any PCL output. Is it possible to run this through PCL?
  • PCL; function to skin solid elements by group using jd_create_elem_skin()

    Hello! I am trying to write a function which will skin solid elements by group using undocumented jd_create_elem_skin() . It looks like jd_create_elem_skin() takes as input: element IDs, face IDs, number of elements and some boolean. I tried…
  • PCL; How to get shell element normal vector?

    Hello! Is there a PCL function which outputs shell element normal vector? something like that: shell_get_normal(element_ID, norm_vec)
  • How to convert 13 existing RBE2s to RBE3?

    How to convert 13 existing RBE2s to RBE3?
  • PCL; How to get field ID created with fields_create() ?

    Hi! I am trying to run Patran Random through PCL but I have a problem with ASD input: random_randps_input.create_randps_file( "sx.rnd", 1, [1], [1], [1.], [0.], [ 3002 ], FALSE, ["log"], ["log"] ) 3002 - looks like ID of ASD profile…
  • PCL; How to write long strings (>200 chars) as a single line to a file?

    Hello! I am using text_write() to write results to a file but it has line length limited to 197 chars. Is it possible to override this and write longer string in a single line? Maybe there is other function which can do this?
  • I'm getting an error: $# An internal error occurred when retrieving Direct Results Access data in routine: "DraGetStateData". How do I fix this?

    I am trying to follow along with the tutorial here: https://simcompanion.hexagon.com/customers/s/article/SimAcademy-Webinar-Global-Local-Modeling-in-Patran-and-MSC-Nastran I performed the solution and have the .h5 file, but when I try…
  • How to import monitor points MONPNT1 from external text file

    I would like to import MONPNT1 points and associated sets defined outside Patran to an flds database. Unfortunately I keep receiving the following error which isn't documented: Unexpected Flightloads Error. NServer_ExeStatus returned Error=23 in Function…
  • How can I reduce the scope of interest in a large model down to a small section?

    I'm using a super simple example in the photo of having a rectangular surface fixed on one end and loaded on the other. The yellow box shows the "reduced scope" area that I'd like to pull stresses or freebody loads from. If the Full model was already…
  • How to "bring text forward" so it isn't covered by model shading (like what's happening in the photo below).

    When I use Utilities > Display > FEM Label Tool Plus to show element names, it shows them nicely as first but if I rotate the model and it has "smooth shaded" active, some/all of the text will get hidden. This also happens with element CS, node ID's that…
  • Hello I am trying solid composite. For have bending results, I need 3 elements covering the thickness. Is there a way to apply 1 comp material to all the elements or do I have to create a material with 1/3 of the plies to have the total number of plies...

    I know solid shell elements are better for this application but I am trying to compare the results in both cases
  • How to model Al honeycomb in Patran

    I want to model an Al honeycomb in 3D Properties. I could use Shell to create a hexagon, but I am looking for a different method because it is difficult to model and computationally expensive. Is there a better method to make a model with…