--
You received this message because you are subscribed to the Google Groups "pyNastran Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/eb60809c-b840-4e91-a7ed-9d5f66b96374%40googlegroups.com.
If you have matrices that you want to read, see:model.set_additional_matrices_to_read(matrices) matrices = {b'BHH' : True,b'KHH' : False,} # you want to read some matrices, but not othersmatrices = [b'BHH', b'KHH'] # assumes TrueIf you the table is a geom/result table, see:model.set_additional_result_tables_to_read(methods_dict)methods_dict = {b'OUGV1' : [method3, method4],b'GEOM4SX' : [method3, method4],b'OES1X1' : False,}If you want to take control of the OP2 reader (mainly useful for obscure tables), see:methods_dict = {b'OUGV1' : [method],}model.set_additional_generalized_tables_to_read(methods_dict)
Jason,From what I've seen of Autodesk Nastran/Nastran In-CAD, they make an OP2 very similar to MSC and NX's OP2 other than their geometry definition, which is very different. I'd expect as long as you're requesting the output data correctly, then pyNastran will read it just fine. If you can load the strain data in your GUI, I'd assume it would work just fine in pyNastran (or crash/print some message saying the table is messed up). Otherwise, I need a small example and an ASCII version of the F06 would help a lot as well.Regarding the neutral file, I've never tried to parse that. I thought that was ASCII, so it's going to be ~50,000x slower than a good binary parser, so not ideal.Steve
On Wed, Aug 7, 2019 at 10:01 AM Jason Ross <jaso...@entro-eng.com> wrote:
--Hello,I'm working on a problem using Autodesk Nastran In-CAD where I'm interested in the strain history of the nodes.I've been able to access stress results using the op2.ctetra_stress object. I don't see the same results for strain.Autodesk Nastran doesn't output an F06 file, but it does produce a .OUT file which is supposedly similar. I've also looked at the .OUT file and it does contain strain data. I've also looked at the "Results Neutral" output file and it contains strain data as well.Is there a way of getting the strain results from Nastran In-CAD using PyNastran?Thanks!
You received this message because you are subscribed to the Google Groups "pyNastran Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastra...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/1ae26f87-a572-43e3-9a33-7c1eed99a26d%40googlegroups.com.
Jason,
If you update, it should work now. You'll need to specify the mode as "autodesk" when you call read_op2.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/1ae26f87-a572-43e3-9a33-7c1eed99a26d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/16705505-51f9-4d5c-87a3-0ec32fab3f87%40googlegroups.com.
Do you have the .out file that goes with that? I've never had an example for nonlinear solid stress/strain.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/16705505-51f9-4d5c-87a3-0ec32fab3f87%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/4cc2175d-8d7a-4c6c-bf6f-d9697dd1728e%40googlegroups.com.
Jason,
The nonlinear solid strains should work now. Autodesk works a bit differently than MSC/NX though.For linear stresses/strains in MSC/NX/Autodesk, you'll get your stress/strain data in ctetra_stress or ctetra_strain.For nonlinear stress/strains in MSC/NX, the stress/strain data shows up in a single nonlinear table and the results are stored in nonlinear_ctetra_stress_strain. For Autodesk, the nonlinear stresses show up in ctetra_stress, but the nonlinear strains show up in nonlinear_ctetra_stress_strain, except the stress data is set to 0. That's what Autodesk is writing, so I don't want to mess with, especially since things may change in the next version.Steve
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/4cc2175d-8d7a-4c6c-bf6f-d9697dd1728e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/bf117bca-7910-4e53-976f-6c7b483640d2%40googlegroups.com.