Reset boundary conditions

In Mistakes for the first case setup Fig. 2, the drag stabilized roughly after 2500 seconds. This will be set as the new simulation duration. As you can see in Fig. 1, the inlet and outlet are the “side wall”. The walls are “inlet”, “outlet”, and “walls”. That is how most of the computations define the name. It is just a bit of luck that I got some calculations. Figure 1: Wrong definition for boundaries.

Elisp: helm-with-roam open attachment on the fly

I often need to open attachments associated with a node. I used first navigate to the node and then perform an opening of an attachment. Now, with the following command, I can open attachments when I am navigating from the node selection in Helm. 1 2 (defun chatgpt/add-slash-to-string (str) (concat (substring str 0 2) "/" (substring str 2))) 1 2 3 4 5 6 7 8 ("[C-c C-o ] Open attachment" .

3d mesh clean: get rid of holes

A problematic mesh was tested using Rev Studio today, and it is very easy to complete the mission. A comparison of Rev Studio (b) with Blender (c) and Meshmixer (d) is shown in Fig. 1 . The result from Blender is almost useless. Figure 1: A comparison of mesh fix using: (a) original problematic mesh (b) Rev Studio, (c) Blender, and (d) Meshmixer. In the context of a palm, the difference in the big hole between Rev Studio and Meshmix are relatively small.

Fix hole little experienced: a little bit summarize

From my very limited experience, the best way to do “Hole filling” is to use Meshmixer (free-of-charge software at 2023Jan). Especially, the sculpture tool. Visually, it is perfectly. But, as a computation analysis I will need do more analysis on those tiny changes, stay tune. Here is a detailed comparison of the process, you can find my post on it. My first attempt after obtained the mesh from POP2 was document here: 3D mesh issues after scanning - Dao

Mistakes for the first case setup

Using simpleFoam, an image is obtained as shown in Fig. 1. As you can see, the fingers are experiencing high pressure. At some regions at the back of my hand, you can see some blue areas. Those regions are suction zone. I also use streamtrace visualization technique for surrounding flow identification. As you can see, there is a trailing edge vortex forming at the far wake. However, if we look at the drag history shown in Fig.

Emacs: slug a string

See, I have a string: “Y direction: expand and shrink”. Often, I need this string to be as an ID for programming purposes: like this y_direction_expand_and_shrink. org-hugo-slug is able to do this, but doesn’t have options to provide an underscore option, so I force overwrite it as wr/org-hugo-slug. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 (defun wr/org-hugo-slug (str &optional allow-double-hyphens) "Convert string STR to a `slug' and return that string.

Semi-Implicit Method for Pressure-Linked Equations (SIMPLE): what is it?

Khawaja (Khawaja and Moatamedi 2018) wrote a clear explanation of this algorithm. The continuous equations of looks like this: \begin{aligned} & \frac{\partial u}{\partial t}=-\frac{u \partial u}{\partial x}-\frac{u \partial v}{\partial y}-\frac{\partial p}{\partial x}+\frac{\mu}{\rho}\left(\frac{\partial^2 u}{\partial x^2}+\frac{\partial^2 u}{\partial y^2}\right) \\ & \frac{\partial v}{\partial t}=-\frac{v \partial v}{\partial y}-\frac{v \partial u}{\partial x}-\frac{\partial p}{\partial y}+\frac{\mu}{\rho}\left(\frac{\partial^2 v}{\partial y^2}+\frac{\partial^2 v}{\partial x^2}\right) \end{aligned} The first step is to solve the discretized momentum equations at the current time step: \begin{gathered} u^{t+1}(i, j)=u^t(i, j)+ \\ \Delta t\left(\text { function }\left(u^t, v^t, \rho, \mu, \Delta x, \Delta y\right)-\frac{(p(i, j)-p(i, j+1))}{\Delta x}\right) \\ v^{t+1}(i, j)=v^t(i, j)+ \\ \Delta t\left(\text { function }\left(u^t, v^t, \rho, \mu, \Delta x, \Delta y\right)-\frac{(p(i, j)-p(i+1, j))}{\Delta y}\right) \end{gathered}