-
Are stresses extracted from DPF global or local to the element orientation
When using DPF to extract stresses are the values returned in the global system, or the local element system?
-
transform direction stresses to a different coordinate system node for node
for rotating the stress tensor I use the dpf.operators.geo.rotate function with an op.inputs.fields_container and an op.inputs.coordinate_system for an rotation field the problem is, the rotation is just performt for the first entry in the rotation field, not used as a field as I expected. Use case is getting stress in a…
-
DPF Install issue
I used the Ansys Python Manager to download python and relevant libraries. When I do that and then try to run dpf in with the following command from ansys.dpf import core as dpf in Jupyter notebook I get the following error. `---------------------------------------------------------------------------AttributeError…
-
How to compare two transient runs and extract maximum of difference between nodal temperatures?
We want to compare two thermal transient runs, under the assumption they contain results at the exact same time steps. As an end result, we want to get a plot of the maximum differences between nodal results over the entire time range - i.e. we only have one plot showing max(t2,t1) not at every time step but for the entire…
-
How can I export a GLB / GLTF file format with PyDPF?
How can I export a GLB / GLTF file format with PyDPF?
-
How to get svar outputs with ansys-dpf?
Can anyone help with getting svar output results with ansys-dpf? I cannot find it in model result fields.
-
Error extracting nodal forces from beam connection
I am working on building a script to pull forces from beam connections in a model. In my test model I have 2 shells with holes cut in each and a beam connection between them. In the UI I can place a 'Beam Probe' and get all the data I need, but I cannot seem to get it through DPF. I get the same error with Output Controls…
-
How can I calculate joint forces on MPC184 elements using PyDPF?
How can I calculate joint forces on MPC184 elements using PyDPF?
-
How can I filter all nodes / elements above a certain result threshold using DPF / PyDPF?
How can I filter all nodes / elements above a certain result threshold using DPF / PyDPF?
-
How to calculate contact surface and heat flow with the use of PyDpf
How to calculate contact surface and heat flow with the use of PyDpf
-
Heat passed through contact surface with the use of PyDPF
How to calculate the heat that has passed through a contact surface with the use of PyDPF?
-
Example throws DPFServerException
Hi, I would like to use DPF for one of my tasks. I have installed ansys-dpf- core version 0.8.1and tried the example according to the documentation from ansys.dpf.core import Model from ansys.dpf.core import examples model = Model(examples.find_simple_bar()) print(model) But when I get to print line it raises this error:…
-
How do I fetch Angular Velocity and Angular Acceleration using PyDPF from a Transient Analysis?
How do I fetch Angular Velocity and Angular Acceleration using PyDPF from a Transient Analysis??
-
How to move Element Table Data to Nodal in DPF
Element table data is per element, but often stored per node (i.e results at node I , J , K , L). How can use DPF to get this data as "Nodal" values. I suppose going the other way would work if it is easier, average the nodal values and get 1 value per element. What I am trying to do is create a plot of contact gap-volume.…
-
How to retrieve the material name of an element in mesh ?
I want to get the material name for each element so ican get it's properties in engineering data. i am using dpf but it only gave me the matid and i don't know how to link it to the name of the material. Thank you in advance. @AKD-Scripting-Team
-
Usage of DPF operator vtk to fields
Hi all, I am using pyDPF I am trying to get the data from a VTK file, and combine it with results of RST file. I found the operator "vtk_to_fields" unfofortinately I could not figure out how to use this operator. I have already looked at the example as well as the tests in github but did not find anything useful. could you…
-
dpf.FieldsContainer item access by label name
I've explored the capabilities of Data Processing Framework (DPF) in getting and processing data of Mechanical analysis for possible application in ACT-extension. dpf.FieldsContainer is the object that stores results data for particular entity and time scoping. Target entity is a 'Location', result set is 'time…
-
How can I plot deformed and undeformed mesh ( with result) together using PyDPF?
I would like to plot result having deformed mesh and undeformed mesh after getting results from PyDPF. The plot should looks something similar to Mechanical, like below.
-
Plot field Vectors on a Named Selection in PyDPF
How to plot field vectors on a named selection in PyDPF?
-
Extracting results from a Path in Transient analysis and creating a 3D Surface Plot in PyDPF
How to extract results from a path in a Transient analysis and create a spatiotemporal 3D surface plot in PyDPF?
-
How to plot result on cut mesh using PyDPF
Hi I would like to plot a one side of a volume geometry, for which I have nodal results, and would like to cut the geometry with specific plane. I have tried the mesh_plan_clip operator but as soon as I use it, the output mesh is cannot really plot the results. I have tried to create a possible solution with the PyVista…
-
How do I get the centroid of my contact elements
I want to save the centroid of the contact elements in all my contacts in a CSV. How would I do that in Mechanical?
-
How do i extract h5 results using DPF?
Hello Ansys developers: I'am trying to extract some results from an h5 file to plot them using Python Result, but i couldn't found how to read the h5 file and extract my fields. is it even possible ? Thank you in advance
-
[DPF] An unexpected error occurred - rst file used by another program
Hello, I'm writing some codes in DPF in a python result inside my modal analysis, so I need to read the rst file with the dataSource accessed with the "dpf.DataSources(analysis.ResultFileName)" command. My code works well, but when I want to resolve my modal analysis, it shows this error : An unexpected error occurred :…
-
How to plot within a Python result the total stiffness energy in a named selection with ansys dpf ?
Hello everyone, As the title suggest, I want to plot within a Python result the total stiffness energy in a named selection with ansys dpf. I made something that plot the stiffness energy by element on a given named selection, and I think I have to use fields operators to plot the total stiffness energy on the named…
-
How do i extract force reaction table from rst file using DPF Post?
Hello Ansys developers: recently i am trying to extract force reaction from rst file without opening Ansys Mechanical. As the below pic shows, i want to get the forces on the whole process time steps. Thus, i implemented such code to get my target values. But i get the following error msg: I suppose that i have defined a…