TAGGED: array
-
-
November 11, 2024 at 11:05 pmMehdi BaghaeeSubscriber
Hi, I have two vectors with same length (A,B). I want to divide each element of A by the same element of B (i.e. A(i)/B(i)) and make a new vector of C (C(i)=A(i)/B(i)). I want to do this using *VOPER, C, A, DIV, B command in APDL, but could not get the correct answer. Does any body know how is it possible in APDL using VOPER command? What is the meaning of A/B in the case of A and B are arrays using *VOPER command? I surffed the web but could not find any example in this case. Any help
-
November 12, 2024 at 5:13 ammohan.ursAnsys Employee
Hey,
Can you check these links.Â
VM129 - explains the description of the problem which is very similar to yours.
VM129 Input Listing - gives the apdl input to solve and validate the problem. Check the code and change the missing parts from your code.Reagrds,
Mohan Urs-
November 12, 2024 at 11:24 amMehdi BaghaeeSubscriber
Could not find any similarity between your problem and mine. NOthing were found related to DIV command in your suggested pages (VM129 ,VM129 Input Listing).
-
November 12, 2024 at 12:12 pmmohan.ursAnsys Employee
Hey,
I apologise for the confusion what i meant was DIV in *oper command is indeed for division.
The problem might be with your syntax that is why i provided those links.
if you check the 2nd linkÂ
Here this is the correct syntax for getting 1st derivative of an array D wrt time t in array A and save it in E. You just have to replace DER1 to DIV and point to your arrays.Let me know how it goes.
Regards,
Mohan Urs
-
-
-
- You must be logged in to reply to this topic.
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- not able to get result
- Unable to recover corrupted project in Workbench
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Questions and recommendations: Septum Horn Antenna
- AQWA: Hydrodynamic response error
- Tutorial or Help for 2 way FSI
- Moment Reaction probe with Large deformation
- 2 way coupled FSI for ball bearing
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.