Fluid Mechanics Problem Creating a Mesh

• jboeck6
In summary, the conversation is about starting a project in an Intermediate Fluids class to create a program for aerodynamic analysis on an air foil. The first step is to write a program that can compute the surface vectors and area of a triangle given three nodal coordinates, with the nodes in clockwise order. The area can be calculated using a determinant. The conversation also discusses using MATLAB for the project and finding mutually orthogonal vectors.
jboeck6
We are beginning a project in my Intermediate Fluids class to make a program that can do aerodynamic analysis on an air foil. First, given any three nodal coordinates (x,y) of a triangle, we must write a program to compute its surface vectors and area of the triangle. The nodes will be in clockwise order.

I know I can compute the area through a determinant by doing A=0.5*det([1,1,1;x1,x2,x3;y1,y2,y3]); where 1, 2, and 3 denote each node and x and y are the coordinates.

Also, we will be using MATLAB.

Thanks!

Well you know the direction from anyone point to an adjacent point, right? Treat the line connecting those two as a vector and cross it with a vector coming "out of the page" from the same vertex you started with and you will get a mutually orthogonal vector. Then just normalize it and place it in the center of the line connecting your two points.

1. What is fluid mechanics?

Fluid mechanics is a branch of physics and engineering that deals with the study of fluids (liquids and gases) and their behavior under various conditions. It involves the study of the motion, flow, and deformation of fluids, as well as the forces and stresses they experience.

2. What is mesh creation in fluid mechanics?

Mesh creation is a process in fluid mechanics that involves dividing a fluid domain into smaller, interconnected elements or cells. This is necessary in order to solve the governing equations of fluid flow using numerical methods. The resulting mesh serves as a computational grid for carrying out simulations and analyzing fluid behavior.

3. Why is creating a mesh important in fluid mechanics?

Creating a mesh is important in fluid mechanics because it allows for the accurate and efficient simulation of fluid behavior. A well-designed mesh can capture the important features of the fluid flow, such as boundary layers and vortices, while minimizing computational effort. It also allows for the visualization and analysis of complex fluid flow patterns.

4. What are some challenges in creating a mesh for fluid mechanics problems?

One of the main challenges in creating a mesh for fluid mechanics problems is balancing the trade-off between accuracy and computational efficiency. A finer mesh can provide more accurate results, but it also requires more computational resources and time. Another challenge is dealing with complex geometries and boundary conditions, which may require specialized meshing techniques and tools.

5. What are some common meshing techniques used in fluid mechanics?

Some common meshing techniques used in fluid mechanics include structured, unstructured, and hybrid meshing. Structured meshing involves creating cells that are aligned with the flow direction and have regular shapes, such as cubes or hexahedrons. Unstructured meshing involves creating cells with irregular shapes that can better capture complex geometries. Hybrid meshing combines both structured and unstructured elements to optimize the mesh for a specific fluid problem.

• Precalculus Mathematics Homework Help
Replies
7
Views
1K
• Mechanics
Replies
7
Views
932
• Engineering and Comp Sci Homework Help
Replies
1
Views
1K
• MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
383
Replies
4
Views
1K
• MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
• Introductory Physics Homework Help
Replies
1
Views
2K
• Mechanics
Replies
3
Views
2K
• Mechanics
Replies
7
Views
3K
• Mechanics
Replies
8
Views
3K