Multigrid strategies for viscous flow solvers on anisotropic unstructured meshes. AIAA Pape
MIPI_DSI_Specification_v1b_8320061508
MIPI Alliance Standard for Display Serial InterfaceV1.0MIPI Board approved 5 April 2006* Caution to Implementers *This document is a MIPI Specification formally approved by the MIPI Alliance Board of Directors per the process defined in the MIPI Alliance Bylaws. However, the Display Working Group has identified certain technical issues in this approved version of the specification that are pending further review and which may require revisions of or corrections to this document in the near future. Such revisions, if any, will be handled via the formal specification revision process as defined in the Bylaws.A Release Notes document has been prepared by the Display Working Group and is available to all members. The intent of the Release Notes is to provide a list of known technical issues under further discussion with the working group. This may not be an exhaustive list; its purpose is to simply catalog known issues as of this release date. Implementers of this specification should be aware of these facts, and take them into consideration as they work with the specification.Release Notes for the Display Serial Interface Specification can be found at the following direct, permanent link:https:///members/file.asp?id=4844MIPI Alliance Standard for Display Serial InterfaceVersion 1.00a – 19 April 2006MIPI Board Approved 5-Apr-2006Further technical changes to DSI are expected as work continues in the Display Working GroupNOTICE OF DISCLAIMER12The material contained herein is not a license, either expressly or impliedly, to any IPR owned or controlled 3by any of the authors or developers of this material or MIPI. The material contained herein is provided on 4an “AS IS” basis and to the maximum extent permitted by applicable law, this material is provided AS IS 5AND WITH ALL FAULTS, and the authors and developers of this material and MIPI hereby disclaim all 6other warranties and conditions, either express, implied or statutory, including, but not limited to, any (if7any) implied warranties, duties or conditions of merchantability, of fitness for a particular purpose, of8accuracy or completeness of responses, of results, of workmanlike effort, of lack of viruses, and of lack of 9negligence.10ALSO, THERE IS NO WARRANTY OF CONDITION OF TITLE, QUIET ENJOYMENT, QUIET11POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD 12TO THIS MATERIAL OR THE CONTENTS OF THIS DOCUMENT. IN NO EVENT WILL ANY13AUTHOR OR DEVELOPER OF THIS MATERIAL OR THE CONTENTS OF THIS DOCUMENT OR 14MIPI BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING SUBSTITUTE15GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, 16CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER17CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR18ANY OTHER AGREEMENT, SPECIFICATION OR DOCUMENT RELATING TO THIS MATERIAL, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH1920DAMAGES.21Without limiting the generality of this Disclaimer stated above, the user of the contents of this Document is further notified that MIPI: (a) does not evaluate, test or verify the accuracy, soundness or credibility of the2223contents of this Document; (b) does not monitor or enforce compliance with the contents of this Document;24and (c) does not certify, test, or in any manner investigate products or services or any claims of compliance 25with the contents of this Document. The use or implementation of the contents of this Document may26involve or require the use of intellectual property rights ("IPR") including (but not limited to) patents,27patent applications, or copyrights owned by one or more parties, whether or not Members of MIPI. MIPI does not make any search or investigation for IPR, nor does MIPI require or request the disclosure of any2829IPR or claims of IPR as respects the contents of this Document or otherwise.30Questions pertaining to this document, or the terms or conditions of its provision, should be addressed to: 31MIPI Alliance, Inc.32c/o IEEE-ISTO33445 Hoes Lane34Piscataway, NJ 0885435Attn: Board SecretaryContents3637Version 1.00 – 13 April 2006 (i)381Overview (8)391.1Scope (8)401.2Purpose (8)412Terminology (Informational) (9)422.1Definitions (9)432.2Abbreviations (10)442.3Acronyms (10)453References (Informational) (13)463.1DBI and DBI-2 (Display Bus Interface Standards for Parallel Signaling) (13)473.2DPI and DPI-2 (Display Pixel Interface Standards for Parallel Signaling) (13)3.3DCS (Display Command Set) (14)48493.4CSI-2 (Camera Serial Interface 2) (14)503.5D-PHY (MIPI Alliance Standard for Physical Layer) (14)514DSI Introduction (15)524.1DSI Layer Definitions (16)534.2Command and Video Modes (17)4.2.1Command Mode (17)54554.2.2Video Mode Operation (17)564.2.3Virtual Channel Capability (18)5DSI Physical Layer (19)57585.1Data Flow Control (19)595.2Bidirectionality and Low Power Signaling Policy (19)605.3Command Mode Interfaces (20)615.4Video Mode Interfaces (20)625.5Bidirectional Control Mechanism (20)5.6.1Clock Requirements (21)64655.6.2Clock Power and Timing (22)666Multi-Lane Distribution and Merging (23)676.1Multi-Lane Interoperability and Lane-number Mismatch (24)686.1.1Clock Considerations with Multi-Lane (25)696.1.2Bi-directionality and Multi-Lane Capability (25)706.1.3SoT and EoT in Multi-Lane Configurations (25)717Low-Level Protocol Errors and Contention (28)727.1Low-Level Protocol Errors (28)737.1.1SoT Error (28)747.1.2SoT Sync Error (29)757.1.3EoT Sync Error (29)7.1.4Escape Mode Entry Command Error (30)76777.1.5LP Transmission Sync Error (30)787.1.6False Control Error (31)797.2Contention Detection and Recovery (31)807.2.1Contention Detection in LP Mode (32)817.2.2Contention Recovery Using Timers (32)7.3Additional Timers (34)82837.3.1Turnaround Acknowledge Timeout (TA_TO) (34)847.3.2Peripheral Reset Timeout (PR_TO) (35)7.4Acknowledge and Error Reporting Mechanism (35)85868DSI Protocol (37)878.1Multiple Packets per Transmission (37)888.2Packet Composition (37)898.3Endian Policy (38)908.4General Packet Structure (38)8.4.2Short Packet Format (40)92938.5Common Packet Elements (40)948.5.1Data Identifier Byte (40)958.5.2Error Correction Code (41)968.6Interleaved Data Streams (41)978.6.1Interleaved Data Streams and Bi-directionality (42)988.7Processor to Peripheral Direction (Processor-Sourced) Packet Data Types (42)998.8Processor-to-Peripheral Transactions – Detailed Format Description (43)1008.8.1Sync Event (H Start, H End, V Start, V End), Data Type = xx 0001 (x1h) (43)1018.8.2Color Mode On Command, Data Type = 00 0010 (02h) (44)1028.8.3Color Mode Off Command, Data Type = 01 0010 (12h) (44)1038.8.4Shutdown Peripheral Command, Data Type = 10 0010 (22h) (44)8.8.5Turn On Peripheral Command, Data Type = 11 0010 (32h) (44)1041058.8.6Generic Short WRITE Packet, 0 to 7 Parameters, Data Type = xx x011 (x3h and xBh) (44)1068.8.7Generic READ Request, 0 to 7 Parameters, Data Type = xx x100 (x4h and xCh) (44)1078.8.8DCS Commands (45)1088.8.9Set Maximum Return Packet Size, Data Type = 11 0111 (37h) (46)1098.8.10Null Packet (Long), Data Type = 00 1001 (09h) (46)8.8.11Blanking Packet (Long), Data Type = 01 1001 (19h) (46)1101118.8.12Generic Non-Image Data (Long), Data Type = 10 1001 (29h) (47)1128.8.13Packed Pixel Stream, 16-bit Format, Long packet, Data Type 00 1110 (0Eh) (47)8.8.14Packed Pixel Stream, 18-bit Format, Long packet, Data type = 01 1110 (1Eh) (48)1131148.8.15Pixel Stream, 18-bit Format in Three Bytes, Long packet, Data Type = 10 1110 (2Eh) (49)1158.8.16Packed Pixel Stream, 24-bit Format, Long packet, Data Type = 11 1110 (3Eh) (50)1168.8.17DO NOT USE and Reserved Data Types (50)1178.9Peripheral-to-Processor (Reverse Direction) LP Transmissions (51)1188.9.1Packet Structure for Peripheral-to-Processor LP Transmissions (51)1198.9.2System Requirements for ECC and Checksum and Packet Format (51)1208.9.3Appropriate Responses to Commands and ACK Requests (52)1218.9.4Format of Acknowledge with Error Report and Read Response Data Types (53)1228.9.5Error-Reporting Format (53)8.10Peripheral-to-Processor Transactions – Detailed Format Description (54)1231248.10.1Acknowledge with Error Report, Data Type 00 0010 (02h) (55)1258.10.2Generic Short Read Response with Optional ECC, Data Type 01 0xxx (10h – 17h) (55)8.10.3Generic Long Read Response with Optional ECC and Checksum, Data Type = 01 1010 126127(1Ah) 551288.10.4DCS Long Read Response with Optional ECC and Checksum, Data Type 01 1100 (1Ch)..56 1298.10.5DCS Short Read Response with Optional ECC, Data Type 10 0xxx (20h – 27h) (56)1308.10.6Multiple-packet Transmission and Error Reporting (56)1318.10.7Clearing Error Bits (56)1328.11Video Mode Interface Timing (56)1338.11.1Traffic Sequences (57)1348.11.2Non-Burst Mode with Sync Pulses (58)1358.11.3Non-Burst Mode with Sync Events (58)1368.11.4Burst Mode (59)1378.11.5Parameters (60)1388.12TE Signaling in DSI (61)1399Error-Correcting Code (ECC) and Checksum (63)1409.1Hamming Code for Packet Header Error Detection/Correction (63)1419.2Hamming-modified Code for DSI (63)9.3ECC Generation on the Transmitter and Byte-Padding (67)1421439.4Applying ECC and Byte-Padding on the Receiver (67)9.5Checksum Generation for Long Packet Payloads (68)14414510Compliance, Interoperability, and Optional Capabilities (70)14610.1Display Resolutions (70)14710.2Pixel Formats (71)14810.3Number of Lanes (71)14910.4Maximum Lane Frequency (71)15010.5Bidirectional Communication (71)15110.6ECC and Checksum Capabilities (72)15210.7Display Architecture (72)15310.8Multiple Peripheral Support (72)154Annex A (Informative) Contention Detection and Recovery Mechanisms (73)A.1PHY Detected Contention (73)155156A.1.1Protocol Response to PHY Detected Faults (73)MIPI Alliance Standard for Display Serial Interface 1571 Overview158The Display Serial Interface (DSI) specification defines protocols between a host processor and peripheral 159160devices that adhere to MIPI Alliance specifications for mobile device interfaces. The DSI specification 161builds on existing standards by adopting pixel formats and command set defined in MIPI Alliance 162standards for DBI-2 [2], DPI-2 [3], and DCS [1].1.1 Scope163Interface protocols as well as a description of signal timing relationships are within the scope of this 164165specification.166Electrical specifications and physical specifications are out of scope for this document. In addition, legacy interfaces such as DPI-2 and DBI-2 are also out of scope for this specification. Furthermore, device usage 167168of auxiliary buses such as I2C or SPI, while not precluded by this specification, are also not within its 169scope.1.2 Purpose170171The Display Serial Interface specification defines a standard high-speed serial interface between a 172peripheral, such as an active-matrix display module, and a host processor in a mobile device. By 173standardizing this interface, components may be developed that provide higher performance, lower power, 174less EMI and fewer pins than current devices, while maintaining compatibility across products from 175multiple vendors.2 Terminology (Informational)176177The MIPI Alliance has adopted Section 13.1 of the IEEE Standards Style Manual, which dictates use of the 178words “shall”, “should”, “may”, and “can” in the development of documentation, as follows:179The word shall is used to indicate mandatory requirements strictly to be followed in order to conform to the standard and from which no deviation is permitted (shall equals is required to).180181The use of the word must is deprecated and shall not be used when stating mandatory requirements; must is 182used only to describe unavoidable situations.183The use of the word will is deprecated and shall not be used when stating mandatory requirements; will is 184only used in statements of fact.185The word should is used to indicate that among several possibilities one is recommended as particularly 186suitable, without mentioning or excluding others; or that a certain course of action is preferred but not 187necessarily required; or that (in the negative form) a certain course of action is deprecated but not 188prohibited (should equals is recommended that).189The word may is used to indicate a course of action permissible within the limits of the standard (may 190equals is permitted).191The word can is used for statements of possibility and capability, whether material, physical, or causal (can 192equals is able to).193All sections are normative, unless they are explicitly indicated to be informative.2.1 Definitions194195Forward Direction: The signal direction is defined relative to the direction of the high-speed serial clock. 196Transmission from the side sending the clock to the side receiving the clock is the forward direction.197Half duplex: Bidirectional data transmission over a Lane allowing both transmission and reception but 198only in one direction at a time.199HS Transmission: Sending one or more packets in the forward direction in HS Mode. A HS Transmission 200is delimited before and after packet transmission by LP-11 states.201Host Processor: Hardware and software that provides the core functionality of a mobile device.Lane: Consists of two complementary Lane Modules communicating via two-line, point-to-point Lane 202203Interconnects. A Lane is used for either Data or Clock signal transmission.204Lane Interconnect: Two-line point-to-point interconnect used for both differential high-speed signaling 205and low-power single ended signaling.206Lane Module: Module at each side of the Lane for driving and/or receiving signals on the Lane.207Link: A complete connection between two devices containing one Clock Lane and at least one Data Lane. 208LP Transmission: Sending one or more packets in either direction in LP Mode or Escape Mode. A LP 209Transmission is delimited before and after packet transmission by LP-11 states.Packet: A group of two or more bytes organized in a specified way to transfer data across the interface. All 210211packets have a minimum specified set of components. The byte is the fundamental unit of data from which 212packets are made.213Payload: Application data only – with all Link synchronization, header, ECC and checksum and other 214protocol-related information removed. This is the “core” of transmissions between host processor and 215peripheral.216PHY: The set of Lane Modules on one side of a Link.217PHY Configuration: A set of Lanes that represent a possible Link. A PHY configuration consists of a 218minimum of two Lanes: one Clock Lane and one or more Data Lanes.219Reverse Direction: Reverse direction is the opposite of the forward direction. See the description for 220Forward Direction.221Transmission: Refers to either HS or LP Transmission. See the HS Transmission and LP Transmission 222definitions for descriptions of the different transmission modes.223Virtual Channel: Multiple independent data streams for up to four peripherals are supported by this 224specification. The data stream for each peripheral is a Virtual Channel. These data streams may be 225interleaved and sent as sequential packets, with each packet dedicated to a particular peripheral or channel. 226Packet protocol includes information that directs each packet to its intended peripheral.227Word Count: Number of bytes.2.2 Abbreviations228229e.g. Forexample2.3 Acronyms230231AM Active matrix (display technology)232ProtocolAIP ApplicationIndependent233ASP Application Specific Protocol234BLLP Blanking or Low Power intervalPixel235perBPP Bits236Turn-AroundBTA Bus237InterfaceCSI CameraSerial238DBI Display Bus InterfaceDI Data239Identifier240DMA Direct Memory Access241DPI Display Pixel InterfaceDSIDisplay Serial Interface242 DT Data Type243 ECC Error-Correcting Code 244 EMI Electro Magnetic interference 245 EoTEnd of Transmission246 ESD Electrostatic Discharge 247 FpsFrames per second248 HS High Speed 249 ISTOIndustry Standards and Technology Organization250 LLP Low-Level Protocol 251 LP Low Power 252 LPI Low Power Interval 253 LPS Low Power State (state of serial data line when not transferring high-speed serial data) 254 LSBLeast Significant Bit255 Mbps Megabits per second256 MIPI Mobile Industry Processor Interface 257 MSBMost Significant Bit258 PE Packet End 259 PF Packet Footer 260 PH Packet Header 261 PHY Physical Layer 262 PI Packet Identifier 263 PPI PHY-Protocol Interface 264 PS Packet Start 265 PT Packet Type 266 PWB Printed Wired Board267 QCIFQuarter-size CIF (resolution 176x144 pixels or 144x176 pixels)268 QVGA Quarter-size Video Graphics Array (resolution 320x240 pixels or 240x320 pixels)269RAM Random Access Memory270271RGB Color presentation (Red, Green, Blue)272SLVS Scalable Low Voltage Signaling273SoT Start of Transmission274SVGA Super Video Graphics Array (resolution 800x600 pixels or 600x800 pixels) 275VGA Video Graphics Array (resolution 640x480 pixels or 480x640 pixels)VSA Vertical276ActiveSync277WVGA Wide VGA (resolution 800x480 pixels or 480x800 pixels)278CountWC Word3 References (Informational)279280[1] MIPI Alliance Standard for Display Command Set, version 1.00, April 2006281[2] MIPI Alliance Standard for Display Bus Interface, version 2.00, November 2005[3] MIPI Alliance Standard for Display Parallel Interface, version 2.00, September 2005282283[4] MIPI Alliance Standard for D-PHY, version 0.65, November 2005284Design and Analysis of Fault Tolerant Digital System by Barry W. Johnson285Error Correcting Codes: Hamming Distance by Don Johnson paper286Intel 8206 error detection and correction unit datasheet287National DP8400-2 Expandable Error Checker/Corrector datasheetMuch of DSI is based on existing MIPI Alliance standards as well as several MIPI Alliance standards in 288289simultaneous development. In the Application Layer, DSI duplicates pixel formats used in MIPI Alliance 290Standard for Display Parallel Interface [3] when it is in Video Mode operation. For display modules with a 291display controller and frame buffer, DSI shares a common command set with MIPI Alliance Standard for 292Display Bus Interface [2]. The command set is documented in MIPI Alliance Standard for Display 293Command Set [1].3.1 DBI and DBI-2 (Display Bus Interface Standards for Parallel Signaling)294295DBI and DBI-2 are MIPI Alliance specifications for parallel interfaces to display modules having display 296controllers and frame buffers. For systems based on these specifications, the host processor loads images to 297the on-panel frame buffer through the display processor. Once loaded, the display controller manages all 298display refresh functions on the display module without further intervention from the host processor. Image 299updates require the host processor to write new data into the frame buffer.300DBI and DBI-2 specify a parallel interface; that is, data is sent to the peripheral over an 8-, 9- or 16-bit-301wide parallel data bus, with additional control signals.302The DSI specification supports a Command Mode of operation. Like the parallel DBI, a DSI-compliant 303interface sends commands and parameters to the display. However, all information in DSI is first serialized 304before transmission to the display module. At the display, serial information is transformed back to parallel 305data and control signals for the on-panel display controller. Similarly, the display module can return status 306information and requested memory data to the host processor, using the same serial data path.3.2 DPI and DPI-2 (Display Pixel Interface Standards for Parallel Signaling)307DPI and DPI-2 are MIPI Alliance specifications for parallel interfaces to display modules without on-panel 308309display controller or frame buffer. These display modules rely on a steady flow of pixel data from host 310processor to the display, to maintain an image without flicker or other visual artifacts. MIPI Alliance 311specifications document several pixel formats for Active Matrix (AM) display modules.312Like DBI and DBI-2, DPI and DPI-2 are specifications for parallel interfaces. The data path may be 16-, 31318-, or 24-bits wide, depending on pixel format(s) supported by the display module. This specification 314refers to DPI mode of operation as Video Mode.Some display modules that use Video Mode in normal operation also make use of a simplified form of 315316Command Mode, when in low-power state. These display modules can shut down the streaming video 317interface and continue to refresh the screen from a small local frame buffer, at reduced resolution and pixel318depth. The local frame buffer shall be loaded, prior to interface shutdown, with image content to be319displayed when in low-power operation. These display modules can switch mode in response to power-320control commands.3.3 DCS (Display Command Set)321322DCS is a specification for the command set used by DSI and DBI-2 specifications. Commands are sent 323from the host processor to the display module. On the display module, a display controller receives andinterprets commands, then takes appropriate action. Commands fall into four broad categories: read 324325register, write register, read memory and write memory. A command may be accompanied by multiple 326parameters.3.4 CSI-2 (Camera Serial Interface 2)327CSI-2 is a MIPI Alliance standard for serial interface between a camera module and host processor. It is 328329based on the same physical layer technology and low-level protocols as DSI. Some significant differencesare:330331•CSI-2 uses unidirectional high-speed Link, whereas DSI is half-duplex bidirectional Link332•CSI-2 makes use of a secondary channel, based on I2C, for control and status functions333CSI-2 data direction is from peripheral (Camera Module) to host processor, while DSI’s primary data334direction is from host processor to peripheral (Display Module).3.5 D-PHY (MIPI Alliance Standard for Physical Layer)335MIPI Alliance Standard for D-PHY [4] provides the physical layer definition for DSI. The functionality 336337specified by the D-PHY standard covers all electrical and timing aspects, as well as low-level protocols, 338signaling, and message transmissions in various operating modes.4 DSI Introduction339340DSI specifies the interface between a host processor and a peripheral such as a display module. It builds on 341existing MIPI Alliance standards by adopting pixel formats and command set specified in DPI-2, DBI-2 342and DCS standards.343Figure 1 shows a simplified DSI interface. From a conceptual viewpoint, a DSI-compliant interface 344performs the same functions as interfaces based on DBI-2 and DPI-2 standards or similar parallel display 345interfaces. It sends pixels or commands to the peripheral, and can read back status or pixel information 346from the peripheral. The main difference is that DSI serializes all pixel data, commands, and events that, in 347traditional or legacy interfaces, are normally conveyed to and from the peripheral on a parallel data bus 348with additional control signals.349From a system or software point of view, the serialization and deserialization operations should be 350transparent. The most visible, and unavoidable, consequence of transformation to serial data and back to 351parallel is increased latency for transactions that require a response from the peripheral. For example, 352reading a pixel from the frame buffer on a display module will have a higher latency using DSI than DBI. 353Another fundamental difference is the host processor’s inability during a read transaction to throttle the 354rate, or size, of returned data.355356Figure 1 DSI Transmitter and Receiver Interface4.1 DSI Layer Definitions357Application Processor Peripheral358Figure 2 DSI Layers359360A conceptual view of DSI organizes the interface into several functional layers. A description of the layers 361follows and is also shown in Figure 2.362PHY Layer: The PHY Layer specifies transmission medium (electrical conductors), the input/output 363circuitry and the clocking mechanism that captures “ones” and “zeroes” from the serial bit stream. This part 364of the specification documents the characteristics of the transmission medium, electrical parameters for 365signaling and the timing relationship between clock and Data Lanes.366The mechanism for signaling Start of Transmission (SoT) and End of Transmission (EoT) is specified, as 367well as other “out of band” information that can be conveyed between transmitting and receiving PHYs. 368Bit-level and byte-level synchronization mechanisms are included as part of the PHY. Note that the 369electrical basis for DSI (SLVS) has two distinct modes of operation, each with its own set of electrical 370parameters.371The PHY layer is described in MIPI Alliance Standard for D-PHY [4].372Lane Management Layer: DSI is Lane-scalable for increased performance. The number of data signals 373may be 1, 2, 3, or 4 depending on the bandwidth requirements of the application. The transmitter side of the 374interface distributes the outgoing data stream to one or more Lanes (“distributor” function). On the receiving end, the interface collects bytes from the Lanes and merges them together into a recombined data 375376stream that restores the original stream sequence (“merger” function).Protocol Layer: At the lowest level, DSI protocol specifies the sequence and value of bits and bytes 377378traversing the interface. It specifies how bytes are organized into defined groups called packets. The 379protocol defines required headers for each packet, and how header information is generated and interpreted.The transmitting side of the interface appends header and error-checking information to data being 380381transmitted. On the receiving side, the header is stripped off and interpreted by corresponding logic in the 382receiver. Error-checking information may be used to test the integrity of incoming data. DSI protocol also383documents how packets may be tagged for interleaving multiple command or data streams to separate384destinations using a single DSI.385Application Layer: This layer describes higher-level encoding and interpretation of data contained in the386data stream. Depending on the display subsystem architecture, it may consist of pixels having a prescribed387format, or of commands that are interpreted by the display controller inside a display module. The DSI 388specification describes the mapping of pixel values, commands and command parameters to bytes in the389packet assembly. See MIPI Alliance Standard for Display Command Set [1].4.2 Command and Video Modes390391DSI-compliant peripherals support either of two basic modes of operation: Command Mode and Video392Mode. Which mode is used depends on the architecture and capabilities of the peripheral. The mode393definitions reflect the primary intended use of DSI for display interconnect, but are not intended to restrict 394DSI from operating in other applications.Typically, a peripheral is capable of Command Mode operation or Video Mode operation. Some Video 395396Mode displays also include a simplified form of Command Mode operation in which the display may 397refresh its screen from a reduced-size, or partial, frame buffer, and the interface (DSI) to the host processor398may be shut down to reduce power consumption.Mode3994.2.1 Command400Command Mode refers to operation in which transactions primarily take the form of sending commands401and data to a peripheral, such as a display module, that incorporates a display controller. The display 402controller may include local registers and a frame buffer. Systems using Command Mode write to, and readfrom, the registers and frame buffer memory. The host processor indirectly controls activity at the 403404peripheral by sending commands, parameters and data to the display controller. The host processor can also 405read display module status information or the contents of the frame memory. Command Mode operationrequires a bidirectional interface.406407Operation4.2.2 VideoMode408Video Mode refers to operation in which transfers from the host processor to the peripheral take the form of409a real-time pixel stream. In normal operation, the display module relies on the host processor to provide410image data at sufficient bandwidth to avoid flicker or other visible artifacts in the displayed image. Video 411information should only be transmitted using High Speed Mode.412Some Video Mode architectures may include a simple timing controller and partial frame buffer, used to413maintain a partial-screen or lower-resolution image in standby or low-power mode. This permits the 414interface to be shut down to reduce power consumption.415To reduce complexity and cost, systems that only operate in Video Mode may use a unidirectional data416path.。
基于多层特征嵌入的单目标跟踪算法
基于多层特征嵌入的单目标跟踪算法1. 内容描述基于多层特征嵌入的单目标跟踪算法是一种在计算机视觉领域中广泛应用的跟踪技术。
该算法的核心思想是通过多层特征嵌入来提取目标物体的特征表示,并利用这些特征表示进行目标跟踪。
该算法首先通过预处理步骤对输入图像进行降维和增强,然后将降维后的图像输入到神经网络中,得到不同层次的特征图。
通过对这些特征图进行池化操作,得到一个低维度的特征向量。
将这个特征向量输入到跟踪器中,以实现对目标物体的实时跟踪。
为了提高单目标跟踪算法的性能,本研究提出了一种基于多层特征嵌入的方法。
该方法首先引入了一个自适应的学习率策略,使得神经网络能够根据当前训练状态自动调整学习率。
通过引入注意力机制,使得神经网络能够更加关注重要的特征信息。
为了进一步提高跟踪器的鲁棒性,本研究还采用了一种多目标融合的方法,将多个跟踪器的结果进行加权融合,从而得到更加准确的目标位置估计。
通过实验验证,本研究提出的方法在多种数据集上均取得了显著的性能提升,证明了其在单目标跟踪领域的有效性和可行性。
1.1 研究背景随着计算机视觉和深度学习技术的快速发展,目标跟踪在许多领域(如安防、智能监控、自动驾驶等)中发挥着越来越重要的作用。
单目标跟踪(MOT)算法是一种广泛应用于视频分析领域的技术,它能够实时跟踪视频序列中的单个目标物体,并将其位置信息与相邻帧进行比较,以估计目标的运动轨迹。
传统的单目标跟踪算法在处理复杂场景、遮挡、运动模糊等问题时表现出较差的鲁棒性。
为了解决这些问题,研究者们提出了许多改进的单目标跟踪算法,如基于卡尔曼滤波的目标跟踪、基于扩展卡尔曼滤波的目标跟踪以及基于深度学习的目标跟踪等。
这些方法在一定程度上提高了单目标跟踪的性能,但仍然存在一些局限性,如对多目标跟踪的支持不足、对非平稳运动的适应性差等。
开发一种既能有效跟踪单个目标物体,又能应对多种挑战的单目标跟踪算法具有重要的理论和实际意义。
1.2 研究目的本研究旨在设计一种基于多层特征嵌入的单目标跟踪算法,以提高目标跟踪的准确性和鲁棒性。
自适应Cartesian网格结合无网格边界处理的
自适应Cartesian网格结合无网格边界处理的Navier-Stokes方程数值模拟李现今,郑洪伟,杨国伟,陈春刚(中国科学院力学研究所高温气体动力学国家重点实验室(筹),北京海淀区 100190)摘要本文发展了基于四叉树数据结构的网格生成和流动的N-S方程数值求解器。
采用压力梯度或者密度梯度的绝对值作为网格自适应的控制参量,同时采用基于最小二乘法的无网格方法处理对于一般Cartesian网格难于处理的物体表面边界条件。
文中采取了绕圆柱流动和绕方柱流动的经典算例对所发展的方法进行了验证。
计算的结果表明所发展的方法在处理复杂流动时是合理的,有效的。
关键词自适应,Cartesian网格,无网格边界处理,数值模拟引言随着CFD的发展,有关复杂几何外形的流场分析计算已经成为人们极为关心问题。
而合理设计并生成高质量的网格是CFD计算的前提条件。
目前,处理复杂几何外形的CFD网格类型主要有如下三种:贴体的结构网格、非网格和Cartesian网格。
事实上,对于结构Cartesian 网格由于其在网格生成方面的简易、快速等优点,在CFD发展的初期得到了广泛的应用,然而,由于其在处理固壁表面边界问题上的复杂性与低效性,很快又被贴体曲线网格所替代。
近来,非结构的Cartesian网格由于采用的是四叉树的简单数据结构易于结合网格自适应技术,其又重新引起了人们对Cartesian网格的普遍兴趣。
然而,如何合理的处理复杂的物面边界条件仍然是Cartesian网格技术的一个关键问题。
本文采用无网格方法【6,7】来处理物面边界条件。
不同于切割网格方法,此方法直接利用最小二乘法获得通量变量的值并且能够较好的处理物面附近网格点的复杂分布。
因此本文将Cartesian网格方法和无网格方法相结合,利用Cartesian网格法处理计算区域内部网格点,而将无网格法用于处理物面边界条件。
空间采用有限体积Roe格式,时间格式采用修正的四步Runge-Kutta法。
非负矩阵分解耦合视觉词典的图像检索算法
非负矩阵分解耦合视觉词典的图像检索算法李峰;应帅;卢文超【期刊名称】《包装工程》【年(卷),期】2018(39)17【摘要】目的解决当前图像检索技术中,图像特征稀疏编码收敛速度慢,以及局部特征空间信息不足易导致检索误差较大等问题,提出一种基于l0稀疏约束非负矩阵分解耦合视觉词典优化的图像检索算法。
方法首先,在非负矩阵分解(Non-negative Matrix Factorization,NMF)的基础上,对系数矩阵设置l0个约束来限制其稀疏性,从而定义一种l0稀疏约束的NMF方法。
再通过一种自适应序列词典初始化方案,从训练样本获得词典的初始估计。
然后,利用l0稀疏约束的NMF来增强视觉词典,对图像局部描述符进行稀疏编码,并利用最大池化操作来生成聚合特征向量,从而保留局部描述符的关键属性。
最后根据得到的特征向量,引入Minkowski距离来衡量查询图像与数据库的相似性,输出检索图像。
结果实验结果表明,与当前图像检索方案相比,所提算法具有更高的查准-查全率和收敛速度。
结论所提算法返回的图像与查询图像相似度高,在包装商标检索等领域具有一定的参考价值。
【总页数】8页(P215-222)【关键词】图像检索;非负矩阵分解;视觉词典;稀疏编码;最大池化;Minkowski距离【作者】李峰;应帅;卢文超【作者单位】常州纺织服装职业技术学院创意学院;吉安职业技术学院机械与电子工程学院【正文语种】中文【中图分类】TP391.4【相关文献】1.非负矩阵分解耦合环形区域分割的图像哈希认证算法 [J], 徐庆增;蔡润身2.非负矩阵分解耦合环形分割的图像哈希认证算法 [J], 张勇;黄家荣3.非负矩阵分解耦合视觉多样性的图像检索算法 [J], 仲宝才;张福泉;徐琳4.松弛耦合非负矩阵分解的低分辨率人脸识别算法 [J], 王超;赵阳;裴继红5.基于非负矩阵分解的相关反馈图像检索算法 [J], 卢进军;杨杰;梁栋;常宇畴因版权原因,仅展示原文概要,查看原文内容请购买。
欧拉方程求解静气动弹性问题
硕士学位论文
欧拉方程求解静气动弹性问题
姓名:***
申请学位级别:硕士
专业:流体力学
指导教师:***
20050201
两北工业人学硕士学位论文第三章飞行器气动弹性问题的研究
35.Guruswamy G P ENSAERO - A Multidisciplinary Program for Fluid/Structural Interaction Studies of Aerospace Vehicles 1990(2-4)
36.Bayyuk S A.Powell K G.vail Leer B Computation of flows with moving boundaries and fluid-structure interactions.[AIAA 97- 1771] 1997
43.Davis G A.Bendiksen O O Unsteady transonic two-dimensional Euler solutions using finite elements 1993
44.Batina J T Unsteady Euler airfoil Solutions using unstructured dynamic meshes.[AIAA 89-0115] 1989
7.MacCormack R W The Effect of Viscosity on Hypervelocity Impact Cratering.[AIAA paper 69-354]
x P D.Wendroff B System of Conservation Lows
9.郑诚行.熊小依机翼跨音速非线性静气动弹性计算 1991
CFL3D Its history and some recent applications
NASA Technical Memorandum 112861CFL3D: Its History and Some Recent ApplicationsChristopher L. Rumsey, Robert T. Biedron, and James L. Thomas Langley Research Center, Hampton, VirginiaMay 1997National Aeronautics andSpace AdministrationLangley Research CenterHampton, Virginia 23681-0001CFL3D: Its History and Some Recent ApplicationsChristopher L. Rumsey, Robert T. Biedron, and James L. Thomas Mail Stop 128, NASA Langley Research Center, Hampton Virginia 23681e-mail: c.l.rumsey@Presented at the “Godunov’s Method for Gas Dynamics: Current Applications and Future Developments” Symposium, University of Michigan, May 1-2, 1997HistoryThe CFL3D (Computational Fluids Laboratory - 3D) computer code is a result of the close working relationship between computational fluid dynamicists at the NASA Langley Research Center and visiting scientists to the Institute for Computer Applications in Science and Engineer-ing (ICASE) at the same location. In the early 1980’s, computational fluid dynamics (CFD) was still an emerging field. By bringing together many of the leading scientists in numerical methods to work with each other, NASA and ICASE enabled the crystallization of many new ideas and methods for CFD.The initial spark for the CFL3D code was the application of the flux-vector splitting (FVS) monotone upstream-centered scheme for conservation laws (MUSCL) idea of van Leer1,2 to an implicit finite-volume code for the solution of the three-dimensional (3d) compressible Euler equations. Many of van Leer’s ideas were inspired by the pioneering work of Godunov,3 who con-sidered the fluid to be divided into slabs and determined the interaction of these slabs at their interface. The team of Thomas, Anderson, Walters, and van Leer4,5 explored several implicit solu-tion strategies using FVS, particularly with regard to application on recently-developed vector-processor computers. Also, FVS was compared with other flux-splitting techniques, and various types of flux limiters were explored for transonic airfoil applications. The code was quickly extended to solve the 3d thin-layer Navier-Stokes equations.6,7,8 Initial applications were made on leading-edge vortex flows, for which the viscous terms are necessary to capture the secondaryflow features. At about this same time, research was initiated into applying multigrid methods to the implicit algorithm.9 The three-factor approximate factorization (AF) strategy was settled upon as the best choice for a wide range of applications, due to its better smoothing rate and more com-plete vectorization than other strategies. It was determined that the conditional stability of three-factor AF is not a penalty since large time steps are generally not necessary for a multigrid smoothing algorithm. The multigrid algorithm with FVS and a fixed W-cycle cycling strategy was employed to solve the thin-layer Navier-Stokes equations over a delta wing in Thomas et al.10 In the mid-1980’s, the flux-difference splitting (FDS) approximate Riemann solver of Roe,11 also a derivative of Godunov’s3 work, was recognized as an important advance for upwind CFD methods. In van Leer et al,12 the importance of including (in the numerical flux formula for the convective terms) information about all different waves by which neighboring cells interact wasdiscussed in relation to the Navier-Stokes equations. Flux functions based on the full Riemann solution, such as FDS, accurately represent both grid-aligned shocks and boundary layers. Other methods, including FVS (which ignores entropy and shear waves), are inferior in either shock and/or boundary layer rendition on all but the finest grids. Therefore, FDS was incorporated into the CFL3D code, and most subsequent Navier-Stokes applications employed it. For the left-hand side implicit operator, the spatial factors for FDS were approximated with a diagonal inversion plus a spectral radius scaling for the viscous terms, significantly increasing the speed of the code.13Vatsa et al13 also drew a link between the natural dissipation inherent in FDS and the arti-ficial dissipation employed in central-difference methods.Although the laminar Navier-Stokes equations were solved for many vortex-dominated and low Reynolds number flows,7,8,10,14 including hypersonic flows,15 it was realized that the Rey-nolds-averaged Navier-Stokes equations (with the inclusion of a turbulence model) are necessary to adequately model the physics of most high Reynolds number aerodynamic flows of interest. The Baldwin-Lomax algebraic eddy viscosity turbulence model was the first incorporated into CFL3D,13,16,17 with other more advanced one- and two-equation linear and nonlinear field-equa-tion models to follow later.18,19In the mid 1980’s, research with CFL3D was also initiated toward solving the Euler and Navier-Stokes equations time-accurately, both for stationary bodies with inherently unsteadyflow20,21,22 as well as for unsteady flow over bodies in motion.23,24,25 The time-advancement algorithm in the code has continued to evolve since that time, incorporating subiterations to reduce linearization and factorization errors, as well as employing a pseudo-time-stepping algo-rithm with multigrid to allow the use of more physically-relevant time steps for time-accurate tur-bulent flow computations.26Beginning in the late 1980’s, the CFL3D code’s capabilities to solve flows over complex con-figurations were developed through the use of various grid-zone-connection strategies. Beside simple one-to-one connectivity, Thomas et al16 introduced the patched-grid connection capability into the code with further enhancements and generalization made later,27 including application to sliding patched-zone interfaces.28Overset grid capability was also included,29 as was an embed-ded grid capability in order to employ finer mesh density in desired regions of interest such as a delta wing vortex core.30CFL3D is currently used by well over one hundred researchers in twenty-two different com-panies in industry, thirteen universities, as well as at NASA and in the military. It owes much of its success to its strong foundation in the upwind methods that arose from Godunov’s original ideas. Recent ApplicationsCFL3D has been applied to flow regimes ranging from low-subsonic to hypersonic. Configu-rations have ranged from flat plates to complete aircraft with control surfaces. Below we present a few of the recent applications carried out by NASA-Langley researchers.Partial-Span FlapFigure 1 shows the results of an analysis of a rectangular wing with a 58% span flap.31 Shownin the figure is a representative view of the grid, which makes use of the generalized grid-patching capability of the code. Also shown are computed total pressure contours on the surface and streamline traces following the roll-up of the flap-edge and wing-tip vortices. Comparison to wind-tunnel pressure data indicate that flow over both the flap and the wing are accurately com-puted.F/A-18 Forebody Control StrakeAt high angles of attack, traditional yaw-control devices such as the rudder lose effectiveness due to immersion in the low-speed wake of the wing. The forebody-strake concept was developed in order to provide control effectiveness at very large angles of attack. Figure 2 shows two results from CFL3D computations that were performed to help validate the forebody-strake concept. In the top part of the figure, the complete configuration is modeled in order to simulate flight condi-tions. For these computations, CFL3D is coupled to an unstructured flow solver, with CFL3D being used over the forward part of the aircraft, and the unstructured solver being used over the aft part of the aircraft.32 The use of this hybrid approach renders the grid generation problem much simpler. The bottom part of the figure shows the results of a computation performed only on the forward portion, without coupling to the unstructured solver, simulating a wind-tunnel test. The object of this study was to investigate the control reversal (change of sign of yawing moment) that occurs for small strake deflections. Computations were performed for 0, 10, and 90 degrees of strake deflection. The predicted yawing moments are in good agreement with the wind-tunnel data.Advanced Ducted PropellerFigures 3 and 4 show an application of the code to a turbomachinery flow. The configuration is a wind-tunnel model of an advanced ducted propeller,33 with 16 fan blades and 20 exit guide vanes. The rotor speed is 16,900 RPM and the Mach number is 0.2. The computations are per-formed time-accurately, using dynamic grids that move relative to one another across a planar interface midway between the fan blades and the exit guide vanes. Passage-averaged aerodynamic results agree well with data and results from another code.34 The grid and time step used in this simulation are chosen to capture a particular forward-propagating duct acoustic mode that results from the highly nonlinear rotor wake-stator blade interaction. The CFL3D computation success-fully generates this mode and propagates it forward of the fan face in the duct without attenuation. The inlet pressures from the computation are used as input to a linearized far-field noise-predic-tion code.References1Van Leer, B., “Flux Vector Splitting for the Euler Equations,”Lecture Notes in Physics, V ol. 170, 1982, pp. 501-512.2Van Leer, B., “Towards the Ultimate Conservative Difference Scheme V: A Second-Order Sequel to Godunov’s Method,”Journal of Computational Physics, V ol. 32, 1979, pp. 101-136.3Godunov, S., “Finite Difference Method for Numerical Computation of Discontinuous Solutions of the Equa-tions of Fluid Dynamics,” Matematicheskii Sbornik, V ol. 47, No. 3, 1959, p. 271, Cornell Aeronautical Lab (CAL-SPAN) translation.4Thomas, J. L., van Leer, B., and Walters, R.W., “Implicit Flux-Split Schemes for the Euler Equations,” AIAA 65-1680, July 1985.5Anderson, W. K., Thomas, J. L., van Leer, B., “Comparison of Finite V olume Flux Vector Splittings for the Euler Equations,”AIAA Journal, V ol. 24, No. 9, 1986, pp. 1453-1460.6Thomas, J. L. and Walters, R. W., “Upwind Relaxation Algorithms for the Navier-Stokes Equations,” AIAA 85-1501-CP, July 1985.7Newsome, R. W. and Thomas, J. L., “Computation of Leading-Edge V ortex Flows,” paper presented at the V ortex Aerodynamics Conference, NASA Langley Research Center, Hampton, V A, October 1985.8Thomas, J. L. and Newsome, R. W., “Navier-Stokes Computations of Lee-Side Flows, Over Delta Wings,”AIAA Journal, V ol. 27, No. 12, 1989, pp. 1673-1679.9Anderson, W. K., Thomas, J. L., and Whitfield, D. L., “Three-Dimensional Multigrid Algorithms for the Flux-Split Euler Equations,” NASA TP 2829, November 1988.10Thomas, J. L., Krist, S. L., and Anderson, W. K., “Navier-Stokes Computations of V ortical Flows over Low-Aspect-Ratio Wings,”AIAA Journal, V ol. 28, No. 2, 1990, pp. 205-212.11Roe, P., “Approximate Riemann Solvers, Parameter Vectors, and Difference Schemes,”Journal of Computa-tional Physics, V ol. 43, 1981, pp. 357-372.12Van Leer, B., Thomas, J. L., Roe, P. L., and Newsome, R. W., “A Comparison of Numerical Flux Formulas for the Euler and Navier-Stokes Equations,” AIAA 87-1104-CP, June 1987.13Vatsa, V. N., Thomas, J. L., and Wedan, B. W., “Navier-Stokes Computations of a Prolate Spheroid at Angle of Attack,”Journal of Aircraft, V ol. 26, No. 11, 1989, pp. 986-993.14Thomas, J. L., “Reynolds Number Effects on Supersonic Asymmetrical Flows over a Cone,”Journal of Aircraft, V ol. 30, No. 4, 1993, pp. 488-495.15Thomas, J. L., “An Implicit Multigrid Scheme for Hypersonic Strong-Interaction Flowfields,”Comm. Appl. Numerical Methods, V ol. 8, 1992, pp. 683-693.16Thomas, J. L., Rudy, D. H., Chakravarthy, S. R., and Walters, R. W., “Patched-Grid Computations of High-Speed Inlet Flows,” Symposium on Advances and Applications in CFD, Winter Annual Meeting of ASME, Chicago, IL, November 1988.17Compton, W. B., III, Thomas, J. L., Abeyounis, W. K., and Mason, M. L., “Transonic Navier-Stokes Solutions of Three-Dimensional Afterbody Flows,” NASA TM 4111, July 1989.18Rumsey, C. L. and Vatsa, V. N., “Comparison of the Predictive Capabilities of Several Turbulence Models,”Jour-nal of Aircraft,V ol. 32, No. 3, 1995, pp. 510-514.19Abid, R., Rumsey, C. L., and Gatski, T. B., “Prediction of Nonequilibrium Turbulent Flows with Explicit Alge-braic Stress Models,”AIAA Journal, V ol. 33, No. 11, 1995, pp. 2026-2031.20Rumsey, C. L., Thomas, J. L., Warren, G. P., and Liu, G. C., “Upwind Navier-Stokes Solutions for Separated Periodic Flows,”AIAA Journal, V ol. 25, No. 4, 1987, pp. 535-541.21Rumsey, C. L., “Details of the Computed Flowfield Over a Circular Cylinder at Reynolds Number 1200,”Jour-nal of Fluids Engineering, V ol. 110, December 1988, pp. 446-452.22Zaman, K. B. M. Q., McKinzie, D. J., and Rumsey, C. L., “A Natural Low-Frequency Oscillation of the Flow over an Airfoil Near Stalling Conditions.”J. Fluid Mech., V ol. 202, 1989, pp. 403-442.23Anderson, W. K., Thomas, J. L., and Rumsey, C. L., “Extension and Application of Flux-Vector Splitting to Unsteady Calculations on Dynamic Meshes,”AIAA Journal, V ol. 27, No. 6, 1989, pp. 673-674; also AIAA 87-1152-CP, June 1987.24Rumsey, C. L. and Anderson, W. K., “Some Numerical and Physical Aspects of Unsteady Navier-Stokes Com-putations Over Airfoils Using Dynamic Meshes,” AIAA 88-0329, January 1988.25Rumsey, C. L. and Anderson, W. K., “Parametric Study of Grid Size, Time Step, and Turbulence Modeling on Navier-Stokes Computations Over Airfoils,” AGARD 62nd Meeting of the Fluid Dynamics Panel Symposium on Validation of CFD, AGARD CP-437, V ol. 1, 1988, pp. 5-1 - 5-19.26Rumsey, C., Sanetrik, M., Biedron, R., Melson, N., and Parlette, E., “Efficiency and Accuracy of Time-Accurate Turbulent Navier-Stokes Computations,”Computers and Fluids , V ol. 25, No. 2, 1996, pp. 217-236.27Biedron, R. T. and Thomas, J. L., “A Generalized Patched-Grid Algorithm with Application to the F-18 Fore-body with Actuated Control Strake,”Computing Systems in Engineering , V ol. 1, Nos. 2-4, 1990, pp. 563-576.28Rumsey, C., “Computation of Acoustic Waves Through Sliding-Zone Interfaces,”AIAA Journal , V ol. 35, No. 2,1997, pp. 263-268.29Krist, S. L., “A Grid-Overlapping Technique Applied to a Delta Wing in a Wind Tunnel,” Masters Thesis, George Washington University, January 1994.30Krist, S. L., Thomas, J. L., Sellers, W. L., III, and Kjelgaard, S. O., “An Embedded Grid Formulation Applied to a Delta Wing,” AIAA 90-0429, January 1990.31Jones, K. M., Biedron, R. T., and Whitlock, M., “Application of a Navier-Stokes Solver to the Analysis of Multi-element Airfoils and Wings Using Multizonal Grid Techniques,” AIAA 95-1855, June 1995.32Biedron, R. T., “Comparison of ANSER Control Device Predictions with HARV Flight Tests,” Proceedings of the NASA High-Angle-of-Attack Technology Conference, 1997. To appear as a NASA CP.33Thomas, R. H., Gerhold, C. H., Farassat, F., Santa Maria, O. L., Nuckolls, W. E., DeVilbiss, D. W., “Far Field Noise of the 12 Inch Advanced Ducted Propeller Simulator,” AIAA 95-0722, January 1995.34Adamczyk, J. J., Celestina, M. L., Beach, T. A., Barnett, M., “Simulation of Three-Dimensional Viscous Flow Within a Multistage Turbine,”ASME Journal of Turbomachinery , V ol. 112, July 1990, pp. 370-376.FiguresFigure 1: Flow past a wing with a partial-span flap. The Reynolds number is 3.3 million, the Mach number is 0.15,the angle of attack is 4 degrees, and the flap deflection is 30 degrees. Shown are the grid, computed total pressure contours and streamlines, as well as comparison of computed surface pressures with wind-tunnel data.Total Pressure Contours/Streamlines 0.00.5 1.0 1.5-4-3-2-11247.2% spanC p x/c CFL3D experiment 0.00.5 1.0 1.5-4-3-2-1012C p x/c CFL3D experiment60.1% spanFigure 2: High-angle-of-attack control strake for the F/A-18. The top pair of images shows the comparison of the computed strake vortex and in-flight flow visualization. The bottom pair of images shows a computation illustratingcontrol reversal at low strake deflections, with comparison to yawing-moment data from wind-tunnel tests.Figure 3: Flow through an ADP model with 16 rotor blades and 20 exit guide vanes. The rotor speed is 16,900 rpm,and the Mach number is 0.2. Shown are total pressure contours, as well as comparison of the passage-averagedCFL3D computation with experimental data and a computation using the average passage equations.δstrake = 0°δstrake = 90°δstrake = 10°020*********-0.05-0.04-0.03-0.02-0.010.000.010.02(degrees)δstrake Wind Tunnel Data ComputationC nFigure 4: Flow through an ADP model with 16 rotor blades and 20 exit guide vanes. The left figure shows the real part of the magnitude of the (-4,1) duct acoustic mode at two instants in time, in comparison with infinite duct theory.The right figure shows the far field sound pressure levels due to all the radial orders of the (-4,n) modes as a function of microphone angle, using two different reference planes inside the duct. The left-hand lobe, which is insensitive to reference plane position, is due primarily to the (-4,1) mode. High experimental noise levels at the largest microphoneangles are due to contamination from aft-end noise.λtheory ∆xtheory。
交错网格下四阶Boussinesq方程对潜堤上波浪演化的应用
赤 和 =0 39 009 。 ・ 85 7
根据文献[ ( 9 9 使用 的方法将方程 ( ) 6 19 ) ] 1
( +E 4 =0 / 1 '1 A)
z
12 数 值 模 型 .
和 ( a)简 化 为 一 维 的 形 式 , 且 做 一 些 修 改 : 2 并 1)U 叩 于 同 一 时 间 层 ;2)文 中采 用 混 合 四 和 处
h v[ v v , + v( q u) ]
( 一)VV7V)+ 号 {[ ( 】 Βιβλιοθήκη 7 ) V2 ̄一
1
) { ( ]_ h V[ V }
19 年 L t  ̄O ym 等_ 叫 94 uh; ha a 9 对波浪在潜堤上的传 l 播 变形进 行的试验结果 和非交错 网格 下的数值结
() 2 h
式 中 : 为 沿水 深 积 分平 均速 度 ; 为波 面 升高 ;h
(1 )
为静 水 深 。 为 了加强 方 程 的色散 性 和 浅 水作 用 ,
给出了方程的具体参数值: , 去,co 4 8 a= o .6 8, 2 1 4 =
、 。
-
( 0 / l 2+ /2 + / + 1 +sA + I) k 2 2 3
11 B u s eq 程 . o si s方 n
毒 vv( ] [ )
Mas de n等 推导的高 ̄B us eq ' osi s方程 ,方程 j ' n
的无 因次 表达 式 如下 : ,+V[ 7 ( U =0 +s ) l
1
厂  ̄ () ( 】 =hV 一 [ ∽ - U 圭 V
B usn s模 型 是 模 拟 波 浪 最 有 力 的工 具 。 1 6 o sieq 97
multigrid方法
Multigrid方法简介Multigrid方法是一种用于求解线性方程组的迭代算法。
它可以有效地处理大规模的线性方程组,特别是在高维问题中表现出色。
Multigrid方法通过将问题分解为多个粗糙和细致的网格层次,并在这些层次之间传递信息来加速求解过程。
基本思想Multigrid方法的基本思想是利用不同尺度上的信息来加速求解过程。
它通过将问题从一个精细的网格转移到一个更粗糙的网格上,然后再通过插值操作将结果传递回来。
这种多层次迭代的过程可以有效地降低计算复杂度,并提高求解速度。
算法流程Multigrid方法通常包括以下步骤:1.初始化:给定初始猜测解x(0)和右侧向量b。
2.预处理:对初始解进行平滑操作,以减小高频误差。
3.残差计算:计算残差r=b−Ax(k),其中A是系数矩阵。
4.限制:将残差限制到更粗糙的网格上得到r c。
5.求解:通过迭代或递归地求解A c x c=r c,其中A c是更粗糙网格上的系数矩阵。
6.插值:将求解结果插值回原始网格上得到x(k+1)。
7.平滑:对更新后的解进行平滑操作,以减小低频误差。
8.终止条件检查:检查是否达到收敛条件,如果未达到则返回第3步。
多层次结构Multigrid方法中的多层次结构是该方法的关键之一。
它通过在不同尺度上建立网格层次来传递信息和加速求解过程。
通常情况下,Multigrid方法包括一系列的网格层次,从最精细的网格到最粗糙的网格。
在每个层次上,Multigrid方法使用相同的迭代算法进行求解。
然而,在更粗糙的网格上,问题变得更简单,并且收敛速度更快。
因此,在每个层次上进行少量迭代可以获得较好的近似解。
平滑操作平滑操作是Multigrid方法中非常重要的一步。
它通过迭代地更新解向量来减小高频误差。
常用的平滑算法包括Jacobi、Gauss-Seidel和SOR等。
在Multigrid方法中,平滑操作通常在每个层次上都进行。
然而,在更粗糙的网格上,平滑操作可以更快地减小误差。
基于没有交集的主成分模型下的模式识别方法-外文文献及翻译
基于没有交集的主成分模型下的模式识别方法-外文文献及翻译xx工业大学毕业设计(论文)外文资料翻译学院:系(专业):姓名:学号:外文出处:Pattern Recognition附件: 1.外文资料翻译译文;2.外文原文。
指导教师评语:签名:2010年6 月日附件1:外文资料翻译译文基于没有交集的主成分模型下的模式识别方法化学计量学研究组,化学研究所,umea大学摘要:通过独立的主成分建模方法对单独种类进行模式识别,这一方法我们已经进行了深刻的研究,主成分的模型说明了单一种类之内拟合所有的连续变量。
所以,假如数据充足的话,主成分模型的方法可以对指定的一组样品中存在的任何模式进行识别,另外,将每一种类中样品通过独立的主成分模型作出拟合,用这种简单的方式,可以提供有关这些变量作为单一变量的相关性。
这些试样中存在着“离群”,而且不同种类间也有“距离”。
我们应用经典的Fisher鸢尾花数据作为例证。
1介绍对于挖掘和使用经验数据的规律性,已经在像化学和生物这样的学科中成为了首要考虑的因素。
在化学上一个经典的例子就是元素周期表。
当元素按渐增的原子质量排列时,化学元素特性上的规律以每8个为一个周期的出现。
相似的,生物学家也常按照植物和动物形态学上的规律才将其归类。
比如,植物的花朵和叶片的形状,动物两臂的长度和宽度以及动物不同的骨骼等等。
数据分析方法(通常叫做模式识别方法),特别的创制用以探知多维数据的规律性。
这种方法已在科学的各分支上得到了广泛的应用。
模式识别中的经典问题可系统的陈述如下:指定一些种类,每一类都被定义为一套样本,训练集和检验集,还有基于每组样本的M测度值,那么是否有可能基于原M值对新的样本作出分类呢?我们提出解决这类或相关问题的许多方法,这些方法也由Kanal和另外一些人回顾过了。
在科学的分支中,比如化学和生物中,数据分析的范围往往比仅获得一组未分类数据广泛,通常上,数据分析的目的之一仍然可说是分类,但有时我们不能确定一个样本是否属于一未知的或未辨明的类别,我们希望不仅去辨别已知种类,还有未知种类。
FLUENT软件操作界面中英文对照
FLUENT软件操作界面中英文对照File文件Read 读取文件:scheme 方案journal 日志profile 外形Write 保存文件Import:进入另一个运算程序Interpolate:窜改,插入Hardcopy :复制,Batch options 一组选项Save layout 保存设计Grid网格Check 检查Info 报告:size 尺寸;memory usage内存使用情况;zones 区域;partitions划分存储区Polyhedral多面体:Convert domain变换范围Convert skewed cells 变换倾斜的单元Merge 合并Separate 分割Fuse (Merge的意思是将具有相同条件的边界合并成一个;Fuse将两个网格完全贴合的边界融合成内部(interior)来处理,比如叶轮机中,计算多个叶片时,只需生成一个叶片通道网格,其他通过复制后,将重合的周期边界Fuse掉就行了。
注意两个命令均为不可逆操作,在进行操作时注意保存case)Zone 区域:append case file 添加case文档Replace 取代;delete 删除;deactivate使复位;Surface mesh 表面网孔Reordr 追加,添加:Domain 范围;zones区域;Print bandwidth 打印Scale 单位变换Translate 转化Rotate 旋转smooth/swap 光滑/交换Define Models 模型: solver 解算器Pressure based 基于压力Density based 基于密度implicit 隐式,explicit 显示Space 空间:2D,axisymmetric(转动轴),axisymmetric swirl (漩涡转动轴);Time时间:steady 定常,unsteady 非定常Velocity formulation 制定速度:absolute绝对的;relative 相对的Gradient option 梯度选择:以单元作基础;以节点作基础;以单元作梯度的最小正方形。
数据通信原理实验指导书
实验一编码与译码一、实验学时:2学时二、实验类型:验证型三、实验仪器:安装Matlab软件的PC机一台四、实验目的:用MATLAB仿真技术实现信源编译码、过失操纵编译码,并计算误码率。
在那个实验中咱们将观看到二进制信息是如何进行编码的。
咱们将要紧了解:1.目前用于数字通信的基带码型2.过失操纵编译码五、实验内容:1.经常使用基带码型(1)利用MATLAB 函数wave_gen 来产生代表二进制序列的波形,函数wave_gen 的格式是:wave_gen(二进制码元,‘码型’,Rb)此处Rb 是二进制码元速度,单位为比特/秒(bps)。
产生如下的二进制序列:>> b = [1 0 1 0 1 1];利用Rb=1000bps 的单极性不归零码产生代表b的波形且显示波形x,填写图1-1:>> x = wave_gen(b,‘unipolar_nrz’,1000);>> waveplot(x)(2)用如下码型重复步骤(1)(提示:能够键入“help wave_gen”来获取帮忙),并做出相应的记录:a 双极性不归零码b 单极性归零码c 双极性归零码d 曼彻斯特码(manchester)x 10-3x 10-3图1-1 单极性不归零码图1-2双极性不归零码x 10-3x 10-32.过失操纵编译码(1) 利用MATLAB 函数encode 来对二进制序列进行过失操纵编码, 函数encode 的格式是:A .code = encode(msg,n,k,'linear/fmt',genmat)B .code = encode(msg,n,k,'cyclic/fmt',genpoly)C .code = encode(msg,n,k,'hamming/fmt',prim_poly)其中A .用于产生线性分组码,B .用于产生循环码,C .用于产生hamming 码,msg 为待编码二进制序列,n 为码字长度,k 为分组msg 长度,genmat 为生成矩阵,维数为k*n ,genpoly 为生成多项式,缺省情形下为cyclpoly(n,k)。
多重网格法简介(MultiGrid)
多重⽹格法简介(MultiGrid)多重⽹格法是⼀种⽤于求解⽅程组的⽅法,可⽤于插值、解微分⽅程等。
从专业⾓度讲多重⽹格法实际上是⼀种多分辨率的算法,由于直接在⾼分辨率(⽤于求解的间隔⼩)上进⾏求解时对于低频部分收敛较慢,与间隔的平⽅成反⽐。
就想到先在低分辨率(间隔较⼤)上进⾏求解,因为此时,间隔⼩,数据量⼩,进⾏松弛时的时空耗费⼩,⽽且收敛快,⽽且⼀个很重要的优点是在低分辨率上对初值的敏感度显然要低于对⾼分辨率的初值的要求。
这⼀点是显⽽易见的,例如我们平时看⼀个很复杂的物体,在很远的地⽅,你可能就觉得它是⼀个点或⼀个球,但是在近处你就不能这么近似,或许发明多重⽹格法的⼈就是从这⼀基本⽣活常识发现的吧。
多重⽹格法可以直接在低分辨率上以⼀个随意的初值进⾏计算,然后再进⾏插值,提⾼其分辨率,再在更⾼分辨率进⾏计算;也可以现在⾼分辨率以随意初值进⾏计算,得到⼀个结果,再将其限制(插值)到低分辨率去,再在低分辨率上进⾏解算,最终再从低分辨率经插值计算达到⾼分辨率。
有关多重⽹格法的资料可以到这⾥下载:多重⽹格技术(multigrid solver)微分⽅程的误差分量可以分为两⼤类,⼀类是频率变化较缓慢的低频分量;另⼀类是频率⾼,摆动快的⾼频分量。
⼀般的迭代⽅法可以迅速地将摆动误差衰减,但对那些低频分量,迭代法的效果不是很显著。
⾼频分量和低频分量是相对的,与⽹格尺度有关,在细⽹格上被视为低频的分量,在粗⽹格上可能为⾼频分量。
多重⽹格⽅法作为⼀种快速计算⽅法,迭代求解由偏微分⽅程组离散以后组成的代数⽅程组,其基本原理在于⼀定的⽹格最容易消除波长与⽹格步长相对应的误差分量。
该⽅法采⽤不同尺度的⽹格,不同疏密的⽹格消除不同波长的误差分量,⾸先在细⽹格上采⽤迭代法,当收敛速度变缓慢时暗⽰误差已经光滑,则转移到较粗的⽹格上消除与该层⽹格上相对应的较易消除的那些误差分量,这样逐层进⾏下去直到消除各种误差分量,再逐层返回到细⽹格上。
CFD参考书籍_USTC
附录A参考阅读材料§A.1参考书目这里列出的部分参考书目有电子版下载,主要下载地址是超星和傲雪书库。
§A.1.1原版教材课程教材John C.Tannehill,Dale A.Anderson and Richard H.Pletcher,Computational Fluid Me-chanics and Heat Transfer:Series in Computational and Physical Processes in Mechanics and Thermal Sciences(1997:Taylor&Francis)(e)John David Anderson,Computational Fluid Dynamics:The Basics with Applications (1995:McGraw Hill)§A.1.1.2(e)Joel H.Ferziger and Milovan Peric,Computational Methods for Fluid Dynamics(1999: Springer-Verlag)§A.1.1.3(e)Culbert ney,Computational Gasdynamics(1998:Cambridge University Press)§A.1.1.4经典书籍P.Wesseling,Principles of Computational Fluid Dynamics(2001:Springer-Verlag)§A.1.1.1 (e)R.LeVeque,Finite Volume Methods for Hyperbolic Problems(2002:Cambridge University Press)(e)P.J.Roache,Fundamentals of Computational Fluid Dynamics(1998:Hermosa Publisher)C.A.J.Fletcher,S.A.Orszag,M.Holt and Roland Glowinski,Computational Techniques for Fluid Dynamics1:Fundamental and General Techniques(1991:Springer-Verlag)(e)C.A.J.Fletcher,Computational Techniques for Fluid Dynamics2:Specific Techniques for Differential Flow Categories(1991:Springer-Verlag)(e)Charles Hirsch,Numerical Computation of Internal and External Flows,Volume1Funda-mentals of Numerical Discretization(1990:John Wiley&Sons)Charles Hirsch,Numerical Computation of Internal and External Flows,Volume2Compu-tational Methods for Inviscid and Viscous Flows(1990:John Wiley&Sons)阅读材料T.J.Chung,Computational Fluid Dynamics(2002:Cambridge University Press)§A.1.1.5 (e)J Donea and A Huerta,Finite Element Methods for Flow Problems(2002:John Wiley and Sons)(e)Rainald Lohner,Applied CFD Techniques:An Introduction Based on Finite Element Meth-ods(2001:John Wiley and Sons)T.H.Pulliam Harvard Lomax,Fundamentals of Computational Fluid Dynamics:Scientific Computation(2001:Springer Verlag)(e)J.Blazek,Computational Fluid Dynamics:Principles and Applications(2001:Elsevier Science)(e)附录A参考阅读材料C.Pozrikidis,Introduction to Theoretical and Computational Fluid Dynamics(1997:Oxford University Press)Anil Date,Introduction to Computational Fluid Dynamics(2005:Cambridge University Press)Vijay K.Garg,Applied Computational Fluid Dynamics:Mechanical Engineering Series (1998:Marcel Dekker)Roger Peyret,Handbook of Computational Fluid Mechanics(1996:Academic Press)John F.Wendt,J.D.Anderson,G.Degrez and E.Dick,Computational Fluid Dynamics: An Introduction(1996:Springer-Verlag)可压缩流动E.F.Toro,Riemann Solvers and Numerical Methods for Fluid Dynamics,A Practical In-troduction,2nd edition,(1999:Springer-Verlag)Matania Ben-Artzi and Joseph Falcovitz,Generalized Riemann Problems in Computational Fluid Dynamics(2003:Cambridge University Press)B.Cockburn,C.Johnson,C-W Shu,E.Tadmor,Advanced Numerical Approximation of Nonlinear Hyperbolic Equations(1998:Springer-Verlag)不可压流动Suhas V.Patankar,Numerical Heat Transfer and Fluid Flow:Computational Methods in Mechanics and Thermal Science(1980:Hemisphere Publishing Corporation)(e)H.K.Versteeg and W.Malalasekera,An Introduction to Computational Fluid Dynamics: The Finite Volume Method(1996:Addison-Wesley)(e)D.Drikakis and W.Rider,High-Resolution Methods for Incompressible and Low-Speed Flows:Fundamentals and Applications(2004:Springer Verlag)Paolo Orlandi,Fluid Flow Phenomena:A Numerical Toolkit(1999:Kluwer Academic Publishers)(e)P.M.Gresho and R.L.Sani,Incompressible Flow and the Finite Element Method:Volume 1:Advection-Diffusion,Volume2:Isothermal Laminar Flow(2000:John Wiley and Sons)Dochan.Kwak,M.M.Hafez,Numerical Simulations of Incompressible Flows(2003:World Scientific)P.G.Tucker,Computation Of Unsteady Internal Flows:Fundamental Methods with Case Studies(2001:Kluwer Academic Publishers)Stefan Turek,Efficient Solvers for Incompressible Flow Problems:An Algorithmic and Computational Approach(1999:Springer-Verlag)§A.1参考书目§A.1.2国内教材主要教材傅德薰,马延文.计算流体力学.高等教育出版社,2002.(超星)任玉新,陈海昕.计算流体力学基础.清华大学出版社,2006.参考教材阎超.计算流体力学方法及应用.北京航空航天大学出版社,2006.张涵信,沈孟育.计算流体力学:差分方法的原理和应用.国防工业出版社,2003.(超星)吴子牛.计算流体力学基本原理.科学出版社,2001.(超星)陶文铨.数值传热学.西安交通大学出版社,2001.水鸿寿.一维流体力学差分方法.国防工业出版社,1998.(超星)阅读教材吴德铭,郜冶.实用计算流体力学基础.哈尔滨工程大学出版社,2006.韩占忠,王敬,兰小平.FLUENT流体工程仿真计算实例与应用.北京理工大学出版社,2004. (超星)王福军.计算流体动力学分析:CFD软件原理与应用.清华大学出版社,2004.(超星)李万平.计算流体力学.华中科技大学出版社,2004.刘儒勋,舒其望.计算流体力学的若干新方法.科学出版社,2003.(超星)总装教材.计算流体力学及应用.国防工业出版社,2003.(超星)陶文铨.计算传热学的近代进展.科学出版社,2000.(超星)王承尧等.计算流体力学及其并行算法.国防科技大学出版社,2000.(超星)朱自强.应用计算流体力学.北京航空航天大学出版社,1998.(超星)刘顺隆,郑群.计算流体力学.哈尔滨工程大学出版社,1998.(超星)李宝宽.炼钢中的计算流体力学.冶金工业出版社,1998.苏铭德,黄素逸.计算流体力学基础.清华大学出版社,1997.(超星)刘超群.多重网络法及其在计算流体力学中的应用.清华大学出版社,1995.(超星)傅德薰.流体力学数值模拟.国防工业出版社,1993.(超星)陈材侃.计算流体力学.华中理工大学,1992.(超星)刘导治.计算流体力学基础.北京航空航天大学出版社,1989.(超星)吴江航,韩庆书.计算流体力学的理论、方法及应用.科学出版社,1988.(超星)马铁犹.计算流体动力学.北京航空学院出版社,1986.(超星)附录A参考阅读材料§A.1.3其他书目多重网格(Multigrid)Pieter Wesseling,An Introduction to Multigrid Methods(2004:R.T.Edwards,Inc.),[Cor-rection version of1992:John&Wily](e)湍流计算(Tubulence)Dimitris Drikakis and Bernard J.Geurts,Turbulent Flow Computation(2002:Kluwer Aca-demic Publishers)Volker.John,Large Eddy Simulation of Turbulent Incompressible Flows(2004:Springer-Verlag)D C.Wilcox,Turbulence Modelling in Computational Fluid Dynamics(1998:DCW Indus-tries)(e)网格生成(Mesh Generation)Joe F.Thompson,Bharat Soni and Nigel P.Weatherrill,Handbook of Grid Generation (1998:CRC Press)(e)Pascal Jean Frey and Paul-Louis George,Mesh Generation:Application to Finite Elements (2000:Hermes Science Publications)基本算法ngtangen,Computational Partial Differential Equations:Numerical Methods and Diffpack Programming(1999:Springer-Verlag)有限元法Juan C.Heinrich and Darrell W.Pepper,Intermediate Finite Element Method:Fluid Flow and Heat Transfer Applications(1997:Taylor&Francis)Hou-Cheng Huang,Zheng-Hua Li and Asif mani,Finite Element Analysis of Non-Newtonian Flow:Theory and Software(1999:Springer-Verlag)R.W.Lewis and B.A.Shrefler,The Finite Element Method in the Static and Dynamic Deformation and Consolidation of Porous Media(1998:John Wiley&Sons)高阶方法C.Canuto,M.Y.Hussaini,A.Quarteroni and T.A.Zang,Spectral Methods in Fluid Dynamics(1988:Springer-Verlag)George Em Karniadakis and Spencer J.Sherwin,Spectral/HP Element Methods for CFD (1999:Oxford University Press)(e)M.O.Deville,P.F.Fischer,E.H.Mund,High-order methods for incompressiblefluidflow (2002:Cambridge University Press)(e)Andrei I.Tolstykh,High Accuracy Non-Centered Compact Difference Schemes for Fluid Dynamics Applications(1994:World Scientific)John P.Boyd,Chebyshev and Fourier Spectral Methods(2001:Dover Publications)(e) Roger Peyret,Spectral Methods with Application to Incompressible Viscous Flow(2002: Springer-Verlag)Andrei Giniatoulline,An Introduction to Spectral Theory(2005:R.T.Edwards,Inc.)。
多学科优化设计在水下无人航行器设计中的应用研究
案例二:某型水下无人航行器的推进系统优化
推进系统优化
针对某型水下无人航行器的推进系统 进行优化,以提高其水下推进效率和
稳定性。
学科领域
涉及流体动力、机械设计、控制系 统等多个学科领域。
优化方法
采用多学科优化设计方法,综合考 虑多个学科领域的知识和要求,对 推进系统进行优化。
性能评估
通过数值模拟和实验验证,对优化 后的推进系统进行性能评估,包括 水下推进效率、稳定性等指标。
多学科优化设计的重要性
• 在水下无人航行器设计中,多学科优化设计具有非常重要的 意义。水下环境复杂多变,航行器需要具备良好的水动力学 性能、机械性能、电子性能等多方面的性能。通过多学科优 化设计,可以综合考虑各个方面的性能要求,实现整体性能 的提升,从而提高航行器的作战能力和适应性。
多学科优化设计的历史与发展
随着技术的不断发展,未来可 以进一步拓展多学科优化设计 方法,综合考虑更多学科因素 ,实现更高层次的优化设计。
通过引入更高效的数值计算方 法和优化算法,可以提高设计 效率与精度,缩短设计周期, 提高设计质量。
推广应用至其他领 域
多学科优化设计方法不仅适用 于水下无人航行器的设计,还 可以推广应用到其他领域的复 杂系统设计中,促进各行业的 创新与发展。
多学科优化设计的主要技 术
数学优化方法
线性规划
用于确定一组线性不等式约束下的 线性目标函数的最大或最小值。
非线性规划
处理具有非线性约束条件和目标函 数的优化问题。
整数规划
在决策变量为整数的条件下,构建 和解决优化问题。
动态规划
用于解决多阶段决策过程的优化问 题,关键在于将问题分解为多个相 互关联的子问题,并逐一求解。
面向组合参数曲面扩展B-rep的特征简化和网格生成算法
面向组合参数曲面扩展B-rep的特征简化和网格生成算法随着计算机科学和工程技术的发展,在三维建模领域,B-rep是一种广泛应用的建模方法。
然而,在B-rep中,组合参数曲面的表示和处理却是一大瓶颈,因为组合参数曲面是一种复杂的几何形状,包含大量的参数和控制点。
因此,为了更好地处理组合参数曲面,必须有一种可以实现特征简化和网格生成的算法。
首先,让我们简要介绍B-rep。
B-rep是Boundary Representation的缩写,是一种流行的三维几何建模方法。
B-rep主要包括两个部分:面和边。
面是由顶点和边缘组成的线框图形,而边则是连接两个顶点的线段。
对于一个物体,使用B-rep可以将其转化为一组面和边,每个面的方向都有所区别,以表明面是内部还是外部。
B-rep还允许定义特定的几何形状作为复合实体,这些元素可以包含彼此相邻或内嵌在另一个元素中。
组合参数曲面是一种很好的示例,它包括多个小曲面的组合。
简单地说,组合参数曲面是通过控制点和参数定义的一种曲面,通常由Bezier或B样条曲线构成。
在这种曲面中,控制点和参数将决定曲线的形状。
与其他曲面相比,组合参数曲面具有更高的控制性和灵活性。
但是,这也使得组合参数曲面的表示和处理变得更加复杂。
对于这个问题,一种解决方案是特征简化。
特征简化是减少曲线参数数量的一种技术。
与完全表示曲线不同,特征简化通常使用少量的曲线参数来近似曲线,从而大大减少了曲线的复杂性。
特别是在组合参数曲面中,这种简化技术可以提高模型的性能和可视化效果。
这种方法可以通过一些几何计算来实现,如抽样和平均算法、自适应采样算法、Bezier曲线压缩算法等。
接下来是网格化。
网格化是将几何形状转换成网格结构的过程。
在三维建模中,网格通常被用来表示物体的表面形状。
对于组合参数曲面,曲面上每个小区域通常需要划分成一个矩形或者三角形的网格。
为了避免数据量过大,可以使用一些简单的几何计算来优化这个过程。
turbulent_viscosity_rate_limited问题
turbulent viscosity rate limited问题Let's take care of the warning "turbulent viscosity limited to viscosity ratio****" which is not physical. This problem is mainly due to one of the following:1)Poor mesh quality(i.e.,skewness > 0.85 for Quad/Hex, or skewness > 0.9 for Tri/Tetra elements). {what values do you have?}2)Use of improper turbulent boudary conditions.3)Not supplying good initial values for turbulent quantities.出现这个警告,一般来讲,最可能的就是网格质量的问题,尤其是Y+值的问题;在划分网格的时候要注意,第一层网格高度非常重要,可以使用NASA的Viscous Grid Space Calculator来计算第一层网格高度;如果这方面已经注意了,那就可能是边界条件中有关湍流量的设置问题,Your mesh may have high cell jumps in the domain1 这个应该是湍流模型的选取与第一层网格高度之间不满足近壁处理关系而产生的问题,如果你没有使用壁面函数的话,第一层网格高度尽可能地小点儿,比如取为弦长的百万分之一左右;另外,边界条件中关于湍流量的设置不合理也会导致这个警告。
2 (不推荐)solve-controls-limits Maximum Turb. Viscosity Ratio 加多两个0,估计是一些单元的最大Turb. Viscosity Ratio超出了限定值()恕我直言,你的这个方法只是治标不治本,他这个问题多数是由于网格尺度太大引起的。
非单调ARMIJO型线搜索下的新谱共轭梯度法
非单调ARMIJO型线搜索下的新谱共轭梯度法
张颖
【期刊名称】《数学学习与研究:教研版》
【年(卷),期】2015(000)007
【摘要】共轭梯度方法是解决大规模无约束优化问题的重要方法,从不同角度来研究共轭梯度法有着重要意义.本文在非单调线搜索技术[1]基础之上,提出的一种新的非单调谱共轭梯度方法,并证明该方法具有充分下降性和全局收敛性.
【总页数】2页(P126-127)
【作者】张颖
【作者单位】大连理工大学城市学院,辽宁大连116600
【正文语种】中文
【中图分类】O224
【相关文献】
1.Armijo型线搜索下的新共轭梯度法的全局收敛性
2.非单调Armijo型线搜索下Liu-Storey共轭梯度法的收敛性
3.基于Armijo型线搜索下的谱共轭梯度法
4.一类共轭梯度法在非单调Armijo型线搜索下的全局收敛性
5.非单调Armijo型线搜索下Liu-Storey共轭梯度法的收敛性
因版权原因,仅展示原文概要,查看原文内容请购买。
圣维南方程组 python
圣维南方程组 python圣维南方程组(SVNE)是一种应用于结构分析和有限元仿真的数学模型。
它可以用来研究复杂的结构和材料行为,在结构设计和分析中大有裨益。
自20世纪80年代起,该技术被广泛应用于自然科学、工程学和医学领域。
圣维南方程组最初是在python中开发的,并逐渐演变成一种通用的开发平台,适用于不同的语言和环境。
Python是一种通用编程语言,最早由Guido van Rossum在1989年发明,现在已经成为计算机科学、工程和软件开发领域的一种主流语言。
由于它容易上手又具有很强的可编程性,它可以轻松地用于编写简单的脚本,以及复杂的分布式应用程序。
它的易用性使它成为金融分析、科学计算和机器学习应用等多种开发环境的首选。
Python作为一种编程语言具有非常强大的面向对象能力,非常容易进行高效的计算。
因此,它可以很容易地构建和分析复杂的数学模型,如圣维南方程组。
它可以很容易地构建大规模的并行性算法,实现快速而有效的运算速度。
它还可以与众多的软件开发库混合使用,以构建更加复杂的应用程序。
此外,Python还可以与其他主流的开发和编译器混合使用,使圣维南方程组的程序可以在不同的平台上运行。
这样,圣维南方程组的程序可以被用于服务器、手持设备和Web应用等多种不同的环境。
由于Python有着安全、稳定、可扩展性和可靠性的特性,因此圣维南方程组技术在软件开发中有着广泛的应用。
另外,Python也可以作为一种高级封装语言,方便用于构建复杂的图形用户界面应用程序,允许圣维南方程组的程序可以以友好的界面被交互使用。
它的容易学习的特性也使得它可以被容易地学习和使用,使得圣维南方程组编程技术可以应用于更多的领域,更容易被广泛接受。
总而言之,python作为一种具有强大算法能力的编程语言,为圣维南方程组技术的开发和应用提供了有力的技术支持。
它拥有的高效计算能力、可编程性、可移植性、可扩展性和可靠性,使得圣维南方程组技术可以应用到更多领域,有效地支持计算机科学、工程学、机器学习和金融分析等多种应用程序开发。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
NASA/CR-1998-206910ICASE Report No. 98-6Multigrid Strategies for Viscous Flow Solvers on Anisotropic Unstructured MeshesDimitri J. MavriplisICASEInstitute for Computer Applications in Science and Engineering NASA Langley Research CenterHampton, VAOperated by Universities Space Research AssociationMULTIGRID STRATEGIES FOR VISCOUS FLOW SOL VERS ON ANISOTROPICUNSTRUCTURED MESHESDIMITRI J.MAVRIPLIS∗Abstract.Unstructured multigrid techniques for relieving the stiffness associated with high-Reynolds number viscousflow simulations on extremely stretched grids are investigated.One approach consists of employing a semi-coarsening or directional-coarsening technique,based on the directions of strong coupling within the mesh,in order to construct more optimal coarse grid levels.An alternate approach is developed which employs directional implicit smoothing with regular fully coarsened multigrid levels.The directional implicit smoothing is obtained by constructing implicit lines in the unstructured mesh based on the directions of strong coupling.Both approaches yield large increases in convergence rates over the traditional explicit full-coarsening multigrid algorithm.However,maximum benefits are achieved by combining the two approaches in a coupled manner into a single algorithm.An order of magnitude increase in convergence rate over the traditional explicit full-coarsening algorithm is demonstrated,and convergence rates for high-Reynolds number viscousflows which are independent of the grid aspect ratio are obtained.Further acceleration is provided by incorporating low-Mach-number preconditioning techniques,and a Newton-GMRES strategy which employs the multigrid scheme as a preconditioner.The compounding effects of these various techniques on speed of convergence is documented through several example test cases.Key words.multigrid,anisotropic,Navier-StokesSubject classification.Applied and Numerical Mathematics1.Introduction.Multigrid methods have proven to be very effective techniques for accelerating con-vergence to steady state of both elliptic and hyperbolic problems.For simple elliptic problems,such as a Poisson equation,convergence rates of0.1are achievable,meaning that for each multigrid cycle,the numerical error can be reduced by one order of magnitude.For hyperbolic problems,such as the Euler equations in computationalfluid dynamics,the best rate that theoretically can be achieved for a second order discretization is0.75,according to the analysis discussed by Mulder[24].Indeed,many structured as well as unstructured Euler solvers achieve convergence rates close to 0.75[30,36,15,25,26].However,for high-Reynolds number viscousflow solutions,multigrid Navier-Stokes solvers generally result in convergence rates which are an order of magnitude or more slower than those obtained for inviscidflows.The main reason for this breakdown in efficiency of the multigrid algorithm is the use of highly stretched anisotropic meshes which are required to efficiently resolve boundary layer and wake regions in viscousflows.Indeed,the higher the Reynolds number,the more grid stretching is required, and the worse the convergence rate becomes.This poses particular difficulties for simulatingflight Reynolds numberflows for large aircraft,where the required meshes may contain stretching ratios in excess of100,000 to1.The classic multigrid remedy for this problem is to resort to semi-coarsening,or to employ smoothers which are implicit in the direction normal to the stretching[3].The idea of semi-coarsening is to coarsen themesh only in the direction normal to the grid stretching,rather than in all coordinate directions simultane-ously.This idea was used by Mulder[24,23]to overcome the stiffness associated with the grid alignment phenomenon for an upwind scheme on non-stretched structured meshes.Since different regions of theflow field may contain anisotropies in differing directions,a complete sequence of grids,each coarsened in a single coordinate direction is generally required.Radespiel and Swanson[29]employed semi-coarsening to alleviate the stiffness due to stretched meshes for viscousflow calculations.More recently,Allmaras[1]has shown how the use of preconditioners coupled with semi-coarsening can help alleviate grid stretching induced stiffness. Pierce and Giles[26]have demonstrated improved convergence rates for turbulent Navier-Stokesflows using diagonal preconditioning coupled with a J-coarsening technique on structured grids,where the grid is only coarsened in the J-coordinate direction,which is normal to the boundary layer.Semi-coarsening techniques can be generalized to unstructured meshes as directional coarsening methods. Graph algorithms can be constructed to remove mesh vertices based on the local degree and direction of anisotropy in either the grid or the discretized equations.This is achieved by basing point removal decisions on the values of the discrete stencil coefficients.This is the basis for algebraic multigrid methods[34],which operate on sparse matrices directly,rather than on geometric meshes.These techniques are more general than those available for structured meshes,since they can deal with multiple regions of anisotropies in conflicting directions.They offer the possibility of constructing algorithms which attempt to generate the“optimal”coarse grid for the problem at hand.Morano et al.[21]have demonstrated how such techniques can produce almost identical convergence rates for a Poisson equation on an isotropic cartesian mesh,and a highly stretched unstructured mesh.More recently,Francescatto[6]has demonstrated convergence improvements for the Navier-Stokes equations using directional coarsening multigrid.One of the drawbacks of semi-or directional-coarsening techniques is that they result in coarse grids of higher complexity.While a full-coarsening approach reduces grid complexity between successively coarser levels by a factor of4in2D,and8in3D,semi-coarsening techniques only achieve a grid complexity reduction of2,in both2D and3D.This increases the cost of a multigrid V-cycle,and makes the use of W-cycles impractical.Perhaps more importantly for unstructured mesh calculations,the amount of memory required to store the coarse levels is dramatically increased,particularly in3D.Raw[31]advocates the use of directional coarsening,but at afixed coarsening rate of10to1,in order to reduce overheads.This generally results in the removal of multiple neighboring points in the coarsening process,and thus requires a stronger smoother than a simple explicit scheme.An alternative to semi-coarsening is to use a line solver in the direction normal to the grid stretching coupled with a regular full coarsening multigrid algorithm,at least for structured grid problems[3].In the following sections,we examine the benefits obtained through the use of directional coarsen-ing and implicit line solvers,and combine the two approaches to construct an efficient Reynolds averaged Navier-Stokes solver for very highly stretched meshes.The resulting algorithm is then augmented by a preconditioning technique and a Krylov method.2.Base Solver.The Reynolds averaged Navier-Stokes equations are discretized by afinite-volume technique on meshes of mixed triangular and quadrilateral elements.A sample mesh is depicted in Figure 2.1.Isotropic triangular elements are employed in regions of inviscidflow,and stretched quadrilateral elements are used in the boundary layer and wake regions.All elements of the grid are handled by a single unifying edge-based data-structure in theflow solver[19].Triangular elements could easily be employed in the boundary layer regions simply by splitting each quadrilateral element into two triangular elements.Fig.2.1.Mixed element grid used for viscousflow calculations aboutNACA0012airfoil;Number of vertices=4880As shown in Figure2.2,the resulting control-volumes for quadrilateral elements produce stencils with strong coupling in the direction normal to the grid stretching(rge control volume faces)and weak coupling in the direction of stretching.When triangular elements are employed in regions of high mesh stretching,the stencils are complicated by the presence of diagonal connections,and do not decouple as simply in the normal and stretching directions as for quadrilateral elements.Therefore,the use of quadrilateral elements in regions of high mesh stretching is central to the solution algorithms described in this paper. Alternatively,one could chose to retain triangular elements throughout the entire mesh,and employ different types of dual control-volumes,such as a containment dual rather than median-dual based control-volume[2].Fig.2.2.Median control-volumes for stretched quadrilateral and triangu-lar elementsFor the convective terms,three differentfinite-volume discretizations have been implemented.Theupwind scheme relies on a Roe Rieman solver[33]to compute aflux at the control-volume interfaces.Second-order accuracy is achieved by extrapolating vertex based variables to the control-volume interfacesbased on gradient information evaluated by Green-Gauss contour integration around each control-volumeboundary.Shock capturing is achieved using the smooth limiter of Venkatakrishnan[43].This discretizationis used exclusively in the preliminary study of sections3through5.The upwind scheme can be formulated as a central difference scheme with added dissipation,where thedissipation is constructed as a set of transformation matrices multiplied by the difference in left and rightreconstructed states at a control-volume boundary.A matrix-based artificial dissipation scheme is obtainedby utilizing these same transformation matrices,but using them to multiply a difference of blendedfirst and second differences rather than a difference of reconstructed states at control-volume boundaries.The traditional scalar artificial dissipation scheme is obtained by replacing the four eigenvalues u,u,u+c,u−c in the transformation matrices of the matrix dissipation model by the maximum eigenvalue|u|+c,where u and c denote localfluid velocity and speed of sound,respectively.This scheme corresponds to the original scheme of Jameson et al.[8].The scalar and matrix-based artificial dissipation schemes are used in sections 6through8.The thin-layer form of the Navier-Stokes equations is employed in all cases,and the viscous terms are discretized to second-order accuracy byfinite-difference approximation.For multigrid calculations,a first-order discretization is employed for the convective terms on the coarse grid levels for all cases.The basic time-stepping scheme is a three-stage explicit multistage scheme with stage coefficients op-timized for high frequency damping properties[41],and a CFL number of1.8.Convergence is accelerated by a local block Jacobi preconditioner,which involves inverting a4×4matrix for each vertex at each stage[32,22,25,26].This approach,which can either be interpreted as a pre-conditioner,or as a local matrix time-step[11],has been shown to produce superior convergence rates for upwind schemes.No other techniques such as enthalpy damping or residual smoothing are employed[8].The single equation turbulence model of Spalart and Allmaras[38]is utilized to account for turbulence effects.This equation is discretized and solved in a manner completely analogous to theflow equations,with the exception that the convective terms are only discretized tofirst-order accuracy.3.Directional-Coarsening.In the context of unstructured meshes,there exists various strategies for implementing multigrid techniques.Two approaches that have been explored extensively by the author are the method of overset meshes,and the method of control-volume agglomeration[15,37,10,18].In the overset-mesh approach,a sequence offine and coarse unstructured meshes is constructed either by hand, or in some automated fashion.These meshes are then employed in the multigrid algorithm,and variables are transferred between the various meshes of the sequence using linear interpolation.In the agglomeration approach,coarse levels are constructed by fusing together neighboringfine grid control volumes to form a smaller number of larger and more complex control volumes on the coarse grid.While directional coarsening strategies can be employed in both multigrid approaches,for practical rea-sons we have chosen to utilize only the overset-mesh multigrid approach for these preliminary investigations. In fact,the same coarsening algorithm may be used for both approaches.In the overset-mesh approach,the graph coarsening algorithm is employed to select a subset of points from thefine grid from which the coarse grid will be formed.Once the coarse grid points have been determined,they must be triangulated in order to form a consistent coarse grid.The coarsening algorithm is based on a weighted graph.Each edge of the mesh is assigned a weight which represents the degree of coupling in the discretization.In the true algebraic multigrid sense,these weights should be formed from the stencil coefficients.However,since the Navier-Stokes equations represent a system of equations,multiple coefficients exist for each edge.For simplicity,the edge weights are taken as the inverse of the edge length.For eachfine grid vertex,the average and the maximum weight of all incident edges are precomputed and stored.This ratio of maximum to average weight is an indication of the local anisotropy in the mesh at each vertex.The coarsening algorithm begins by choosing an initial vertex as a coarse grid point or seed point,and attempts to remove neighboring points by examining the corresponding edge weights.If the ratio of maximum to average weights at the seed point is greater thanα,(usually taken asα=4),then only the neighboring vertex along the edge of maximum weight is removed.Otherwise,(i.e.in isotropic regions)all neighboring edges are removed.The next seed point is then taken from a priority list which contains points which are adjacent to points which have previously been deleted.In the present implementation,the graph-based coarsening algorithm is only employed in the boundary-layer and wake regions.Once these regions have been coarsened,the remaining regions of the domain are regridded using a Delaunay advancing-front technique with user specified resolution.This approach is purely for convenience,since the original mesh is generated by a two-step procedure,which employs an advancing-layers technique in the regions of viscous flow,and an advancing-front Delaunay triangulation in regions of inviscid flow [16,17].The full weighted-graph coarsening algorithm will be implemented in the context of agglomeration multigrid in future work. 0 100 200 300 400 500 600Number of MG Cycles-12.00 -10.00 -8.00 -6.00 -4.00 -2.00 0.00 2.00L o g (E r r o r )Fig.3.1.Multigrid Convergence Rate using Explicit Smoothing and Full-Coarsening for inviscid flow over NACA 0012airfoilThe first test case illustrates the convergence rates achievable for isotropic problems with the present algorithm.The inviscid transonic flow over a NACA 0012airfoil is computed at a Mach number of 0.73and incidence of 2.31degrees.The mesh contains 5849vertices and consists uniquely of isotropic triangular elements.The convergence history is documented in Figure 3.1.A total of 5multigrid levels were employed,and a residual reduction of 11orders of magnitude over 100multigrid W-cycles was obtained.The overall convergence rate for this case is 0.77,which is very close to the theoretical limit of 0.75.The second test case illustrates the stiffness induced by anisotropy.The viscous turbulent flow over the same geometry at the same conditions with a Reynolds number of 5million is computed on the mesh depicted in Figure 2.1.This mesh contains a total of 4880points.The cells on the airfoil surface have a height of 2.e-06chords,and the maximum cell aspect ratio in the mesh is 20,000.This type of mesh is required in order to capture the boundary layer gradients.The computed Mach contours at these conditions are displayed in Figure 3.2.The convergence rate is depicted in Figure 3.3,using 5multigrid levels which were constructed using the unweighted or full-coarsening version of the coarsening algorithm,as described in [18].The slowdown in convergence over the inviscid test case is dramatic.After an initial phase of rapid convergence,the residual reduction rate slows down to less than 0.99per multigrid W-cycle.Figure 3.3also depicts the convergence rate of the same algorithm when a sequence of directionally coarsened grids isemployed in the multigrid algorithm.The improvement is substantial,yielding a residual reduction of 0.91per multigridV-cycle.puted Mach contours for viscous flowover NACA 0012airfoil 0 100 200 300 400 500 600Number of MG Cycles-12.00 -10.00 -8.00 -6.00 -4.00 -2.00 0.00 2.00L o g (E r r o r )EXPLICIT FULL-COARSENINGEXPLICIT SEMI-COARSENINGparison of Multigrid Convergence Rateusing Explicit Smoothing and Full-Coarsening versus Ex-plicit Smoothing and Semi-Coarsening for viscous flowover NACA 0012airfoil4.Directional Implicit Smoothers .Although directional coarsening strategies for multigrid can achieve large increases in convergence speed,as demonstrated in the previous case,the coarse grids are more complex than those obtained in the full coarsening strategy.Note for example in the previous case that a V-cycle was required,since the W-cycle is impractical in this case (the amount of work involved is unbounded as the number of grid levels increases).As mentioned previously,the overhead required to store the coarse levels is also greatly increased in such cases.An alternative approach is to use a directionally implicit smoother in conjunction with full coarsening multigrid.For structured grids,an example of a directionally implicit smoother is a line solver.Line solvers are attractive because they result in block-tridiagonal matrices which can be solved very efficiently.For unstructured grids,predetermined grid lines do not exist.However,line solvers can still be employed,provided lines are artificially constructed in the unstructured grid.Techniques for constructing lines in an unstructured grid have previously been described in the literature [7,13].In those efforts,lines which span the entire grid were constructed using unweighted graph techniques.In the present context,the role of the line solver is to relieve the stiffness induced by grid anisotropy.Therefore,lines are desirable only in regions of strong anisotropy,and in these regions they must propagate along the direction of strong coupling.Given these requirements,an algorithm to build lines in an anisotropic mesh can be constructed using a weighted graph technique,in a manner analogous to the algorithm for directional coarsening described previously.The edge weights are defined as previously,and the ratio of maximum to average adjacent edge weight is pre-computed for every mesh vertex.The vertices are then sorted according to this ratio.The first vertex in this ordered list is then picked as the starting point for a line.The line is built by adding to the original vertex the neighboring vertex which is most strongly connected to the current vertex,providedthis vertex does not already belong to a line,and provided the ratio of maximum to minimum edge weights for the current vertex is greater thanα,(usingα=4in all cases).The line terminates when no additional vertex can be found.If the originating vertex is not a boundary point then the procedure must be repeated beginning at the original vertex,and proceeding with the second strongest connection to this point.When the entire line is completed,a new line is initiated by proceeding to the next available vertex in the ordered list.Ordering of the initial vertex list in this manner ensures that lines originate in regions of maximum anisotropy,and terminate in isotropic regions of the mesh.The algorithm results in a set of lines of variable length.In isotropic regions,lines containing only one point are obtained,and the point-wise scheme is recovered.On vector machines,the block-tridiagonal line solves must be vectorized across the lines.Because the lines have varying lengths,all lines must be made of similar length by padding the matrices of the shorter lines with zeros on the off-diagonals and ones on the diagonal entries,in such a way that zero additional corrections are generated at these locations by the implicit solver.To minimize the amount of padding required,the lines are sorted into groups,such that within each group,all lines are close in size to one another.Vectorization then takes place over the lines within each group.The size of the group also determines the amount of memory required for the line solves,since the tridiagonal matrices are constructed just prior to,and discarded just after the lines are solved,and all lines are uncoupled.For scalar machines, lines may be processed individually,and the memory requirements(i.e.additional working memory required by the implicit solver)are determined by the length of the longest line in the grid.The implicit system generated by the set of lines can be viewed as a simplification of the general Jacobian obtained from a linearization of a backwards Euler time discretization,where the Jacobian is that obtained from afirst-order discretization,assuming a constant Roe matrix in the linearization.For block-diagonal preconditioning,all off-diagonal block entries are deleted,while in the line-implicit method,the block entries corresponding to the edges which constitute the lines are preserved.The implicit line solver is applied as a preconditioner to the three-stage explicit scheme described previously.At each stage in the multi-stage scheme,the corrections previously obtained by multiplying the residual vector by the inverted block-diagonal matrix are replaced by corrections obtained by solving the implicit system of block-tridiagonal matrices generated from the set of lines.This implementation has the desirable feature that it reduces exactly to the block-diagonal preconditioned multi-stage scheme when the line length becomes one(i.e.1vertex and zero edges),as is the case in isotropic regions of the mesh.As an example,the viscousflow case of the previous section has been recomputed using the line-implicit solver with full-coarsening multigrid.The set of lines generated in the mesh of Figure2.1are depicted in Figure4.1.The lines extend through the boundary layer and wake regions,and have mostly a length of1 (i.e.1vertex and zero edges)in the regions of inviscidflow where the mesh is isotropic.A total of5meshes was employed in the multigrid sequence.The convergence rate for this algorithm is depicted in Figure4.2. The residuals are reduced by over4orders of magnitude in100cycles,which corresponds to a residual reduction rate of0.92per multigrid W-cycle.This rate is close to that obtained by the point-wise scheme using directional coarsening.However,the coarse grids are of lower complexity in this case and a W-cycle has been used.Fig.4.1.Implicit lines produced by the current algo-rithm on the grid of Figure2.10 100 200 300 400 500 600Number of MG Cycles-12.-1.-8.-6.-4.-2..2.Log(Error)EXPLICIT FULL-COARSENINGIMPLICIT FULL-COARSENINGparison of Multigrid Convergence Rate using Explicit Smoothing and Full Coarsening versus Im-plicit Line Solver and Full-Coarsening for viscousflow over NACA0012airfoilbining Directional Coarsening and Smoothing.There are obvious similarities between the directional coarsening algorithm and the technique used to construct lines for the directional implicit method.These two techniques can be combined,in a coupled manner,to produce a more robust and efficient overall algorithm.The simplest way to combine these techniques is to use the pre-conditioned line-implicit smoother with a sequence of directionally coarsened coarse multigrid levels.In order to more closely couple these two techniques,we use exactly the same criteria for coarsening and for line construction.This ensures that coarsening will proceed in the same direction and along the lines determined for the implicit solver.An example of this combined algorithm is depicted by the convergence plot in Figure5.1.In this case, the combined directional-implicit-coarsening algorithm has been used to solve the same viscous turbulent flow as described in the previous sections.Thefine mesh for this case is similar to the one displayed in Figure 2.1,but contains5828points,and the mesh cells near the airfoil boundary have a height of2.e-07chord lengths,and the maximum aspect-ratio cell in the mesh is200,000.This represents an order of magnitude more anisotropy than the previous mesh.While this type of normal boundary layer resolution is probably excessive for the present case,it is nonetheless representative of what is required forflight Reynolds number simulations of large aircraft.Even on this extremely stretched grid,the residuals are reduced by over4orders of magnitude over100cycles,which results in a average convergence rate of0.92per multigrid V-cycle.This rate is comparable to that achieved by either algorithm separately on the previous case.However,on this more highly stretched grid,neither algorithm alone could deliver this type of performance.Furthermore,the monotonic behavior of the current convergence history is a good indication of robustness.0 100 200 300 400 500 600Number of MG Cycles-12.00 -10.00 -8.00 -6.00 -4.00 -2.00 0.00 2.00L o g (E r r o r )2:1 COARSENING, V-CYCLE4:1 COARSENING, W-CYCLEFig. 5.1.Multigrid Convergence Rate using Implicit Line-Solver andSemi-Coarsening for viscous flow over NACA 0012airfoilOn the other hand,this case is still plagued by the high coarse grid complexities of the semi-coarsening approach.However,these two techniques,directional coarsening and directional implicit smoothing,are two strategies for treating the same problem.In this respect they are more overlapping in nature than complementary,and one of these techniques may be relaxed somewhat.We therefore propose to perform directional-coarsening as described previously,along the direction of the implicit lines,but at a faster coars-ening rate of 4:1.Therefore,rather than remove every second point along the implicit lines,we remove three points for every preserved coarse grid point along the implicit lines.In isotropic regions,the coarsening algorithm remains unchanged.This has the effect of generating a sequence of coarse grids which has roughly the same complexity as that obtained by the full-coarsening technique.To illustrate this approach,the same case has been recomputed using the line-implicit smoother and directional coarsening at a 4:1rate.The convergence rate is compared with that obtained previously in Figure 5.1.The average residual reduction rate for this case is 0.88.The fact that this rate is even faster than that achieved in the previous example is attributed to the use of W-cycles in the current calculation,which is made possible due to the low complexity of the coarse grids.6.Insensitivity to Aspect-Ratio and Discretization .While the above results are encouraging,they represent a single data point for a relatively easy problem on a relatively coarse grid.The goal of this section is to demonstrate the robustness of the present approach for more difficult and realistic problems,as well as the insensitivity of the approach to different discretization schemes and varying grid aspect-ratios.The first test case consists of the computation of transonic flow over an RAE 2822airfoil at a Mach number of 0.73,an incidence of 2.31degrees,and a Reynolds number of 6.5million.Three different grids were used for this computation.All three grids contain the same distribution of boundary points,but different resolutions in the direction normal to the boundary and wake regions.The first grid contains a normal wall spacing of 10−5chords,and a total of 12,568points,while the second grid contains a normal wall spacing。