Introduction -2

使用变量和常量 std::cin不要用endl e.g. 下面写法是错误的 1cin >> typeNUmbe >>endl; 以上写法会报错!!! 在C++中,变量名可包含数字和字母,但不能以数字打头。变量名不能包含空格和...

Coding

Introduction

使用 std::cout 显示一行消息,std::endl 命令cout换行,作用就相当于\n ++i vs i++ ++i will increment the value of i, and then return the increment...

Coding

Beginner's Guide to C++ Basics

We get to that point, c++, this chapter mainly introduce parts of c++, and understand them with many code example.

Coding

[Kelvin Wedge] Eulerian and Lagrangian Forms of the Continuity and Momentum Equations

We recall the continuity and Euler momentum equations in Eulerian form, derive the material derivative \(\mathrm{d} \mathbf{v} / \mathrm{d} t=\partial_t \mathbf{v}+(\mathbf{v} \cdot \nabla) \mathbf{v}\), and explain how Eulerian field descriptions relate to Lagrangian particlebased descriptions via \(\rho(\mathbf{x}(t), t)\).

Fluid Mechanics

[Kelvin Wedge] The Equations for Water Waves (Linear and Nonlinear Waves)

This note primarily delves into incompressible flow momentum equation and Surface of water waves and boundary condition and Variational Formulation.

Fluid Mechanics
11011121314