RBFCM_CFD is a simple CFD project that solves some classical fluid prolbems. It is designed to be modified easily by students size_terested in learning meshless method. More features will be added in the future.
The local radial-basis-function collocation method (LRBFCM) that based on the multiquadric type radial basis function is used to discretize the spatial derivitives of the governing equations. As a result, a meshless numerical method is developed for solving problems. The meshless numerical method is much simpler compared with the traditional numerical methods, such as the finite difference method and the finite element method.
-
controlData
Reads the configuration data and offers method to access the data. -
mesh
Reads the mesh file and store the information of nodes. -
rbfBasis
Defines the shape parameter and searching radius when it is initialize. Compute the linear operation of the radial basis function and return it. -
conditionPool
Collects the initial conditions and boundary conditions from configuration. note: the first index indicate the target node.-
boundaryConditions
Defines the boundary conditions, which fill the coefficient matrix and source vector. -
initialConditions
Defines the initial conditions, which fill solution vector at begining.
-
-
simulationDomain
Execute the simulation which includes matrix assemble and solving.
-
LAPLACE equation
Laplace equation is solved in a rectangular domain with dirichlet boundary conditions on all sides. -
Navier Stokes equation
The projection method is used to solve the Navier Stokes equation. A lid-driven square cavity flow case is presented.
The following open source libraries or third party functions are used by this project:
[3] Catch2
[5] Eigen Macros