######################################################################### # Parameter for RBD # # *动力学基于有量纲的形式 # ######################################################################### int codeOfAleModel = 1; int strategyForFaceNormalVelocity = 0; //0-By Sweeping volume; 1-By face center 1st; 2-By face center 2nd; int strategyForGCLSource = 0; //0-present; 1-Ahn; double referenceLength = 1.0; double referenceVelocity = 357.907; double referenceDensity = 0.044125; ######################################################################### # 动力学方程计算相关参数 # ######################################################################### //0:1st-Admas-Bashforth; 1:2nd-Admas-Bashforth; 2:1st-Implicit-Euler; 3:2nd-Implicit Euler; 4:2nd-Adams-Moulton; 5:3rd-Adams-Moulton int methodForKineticEquation = 0; double relaxParameterOfKinetic = 1.0; ######################################################################### # 物体刚体运动信息 # ######################################################################### int numberOfMovingBodies = 1; ############################## body0 ############################## // mass of parts. double mass_0 = 1.0; // mass matrix of parts Ixx Iyy Izz Ixy Ixz Iyz. double massMatrix_0[] = 1e-7, 1e-6, 1e-6, 0.0, 0.0, 0.0; // initial six DOF position information of parts. xc yc zc. double massCenter_0[] = 5.0 , 0.0, 0.0; // initial six DOF position information of parts. angleX angleY angleZ. double attitudeAngle_0[] = 0.0 , 0.0, 0.0; // initial six DOF move information of parts. vc vy vz. double massCenterVelocity_0[] = 0.0, 0.0, 0.0; // initial six DOF move information of parts. omigX omigY omigZ. double angularVelocity_0[] = 0.0, 0.0, 0.0; // the object that the parts belong to. int fartherIndex_0 = -1; // the assembly position of the parts. xc yc zc angleX angleY angleZ. double configPamameter_0[] = 0.0 ,0.0 ,0.0 ,0.0 ,0.0 ,0.0; // the moving method of parts. int RBDMethod_0 = 14; double amplitude_0 = 5.0; double reduceFrequency_0 = 0.05; //string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter"; // additional force(inertia system) fX fY fZ. double addedForce_0[] = 0.0 ,0.0 ,0.0 ; // additional moment(inertia system) mX mY mZ. double addedMoment_0[] = 0.0 ,0.0 ,0.0 ; // the deformation method of the parts. int morphing_0 = 0;