MATCHER Manual

Version 1.1

Edition 0.1/25 August 2023



















Farhat Research Group (FRG)
Stanford University



This manual was prepared with Texinfo (http://www.gnu.org/software/texinfo).

Short Contents

Table of Contents


Up: (dir)

MATCHER


Next: 

1 Introduction

The prediction of many fluid/structure interaction phenomena requires solving simultaneously the coupled fluid and structural equations of equilibrium with an appropriate set of transmission (interface boundary) conditions. In many situations, the fluid and structure subproblems have different mesh resolution requirements and as a result, their computational domains have non-matching discrete interfaces (Figure 1). Converting the fluid pressure and stress fields at the fluid/structure interface into a structural load and transferring the structural motion to the fluid system can be performed in three steps:

In many applications, Step 1 can be performed once, in a preprocessing phase, by a computational geometry module. The MATCHER code discussed in this document is such a module. It outputs information that can be exploited to populate the data structures of a flow solver and a structural analyzer that are necessary for exchanging aerodynamic/hydrodynamic and elastodynamic data. Subsequently, Step 2 can be performed by elements of an accompanying library of subroutines that are callable from the flow solver and the structural analyzer. Finally, Step 3 can be performed either via any communication channel (for example, MPI) including I/O.



This document focuses on Step 1 and the MATCHER module.


Figure 1: Fluid Mesh (or Embedded Discrete Representation of the Wet Surface of the Structure) and Structure Mesh with Non-Matching Discrete Interfaces



Figure 2: Pairing of Entities of the Structural Mesh and Fluid Mesh (or Embedded Discrete Representation of the Wet Surface of the Structure)


Next: , Previous: Introduction

2 Input Files

MATCHER requires (and accepts) the following (optional) input files:


Next: , Previous: InputFiles

3 Output Files

The following output files are generated by MATCHER (Warning: existing files are overwritten!):


Next: , Previous: OutputFiles

4 Line Command Input

The line-command for running MATCHER in order to generate the auxiliary files needed by the AERO-S and AERO-F codes for performing a fluid/structure simulation is as follows:

matcher <fluid.mesh file>
<structure.input file>
-b <fluid.control file> (optional)
-a <structure.control file> (optional)
-t <geometric tolerance> (for computing intersection of normals and elements; default value is 0.1)
-e <distance tolerance> (for canceling a performed matching when the distance between the matched entities exceeds the specified limit; default value is MAXDOUBLE (a very large number))
-m <fluid.match file> (optional)
-n <structure.match file> (optional)
-beam <beam elements> (for processing beam elements)
-l <number of levels for the geometric tolerance> (for repeatedly attempting to match previously unmatched fluid elements)
-output <output prefix>
-p <number of threads> (for running MATCHER in parallel mode using p threads)

In the above command, note that:

Example:


Next: , Previous: LineCommandInput

5 Special Features to Remember


Next: , Previous: SpecialFeatures

6 References

N. Maman and C. Farhat, Matching Fluid and Structure Meshes for Aeroelastic Computations: A Parallel Approach, Report CU–CUSSC–93–12.



C. Farhat, M. Lesoinne and P. LeTallec, Load and Motion Transfer Algorithms for Fluid/Structure Interaction Problems with Non-Matching Discrete Interfaces: Momentum and Energy Conservation, Optimal Discretization and Application to Aeroelasticity, Computer Methods in Applied Mechanics and Engineering, Vol. 157, pp. 95-114 (1998).


Next: , Previous: References

Appendix A List of Structural Finite Elements Supported by MATCHER

Element types AERO-S Element type
• Bernoulli beam element (6)
• Timoshenko beam element (7)
• 3-node AQR shell element (8)
• 4-node shell element element (88)
• 3-node composite or orthotropic shell element (20)
• 4-node composite or orthotropic shell element (2020)
• 3-node triangular heat element (46)
• 4-node triangular heat element (4646)


Next: , Previous: ListofStructuralElements

Appendix B The Structure MATCHER File

This file is generated for fluid/structure simulations. It contains the data needed for relating the wet entities of the structure to the wall entities of the fluid. Currently, the structure is assumed to consist of a single global domain. An example of a MATCHER file is provided below.

     SUBD 1                                           // number of structure subdomains
     (always 1)
     RCVF 0                                           // always 0
     SNDF 2                                           // number of fluid subdomains w/
     matched nodes 
     1 2                                              // fluid subdomain id & number of
     matched nodes 
     741 0.23.069 0.277931 0.000000 0.000000 0.368834 // element number containing a matching
     point,
                                                         natural coordinates of matching
     point,
                                                         and gap vector
     ...
     ...                                              // end of list
     2 1                                              // fluid subdomain id & number of
     matched nodes
     719 0.197808 0.000000 0.000000 0.000000 -0.19567 // element number containing a matching
     point,
                                                         natural coordinates of matching
     point,
                                                         and gap vector
     END SUBD                                         // end of data for structural subdomain
     END             


Next: , Previous: StructureMatcher

Appendix C The Fluid MATCHER File

This file is generated for fluid/structure simulations. It contains the data needed for relating the wet entities of the structure to the wall entities of the fluid. An example of a this file is provided below.

     1                  // dummmy subdomain id number (always 1)
     1 3                // dummy number, number of matched nodes
     2                  // list of matched nodes
     3
     4
     ... ...            // end of list
     0 0 -0.252963      // gap vectors
     0 0 -0.268125
     ... ...            // end of list


Previous: FluidMatcher

Appendix D Gap Vectors

For non-matching fluid/structure meshes with non-coinciding geometric interfaces, there always exists gaps at the interface due to the difference in resolution of the fluid and structure meshes. This is shown in Figure 3. These gaps must be considered when employing a mesh motion scheme in order to maintain the integrity of the meshes (i.e. prevent element interpenetration). For example, Figure 4, shows the rotation of a flat plate when the gaps at the structure-fluid interface are not taken into account. The fluid nodes at the interface undergo the same displacements as the nodes at the structure interface. Thus, the application of a large rotation will eventually lead to element cross over. It is necessary to apply the rotation to the gap vector as well in order to maintain the mesh integrity as shown in Figure 5.


Figure 3: Fluid-Structure Interface

         


Figure 4: Flat Plate Rotation w/o Gap Vector

         


Figure 5: Flat Plate Rotation w/ Gap Vector