Hai Dr Jonas., how are you? I am attracted to your question as I have some information on it. Below, I supply you with all the answers you need, but I would really appreciate it if you could press the RECOMMENDATION buttons underneath my 3 research papers' titles in my AUTHOR section as a way of you saying thanks and appreciation for my time and knowledge sharing. Thank you in advance and please read my answers below
In ANSYS APDL (ANSYS Parametric Design Language), you can calculate the work conducted by external loads using the *CFOPEN command to open a results file and *GET command to retrieve the required results data. Here's a general outline of the steps to calculate the work conducted by external loads:
Perform Analysis:Ensure you have already performed the analysis using ANSYS. The analysis results should include nodal displacements, element stresses, and other relevant quantities.
Open Results File:Use the *CFOPEN command to open the results file containing the nodal displacements and element stresses. For example: *CFOPEN, "results_file.rst"
Retrieve Data:Use the *GET command to retrieve nodal displacements and element stresses. You'll need to specify element and node numbers, and the results item you're interested in (e.g., displacement, stress). For example: *GET, Ux, NODE, node_number, U, X *GET, Sx, ELEM, elem_number, S, X
Calculate Work:Once you have the nodal displacements and stresses, you can calculate the work conducted by external loads using the formula: Work = Σ(F * δ) Where F is the applied force (e.g., external load) and δ is the corresponding displacement.
Summation and Post-Processing:Loop over all nodes or elements where external loads are applied, calculate the work for each load case, and sum the results to get the total work conducted by the external loads.
Save Results:You can store the calculated work values in variables and save them for further analysis or export.
Please note that the above steps provide a general guideline. You'll need to adapt the commands and procedures to your specific analysis setup and requirements. Additionally, make sure you're using appropriate units and considering the coordinate systems and load cases in your calculations.
Always refer to the ANSYS documentation and resources for specific command details and options related to results retrieval and manipulation.