4569846498

01.05.2017 Views

Multibody systems simulation software 109 the I marker from the J marker resolved parallel to the axes of the I marker or DZ(I, J, I). Note that the third marker in brackets has been added to the system variable DZ to indicate that the component of displacement is resolved using this frame rather than by default the ground reference frame. A first attempt at modelling this force could be achieved with the following SFORCE statement. In this example 0206 is the I marker, 0307 is the J marker, the length of the bump stop is 50 mm and a linear stiffness for the bump stop of 300 N/mm is used. SFORCE/0607,I0206,J0307,TRANS, FUNCTIONIF(DZ(0206,0307,0206)-50:300*(50-DZ (0206,0307,0206)),0,0) This example has introduced an arithmetic IF that allows us to conditionally program the value of the FUNCTION and hence the force returned by this statement. The format used here is IF (expression 1: expression 2, expression 3, expression 4) Expression 1 is evaluated and the value obtained is used to determine which expression is used to evaluate the FUNCTION as follows: IF expression 1 0 then the FUNCTION expression 2 IF expression 1 0 then the FUNCTION expression 3 IF expression 1 0 then the FUNCTION expression 4 In this case expression 1 is DZ(0206,0307,0206)-50. Clearly when this is greater than zero the gap is open and so the calculated force from expression 4 is zero. When expression 1 is equal to zero the I marker is just making contact with the face of the bump stop but no deformation has taken place and so the force is still zero. When expression 1 is less than zero then the contact force is generated using 300*(50-DZ(0206,0307,0206)). Note that this has been programmed to ensure that a positive value is generated for the bump stop as it compresses. Although the method introduced here might work it is possible that it will cause problems during the numerical integration of the solution. This is because the arithmetic IF causes the force to switch on and off instantaneously about the point of contact. Such modelling is usually undesirable and some method is needed to improve the formulation by ‘smoothing’ the transition as contact occurs. This could be achieved by introducing another feature known as a STEP FUNCTION as follows: SFORCE/0607,I0206,J0307,TRANS, FUNCTIONSTEP(VARVAL(1),0,0,0.5,1)*(300*(50-DZ (0206,0307,0206))) VARIABLE/1,FUNCTION50-DZ(0206,0307,0206) Although referred to here as a step users of similar multibody systems software packages may also think of it as a ramp since the change in value returned by the function is not an instantaneous step change. The STEP function used here uses a cubic polynomial to smooth the transition from one state to another as shown in Figure 3.32. This example also introduces the use of VARIABLES that can be used to program equations and substitute the returned value, VARVAL(id), into

110 Mutibody Systems Approach to Vehicle Dynamics FUNCTION STEP (x, x 1 , y 1 , x 2 , y 2 ) y 1 (x 2 , y 2 ) 0 (x 1 , y 1 ) 0 0.5 x VARVAL (1) Fig. 3.32 Step function for a bump stop force J I X Y Z Fig. 3.33 Modelling of suspension bushes another FUNCTION. In this case VARIABLE/1,FUNCTION 50-DZ (0206,0307,0206) is used to program the deformation of the bump stop. The value of this, VARVAL(1) is used to define the variable on the x-axis that is used to step from one state to another. In this the step function is used to smooth the formulation of the contact force between 0 and 0.5 mm of bump stop deformation. Additional functions exist, such as an IMPACT function which might be used to switch on a contact force or to extend the material model from the initial linear one used here to a non-linear model. Another consideration here is that the force formulation takes no account of the possibility that the solution could find a point where the I marker actually moves through the bump stop and past the J marker into the vehicle body. Although this makes no sense physically there is nothing in the formulation to take account of this and should it happen the force would actually reverse direction leading to a probable failure of the solution. Clever programming can take this into account. In addition to improving the material model this could include, for

Multibody systems simulation software 109<br />

the I marker from the J marker resolved parallel to the axes of the I marker<br />

or DZ(I, J, I). Note that the third marker in brackets has been added to the<br />

system variable DZ to indicate that the component of displacement is<br />

resolved using this frame rather than by default the ground reference frame.<br />

A first attempt at modelling this force could be achieved with the following<br />

SFORCE statement. In this example 0206 is the I marker, 0307 is the J<br />

marker, the length of the bump stop is 50 mm and a linear stiffness for the<br />

bump stop of 300 N/mm is used.<br />

SFORCE/0607,I0206,J0307,TRANS,<br />

FUNCTIONIF(DZ(0206,0307,0206)-50:300*(50-DZ<br />

(0206,0307,0206)),0,0)<br />

This example has introduced an arithmetic IF that allows us to conditionally<br />

program the value of the FUNCTION and hence the force returned by<br />

this statement. The format used here is<br />

IF (expression 1: expression 2, expression 3, expression 4)<br />

Expression 1 is evaluated and the value obtained is used to determine which<br />

expression is used to evaluate the FUNCTION as follows:<br />

IF expression 1 0 then the FUNCTION expression 2<br />

IF expression 1 0 then the FUNCTION expression 3<br />

IF expression 1 0 then the FUNCTION expression 4<br />

In this case expression 1 is DZ(0206,0307,0206)-50. Clearly when this is<br />

greater than zero the gap is open and so the calculated force from expression<br />

4 is zero. When expression 1 is equal to zero the I marker is just making<br />

contact with the face of the bump stop but no deformation has taken place<br />

and so the force is still zero. When expression 1 is less than zero then the<br />

contact force is generated using 300*(50-DZ(0206,0307,0206)). Note that<br />

this has been programmed to ensure that a positive value is generated for<br />

the bump stop as it compresses.<br />

Although the method introduced here might work it is possible that it will<br />

cause problems during the numerical integration of the solution. This is<br />

because the arithmetic IF causes the force to switch on and off instantaneously<br />

about the point of contact. Such modelling is usually undesirable<br />

and some method is needed to improve the formulation by ‘smoothing’ the<br />

transition as contact occurs. This could be achieved by introducing another<br />

feature known as a STEP FUNCTION as follows:<br />

SFORCE/0607,I0206,J0307,TRANS,<br />

FUNCTIONSTEP(VARVAL(1),0,0,0.5,1)*(300*(50-DZ<br />

(0206,0307,0206)))<br />

VARIABLE/1,FUNCTION50-DZ(0206,0307,0206)<br />

Although referred to here as a step users of similar multibody systems software<br />

packages may also think of it as a ramp since the change in value<br />

returned by the function is not an instantaneous step change. The STEP<br />

function used here uses a cubic polynomial to smooth the transition from<br />

one state to another as shown in Figure 3.32.<br />

This example also introduces the use of VARIABLES that can be used<br />

to program equations and substitute the returned value, VARVAL(id), into

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!