Update of /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13512/Systems
Modified Files:
Controls.cpp
Log Message:
Add a comment about CD for gear
Index: Controls.cpp
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems/Controls.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -r1.47 -r1.48
*** Controls.cpp 19 Aug 2016 10:20:42 -0000 1.47
--- Controls.cpp 20 Aug 2016 09:00:58 -0000 1.48
***************
*** 320,324 ****
if (_aircraft->_user_wing_data > 0)
{
! _aircraft->_Cmalpha = CLaw[0]*(dcgx/cbarw) - Vh*CLah[0]*(1.0f-deda);
_aircraft->_Cmq = -_aircraft->_CLq*(lh/cbarw);
_aircraft->_Cmadot = -_aircraft->_CLadot*(lh/cbarw);
--- 320,327 ----
if (_aircraft->_user_wing_data > 0)
{
! // float dwf = L/_aircraft->_aero_rp[X];
! // float Kf = 0.033f + 0.538f*dwf + 1.5f*dwf*dwf;
! // float Cmfus = Kf*D*D*L/Sw/cbarw/CLaw[0];
! _aircraft->_Cmalpha = CLaw[0]*(dcgx/cbarw) - Vh*CLah[0]*(1.0f-deda);
_aircraft->_Cmq = -_aircraft->_CLq*(lh/cbarw);
_aircraft->_Cmadot = -_aircraft->_CLadot*(lh/cbarw);
***************
*** 478,481 ****
--- 481,485 ----
file << " <!-- CD0 is based on fuselage, wing, horizontal- en vertical tail -->" << std::endl;
file << " <!-- Antennas, struts and wires are not taken into account -->" << std::endl;
+ file << " <!-- CD for gear (fixed and retractable) is defined below -->" << std::endl;
file << " <function name=\"aero/force/Drag_zero_lift\">" << std::endl;
file << " <description>Drag at zero lift</description>" << std::endl;
|