// Copyright (c) CNES 2008 // // This software is part of CelestLab, a CNES toolbox for Scilab // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, // modify and/ or redistribute the software under the terms of the CeCILL // license as circulated by CEA, CNRS and INRIA at the following URL // 'http://www.cecill.info'. function [acc] = CL_fo_centrifugAcc(pos, omega) // Apparent acceleration due to the centrigural force (non-inertial frame) // // Calling Sequence // acc = CL_fo_centrifugAcc(pos, omega) // // Description // // //

Acceleration due to the centrifugal force (rotating frame).

//

// //

Notes:

//

- The origin for the position vector must be the central body (there is no acceleration of the origin // of the frame considered).

//

- The coordinates frame can be any frame.

//

- omega is the angular velocity vector of the (current) frame with respect to a reference (inertial) // frame.

//

- All vectors have coordinates in frame R.

//

// //

See Force models for more details.

//

//
// // Parameters // pos: Position vector [m]. (3xN or 3x1) // omega: Angular velocity vector of current frame with respect to reference frame [rad/s]. (3xN or 3x1) // acc: Acceleration [m/s^2]. (3xN) // // Authors // CNES - DCT/SB // // See also // CL_fo_centrifugPot // // Examples // pos = [6378.e3; 0; 0]; // omega = [0; 0; 1] * 2.e-7; // ~ 1 deg / day // CL_fo_centrifugAcc(pos, omega) // Declarations: // Code: // checks sizes [pos, omega] = CL__checkInputs(pos, 3, omega, 3); acc = - CL_cross(omega, CL_cross(omega, pos)); endfunction