Wave Modeling
Theory and Physics
Overview
Professor! Today's topic is about wave modeling, right? What is it like?
Linear wave theory. Dispersion relation. Stokes waves, irregular wave spectrum.
Ah, I see! So that's how linear wave theory works.
Governing Equations
After hearing this, I finally understand why the description of wave modeling is important!
Discretization Methods
How do you actually solve these equations on a computer?
We use spatial discretization by the Finite Element Method (FEM). We assemble the element stiffness matrix and construct the global stiffness equation.
We perform transformation to the weak form (variational form) and use formulation by the Galerkin method using test functions and shape functions. The choice of element type (low-order elements vs. higher-order elements, full integration vs. reduced integration) directly affects the trade-off between solution accuracy and computational cost.
Matrix Solution Algorithms
What exactly are matrix solution algorithms?
Solve the simultaneous equations by direct methods (LU decomposition, Cholesky decomposition) or iterative methods (CG method, GMRES method). For large-scale problems, preconditioned iterative methods are effective.
| Solution Method | Classification | Memory Usage | Applicable Scale |
|---|---|---|---|
| LU decomposition | Direct Method | O(n²) | Small to Medium Scale |
| Cholesky decomposition | Direct Method (Symmetric Positive Definite) | O(n²) | Small to Medium Scale |
| PCG Method | Iterative Method | O(n) | Large Scale |
| GMRES method | Iterative Method | O(n·m) | Large Scale / Non-symmetric |
| AMG Preconditioner | Preprocessing | O(n) | Very Large Scale |
So, if you cut corners in the finite element method part, you'll pay for it later. I'll keep that in mind!
Implementation in Commercial Tools
So, what software can be used for wave modeling?
| Tool Name | Developer/Current | Main File Formats |
|---|---|---|
| Simcenter STAR-CCM+ | Siemens Digital Industries Software | .sim, .java, .csv |
| Ansys Fluent | Ansys Inc. | .cas, .dat, .msh, .jou |
| OpenFOAM | Open Source (OpenCFD/ESI, OpenFOAM Foundation) | Dictionary files (blockMeshDict, etc.), .foam |
| Ansys CFX | Ansys Inc. | .cfx, .def, .res, .ccl |
Vendor Lineage and Product Integration History
Is the background of each software quite dramatic?
Simcenter STAR-CCM+
Next is about Simcenter STAR. What's the content?
Developed by CD-adapco. Acquired by Siemens in 2016 and integrated into the Simcenter brand. Features polyhedral meshes.
Current Affiliation: Siemens Digital Industries Software
Ansys Fluent
Next is about Ansys Fluent. What's the content?
Developed by Fluent Inc. Acquired by Ansys in 2006. A general-purpose CFD solver based on unstructured grids.
Current Affiliation: Ansys Inc.
After hearing this, I finally understand why development is important!
OpenFOAM
What exactly is OpenFOAM?
Open-source CFD originating from Imperial College London. Parallel development by OpenCFD Ltd (under ESI Group) and The OpenFOAM Foundation.
Current Affiliation: Open Source (OpenCFD/ESI, OpenFOAM Foundation)
Wow, the story about development is incredibly interesting! Please tell me more.
File Formats and Interoperability
Are there any points to note when transferring data between different software?
| Format | Extension | Type | Overview |
|---|---|---|---|
| CGNS | .cgns | CFD Data | CFD General Notation System. Standard exchange format for CFD results. |
| VTK | .vtk/.vtu | Visualization | Visualization Toolkit format. Used by ParaView, etc. |
When converting models between different solvers, attention is needed to the correspondence of element types, compatibility of material models, and differences in the representation of loads and boundary conditions. Particularly, higher-order elements and special elements (cohesive elements, user-defined elements, etc.) often cannot be directly converted between solvers.
I see... formats seem simple at first glance, but they are actually very profound.
Practical Considerations
Are there things like "field wisdom" that aren't in textbooks?