Dear FMK,
I meet a problem about the MP_Constrain and maybe it is very easy for you.
I need to add a MP constrain equation like this:
There are two nodes: Node 1 and Node 2. The displacement of Node 1 is denote by X1, Y1, the displacement of Node 2 is denote by X2,Y2, and I need to add the constrain equation of:
X1=X2+Y2-Y1
The problem is that in the right hand side of the equation it contain a item of Y1. So it has the DOF from both the retained node and the contain node. But in the MP_Constrain it seems that you can just add the constrain matrix between the retained node to the contain node.
So would you please tell me if this constrain equation can be add by the MP_Constrain command and how? Or if it is impossible? Thank you so much!
Best Regards
Need some help about the MP_Constrain
Moderators: silvia, selimgunay, Moderators
-
- Posts: 50
- Joined: Mon Jun 18, 2007 1:10 am
- Location: ROMA
this type of constraint can't be applied using an MP_Constraint:
you have a # of options, all involve writing some code:
1) enforce it using a penalty type constraint where you write a spring type element.
2) you create a new subclass off Node for Node1, give it a pointer to Node2, fix the 1 direction and when you do an update set the x1 displacement.
you have a # of options, all involve writing some code:
1) enforce it using a penalty type constraint where you write a spring type element.
2) you create a new subclass off Node for Node1, give it a pointer to Node2, fix the 1 direction and when you do an update set the x1 displacement.
-
- Posts: 50
- Joined: Mon Jun 18, 2007 1:10 am
- Location: ROMA