XANSYS Forum Index
    Register    

FAQ    Search    Memberlist    Usergroups    SmartFeedSmartFeed    Profile    Log in
Post26 Variables Operations
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
Author Message
mohamed.folifel
User


Joined: 09 Jun 2015
Posts: 4

PostPosted: Mon Jun 22, 2015 5:42 am  Reply with quote

Hello,
I need to do operations to the results rather than changing them after every solution. For the mentioned code , I want to do the following operation :- ((UY1 -UY2) + UY3)/2
and FY*-1

Code:

/POST26
nsel,all

NSOL,2,4263,U,y,UY1
nnNumber = 4254

NSOL,3,4468,U,y,UY2
nnnNumber = 4459

NSOL,4,437,U,y,UY3
nnnNumber = 437


RFORCE,5,437,F,y,FY
nNumber = 437


Hence,I am aware of add, division and multiplying commands however, I want to know how to use these operations for both a given result and user input value (eg. UY2*-1) and the substraction command,as well.
_________________
Mohamed Gaber
Student at the Technical University of Dresden
Germany
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

sleek template created by Andrew Charron