TAGGED: array
-
-
November 11, 2024 at 11:05 pm
Mehdi Baghaee
SubscriberHi, 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 am
mohan.urs
Ansys EmployeeHey,
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 am
Mehdi Baghaee
SubscriberCould 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 pm
mohan.urs
Ansys EmployeeHey,
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
- Unable to connect to the license
- lmgrd is not running: License server machine is down or not responding.
- Moment Reaction probe with Large deformation
- Running multiple LS-DYNA simulations with batch files
- Problem with ANSYS installation
- Ansys 2025 R1 Student Licensing Issue
- Ansys with Vmware and CPU configuration : I’m lost, good practice?
-
2723
-
959
-
813
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.