📄 fdclib2.mdl
字号:
Position [90, 72, 210, 88]
FontName "Arial"
FontSize 11
Expr "0.5 * u[4] * b / u[1]"
}
Block {
BlockType Fcn
Name "qc/V"
Position [90, 111, 210, 129]
FontName "Arial"
FontSize 11
Expr "u[5] * cbar / u[1]"
}
Block {
BlockType Fcn
Name "rb/2V"
Position [90, 151, 210, 169]
FontName "Arial"
FontSize 11
Expr "0.5 * u[6] * b / u[1]"
}
Block {
BlockType Outport
Name "ydl"
Position [275, 113, 305, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "pb/2V"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "qc/V"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "rb/2V"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "ydl"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "qc/V"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "rb/2V"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "pb/2V"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "fmdims"
Ports [2, 1, 0, 0, 0]
Position [30, 157, 90, 188]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "FMdims"
MaskDescription "Calculate forces and moments from\ndimensionles"
"s coefficients."
MaskHelp "eval('browse fmdims')"
MaskPromptString "Mean aerodynamic chord [m]:|Wing span [m]:|Wing"
" surface [m^2]:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskVariables "cbar=@1;b=@2;S=@3;"
MaskDisplay "disp('FMdims')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "GM1(1)|GM1(2)|GM1(3)"
System {
Name "fmdims"
Location [10, 48, 566, 303]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "yad1"
Position [25, 103, 55, 117]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "Force and\nmoment\ncoefficients"
Position [25, 143, 55, 157]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse fmdims"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('FMDIMS\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [155, 100, 160, 135]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 6]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1, 0, 0, 0]
Position [440, 62, 445, 178]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "6"
DisplayOption "none"
}
Block {
BlockType Gain
Name "S"
Position [90, 136, 125, 164]
ShowName off
FontName "Arial"
FontSize 11
Gain "S"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "b"
Position [335, 123, 375, 157]
ShowName off
FontName "Arial"
FontSize 11
Gain "b"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "b "
Position [335, 203, 375, 237]
ShowName off
FontName "Arial"
FontSize 11
Gain "b"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "cbar"
Position [335, 160, 380, 200]
ShowName off
FontName "Arial"
FontSize 11
Gain "cbar"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "qdyn * S * CX"
Position [220, 20, 310, 40]
FontName "Arial"
FontSize 11
Expr "u[4]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CY"
Position [220, 55, 310, 75]
FontName "Arial"
FontSize 11
Expr "u[5]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CZ"
Position [220, 90, 310, 110]
FontName "Arial"
FontSize 11
Expr "u[6]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cl"
Position [220, 130, 310, 150]
FontName "Arial"
FontSize 11
Expr "u[7]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cm"
Position [220, 170, 310, 190]
FontName "Arial"
FontSize 11
Expr "u[8]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cn"
Position [220, 210, 310, 230]
FontName "Arial"
FontSize 11
Expr "u[9]*u[3]"
}
Block {
BlockType Outport
Name "Forces and\nmoments"
Position [495, 113, 525, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Forces and\nmoments"
DstPort 1
}
Line {
SrcBlock "b "
SrcPort 1
Points [35, 0; 0, -50]
DstBlock "Mux1"
DstPort 6
}
Line {
SrcBlock "cbar"
SrcPort 1
Points [20, 0; 0, -30]
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Force and\nmoment\ncoefficients"
SrcPort 1
DstBlock "S"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -20]
Branch {
DstBlock "qdyn * S * CZ"
DstPort 1
}
Branch {
Points [0, -35]
Branch {
Points [0, -35]
DstBlock "qdyn * S * CX"
DstPort 1
}
Branch {
DstBlock "qdyn * S * CY"
DstPort 1
}
}
}
Branch {
Points [0, 20]
Branch {
DstBlock "qdyn * S * Cl"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
DstBlock "qdyn * S * Cm"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "qdyn * S * Cn"
DstPort 1
}
}
}
}
Line {
SrcBlock "qdyn * S * Cl"
SrcPort 1
DstBlock "b"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cm"
SrcPort 1
DstBlock "cbar"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cn"
SrcPort 1
DstBlock "b "
DstPort 1
}
Line {
SrcBlock "qdyn * S * CX"
SrcPort 1
Points [100, 0; 0, 40]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "qdyn * S * CY"
SrcPort 1
Points [90, 0; 0, 25]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "qdyn * S * CZ"
SrcPort 1
Points [75, 0; 0, 10]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "b"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "S"
SrcPort 1
Points [10, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Annotation {
Position [184, 162]
VerticalAlignment "top"
Text "<--- block to obtain the actual\nforces and mom"
"ents, also used\nin engine group"
FontName "Arial"
FontSize 11
}
Annotation {
Position [204, 102]
VerticalAlignment "top"
Text "<--- aerodynamic forces and moments\nmodel of t"
"he 'Beaver' (gives force\nand moment coefficients)"
FontName "Arial"
FontSize 11
}
Annotation {
Position [189, 47]
VerticalAlignment "top"
Text "<--- block which makes rotational\nspeeds p,q,r"
" dimensionless"
FontName "Arial"
FontSize 11
}
Annotation {
Position [439, 62]
VerticalAlignment "top"
ForegroundColor "red"
Text "The blocks on the left have been grouped \nin t"
"he subsystem 'Aerodynamics Group' below:"
FontName "Arial"
FontSize 11
}
Annotation {
Position [158, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - Aerodynamics library (Beaver)"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [147, 217]
VerticalAlignment "top"
ForegroundColor "red"
Text "All three blocks are necessary to solve the air"
"craft\nequations of motion for the 'Beaver'. The aerodynamic\nmodel itself is"
" aircraft-dependent (of course)."
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -