Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSc Adams Car KnC analysis

Status
Not open for further replies.
Replies continue below

Recommended for you

So, look in the .adm file at around line 13277, and decode the REQ call. I can't tell from the screenshot what is wrong, exactly, but if it isn't a syntax error then it looks as though GFORCE/9 doesn't exist. That doesn't surprise me, in my dynamic models GFORCE is only used for each tire contact patch. However in a rig test I get this sort of thing for tire contact patch forces, so yes, it is probably shenanigans to do with the rig test. What event are you running?

Code:
! requests for fmx, rmx and tmx (might need to be changes).
! output is in Nmm.

!20409, 20509,30421,20523 have to be variables.

REQ/11115,
, F2 = 0.5*(GFORCE(1,0,4,3)-GFORCE(2,0,4,3))*DY(10409,10509), F3 = 0.5*(GFORCE(3,0,4,3)-GFORCE(4,0,4,3))*DY(352671,352681), F4 = (0.5*(GFORCE(1,0,4,3)-GFORCE(2,0,4,3))*DY(10409,10509)) 
, + (0.5*(GFORCE(3,0,4,3)-GFORCE(4,0,4,3))*DY(352671,352681)), COM=fmx_rmx_tmx


Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Hey, I've solved the previous error, but i'm facing following error when i simulate roll in KnC analysis. I've tried to look for Rev Joint 33 in the .amd file, but i can't find it. Is this because the joint is in test-rig template? Also, how can test-rig joints turn redundant while running the simulation?


-------------------------------------------------------------------------------
| Model Title |
|=============================================================================|
| |
| <private>/assemblies.tbl/s2.asy |
| |
-------------------------------------------------------------------------------

command: !
command: !INFO Adams Version: Adams 2019.2
command: !INFO Adams Build: 2019.2.0-CL661333
command: !INFO Assembly File: <private>/assemblies.tbl/s2.asy
command: !INFO Solver Library: C:/PROGRA~1/MSC~1.SOF/Adams/2019_2/win64/acar_solver.dll
command: !
command: preferences/solver=CXX
command: preferences/list,status=on
PREFERENCES:
SIMFAIL = NOSTOPCF
Contact Geometry Library = (not loaded)
Thread Count = 1
Library Search Path = Not Set
Status Message = On
Solverbias = CXX (C++ Solver)

command: deactivate/motion,range=2,8
Deactivated model.testrig.motion_rot_z, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_y, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_x, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_z, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_y, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_x, force/torque values will be zero in function-expression references.
command: control/routine=abgTire::con901,func=user(901,102,54,60,1,2)
command: control/routine=abgTire::con901,func=user(901,106,55,61,1,4)
command: control/routine=abgTire::con901,func=user(901,110,63,69,1,6)
command: control/routine=abgTire::con901,func=user(901,114,64,70,1,8)
command: !
command: deactivate/motion,ID=15,18,27,30 ! X motions
Deactivated model.testrig.motion_trans_x_61001, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_x_62001, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_x_63001, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_x_64001, force/torque values will be zero in function-expression references.
command: deactivate/motion,ID=16,19,28,31 ! Y motions
Deactivated model.testrig.motion_trans_y_61002, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_y_62002, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_y_63002, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_y_64002, force/torque values will be zero in function-expression references.
command: deactivate/motion,ID=14,17,26,29 ! Z motions
Deactivated model.testrig.motion_trans_z_61003, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_z_62003, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_z_63003, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_trans_z_64003, force/torque values will be zero in function-expression references.
command: deactivate/motion,ID=22,25,34,37 ! Yaw motions
Deactivated model.testrig.motion_rot_z_61004, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_z_62004, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_z_63004, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_z_64004, force/torque values will be zero in function-expression references.
command: deactivate/motion,ID=21,24,33,36 ! Pitch motions
Deactivated model.testrig.motion_rot_y_61005, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_y_62005, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_y_63005, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_y_64005, force/torque values will be zero in function-expression references.
command: deactivate/motion,ID=20,23,32,35 ! Roll motions
Deactivated model.testrig.motion_rot_x_61006, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_x_62006, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_x_63006, force/torque values will be zero in function-expression references.
Deactivated model.testrig.motion_rot_x_64006, force/torque values will be zero in function-expression references.
command: ! Keep actuator platforms flat, pitch & roll=0

ERROR: This is not an Adams Command Language keyword.
ERROR: Statement : No statement found
ERROR: Error line text : '[[roll]]=0'
ERROR: Error token text : 'ROLL'
ERROR: Error token type : identifier


---- START: ERROR ----
Errors found parsing command. Command ignored.
---- END: ERROR ----

command: activate/motion,ID=21,24,33,36
command: activate/motion,ID=20,23,32,35
command: simulate/statics


Begin Static Solution

TIRE ID: 2
TYR910 -> Pacejka 2002 Tire Model
Using 2D Road
One point Contact

TIRE ID: 4
TYR910 -> Pacejka 2002 Tire Model
Using 2D Road
One point Contact

TIRE ID: 6
TYR910 -> Pacejka 2002 Tire Model
Using 2D Road
One point Contact

TIRE ID: 8
TYR910 -> Pacejka 2002 Tire Model
Using 2D Road
One point Contact


STATICS: Original static solver will be used with the Sparse linear solver.

Static Solution converged in 6 iterations
Residual imbalance is less than 5.82971E-07

End Static Solution

Simulate status=0

command: !Perform SVC Analysis
command: control/routine=apreSOL::con1111, function=user(1111,-1,0,0,0,0,611,612,591,594)

SVC>>flt_svccsb: STARTING FULL-VEHICLE SVC CALCULATIONS.
command: sim/stat


Begin Static Solution


STATICS: Original static solver will be used with the Sparse linear solver.

Static Solution converged in 3 iterations
Residual imbalance is less than 4.17575E-05

End Static Solution

Simulate status=0


SVC>>flt_svccsb: COMPUTING FRONT COMPLIANCE MATRIX.

SVC>>flt_svccsb: COMPUTING REAR COMPLIANCE MATRIX.

SVC>>flt_svccsb: COMPUTING TIRE COMPLIANCE MATRIX.

SVC>>flt_svccsb: USING THESE TIRE STIFFNESSES:
1.00000E+02 1.00000E+02 5.00135E+01 0.00000E+00 0.00000E+00 0.00000E+00
1.00000E+02 0.00000E+00 5.00175E+01 0.00000E+00 0.00000E+00 0.00000E+00
0.00000E+00 0.00000E+00 4.99980E+01 0.00000E+00 0.00000E+00 0.00000E+00
0.00000E+00 0.00000E+00 5.00026E+01 0.00000E+00 0.00000E+00 0.00000E+00

SVC>>flt_svccsb: REMOVING BODY DOF.

SVC>>flt_svccsb: REMOVING FRONT TIRE STIFFNESSES.

SVC>>flt_svccsb: REMOVING REAR TIRE STIFFNESSES.

SVC>>flt_svccsb: COMPUTING GENERAL SVCS.

SVC>>flt_svccsb: COMPUTING FRONT SVCS.

SVC>>flt_svccsb: COMPUTING REAR SVCS.

SVC>>flt_svccsb: WRITING OUTPUT FILES.

SVC>>flt_svccsb: UPDATING vehicle_parameters_ARRAY_front.
command: array/591,NUMBERS=1428.07,550.69,1322.77,1.00,0.55,1.00,283.73,50.01,50.02

SVC>>flt_svccsb: UPDATING vehicle_parameters_ARRAY_rear.
command: array/594,NUMBERS=1428.07,550.69,1322.77,0.00,0.45,1.00,284.06,50.00,50.00
command: sim/stat


Begin Static Solution


STATICS: Original static solver will be used with the Sparse linear solver.

Static Solution converged in 1 iterations
Residual imbalance is less than 4.98993E-08

End Static Solution

Simulate status=0


SVC>>flt_svccsb: RETURNING TO ADAMS COMMAND FILE.
command: variable/297, function=0
command: output/nosep
command: preferences/simfail=stop
command: activate/motion, range=2 ,8
command: activate/motion,ID=15,18,27,30 ! X motions
command: activate/motion,ID=16,19,28,31 ! Y motions
command: activate/motion,ID=14,17,26,29 ! Z motions
command: activate/motion,ID=22,25,34,37 ! Yaw motions
command: GFORCE/2, FX=0
command: GFORCE/2, FY=0
command: GFORCE/2, FZ=0
command: GFORCE/2, TX=0
command: GFORCE/2, TY=0
command: GFORCE/2, TZ=0
command: GFORCE/4, FX=0
command: GFORCE/4, FY=0
command: GFORCE/4, FZ=0
command: GFORCE/4, TX=0
command: GFORCE/4, TY=0
command: GFORCE/4, TZ=0
command: GFORCE/6, FX=0
command: GFORCE/6, FY=0
command: GFORCE/6, FZ=0
command: GFORCE/6, TX=0
command: GFORCE/6, TY=0
command: GFORCE/6, TZ=0
command: GFORCE/8, FX=0
command: GFORCE/8, FY=0
command: GFORCE/8, FZ=0
command: GFORCE/8, TX=0
command: GFORCE/8, TY=0
command: GFORCE/8, TZ=0
command: deactivate/jprim, range=10 ,11
Deactivated model.testrig.josinl_body_stake, force/torque values will be zero in function-expression references.
Deactivated model.testrig.josper_yaw_stake, force/torque values will be zero in function-expression references.
command: !
command: !
command: simulate/statics


Begin Static Solution

Time T=0.000000000E+00.
Degree-of-freedom analysis identified redundant constraints in the model:
-------------------------------------------------------------------------
- deactivating constraint equation Zi.Zj in model.testrig.josper_per_tire_lr
- deactivating constraint equation Zi.Xj in model.testrig.jostra_trans_x
- deactivating constraint equation Zi.Yj in model.testrig.josrev_rot_x
- deactivating constraint equation Zi.Yj in model.S1_REAR_17.jorrev_hub_to_control_arm

STATICS: Original static solver will be used with the Sparse linear solver.

Static Solution converged in 4 iterations
Residual imbalance is less than 0.00000E+00

End Static Solution

Simulate status=0

command: !
command: save/system, file=xxcarxx_13873089.sav
command: !
command: ! roll motion test left turn then right turn
command: reload/system, file=xxcarxx_13873089.sav, out=knc_roll_kcse

Current simulation terminated due to RELOAD command.

The following line is a separator for the Adams Solver (C++) message file.
<++>


OS-environment variable
MSC_ADAMS_OPENMP=ON
Enforces Adams Solver (C++) to enable or disable OpenMP usage. Values are ON or OFF.


RELOAD from xxcarxx_13873089.sav successful. System time is now 0

command: motion/20, function = 4.0 * dtor * shf(time,0,1,360d,0,0)
command: motion/23, function = 4.0 * dtor * shf(time,0,1,360d,0,0)
command: motion/32, function = 4.0 * dtor * shf(time,0,1,360d,0,0)
command: motion/35, function = 4.0 * dtor * shf(time,0,1,360d,0,0)
command: motion/14, function=varval(310) - varval(334)/2* sin(4.0 * dtor * shf(time,0,1,360d,0,0))
command: motion/17, function=varval(313) + varval(334)/2* sin(4.0 * dtor * shf(time,0,1,360d,0,0))
command: motion/26, function=varval(326) - varval(335)/2* sin(4.0 * dtor * shf(time,0,1,360d,0,0))
command: motion/29, function=varval(327) + varval(335)/2* sin(4.0 * dtor * shf(time,0,1,360d,0,0))
command: simulate/statics, duration=1.0, steps=100
Begin Simulation

****** Performing Quasi-Static Simulation ******
Time T=0.000000000E+00.
Degree-of-freedom analysis identified redundant constraints in the model:
-------------------------------------------------------------------------
- deactivating constraint equation Zi.Zj in model.testrig.josper_per_tire_lr
- deactivating constraint equation Zi.Xj in model.testrig.jostra_trans_x
- deactivating constraint equation Zi.Yj in model.testrig.josrev_rot_x
- deactivating constraint equation Zi.Yj in model.S1_REAR_17.jorrev_hub_to_control_arm
Simulation Step Function Cumulative CPU Slvr
Time Size Evaluations Steps Taken time type
___________ ___________ ___________ ___________ ________ ___
0.00000E+00 0.00000E+00 0 0 0.72 1

Time :1.000000000E-02
The system has at least one incompatible constraint
The redundant constraint with the largest violation is:
RevJnt/33 Zi.Yj
Subsequent simulation may not be reliable.
Please remove incompatible constraints explicitly from the system.


[highlight ]Time :5.000000000E-03
The system has at least one incompatible constraint
The redundant constraint with the largest violation is:
RevJnt/33 Zi.Yj
Subsequent simulation may not be reliable.
Please remove incompatible constraints explicitly from the system.
[/highlight]

Time :5.000000000E-03
The system has at least one incompatible constraint
The redundant constraint with the largest violation is:
RevJnt/33 Zi.Yj
Subsequent simulation may not be reliable.
Please remove incompatible constraints explicitly from the system.
 
I'd have thought the test rig was in the adm, do a gdiff or whatever on the adm between a K&C test (again what event are you using?) and one of your dynamic tests that ran successfully.




Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor