How to use?

This page explains how to use Flowsquare for typical flow cases. Just follow the steps described in the below posts and you will get familiar to the software.

Lesson 1.3 — Stability and Accuracy (channel flow cont. from L1.1)

In the previous two lessons, we leant how to start simulation (Lesson 1.1), and some of display operations (Lesson 1.2). In Lesson 1.2, we also observed there are numerical oscillations in the velocity and vorticity fields (Figs. 9 and 10 of Lesson 1.2). In this lesson, we will learn how to set some of parameters in grid.txt for better accuracy and/or numerical stability.
Continue reading

Lesson 0 — Before You Start…

Before you start (or after you started), it’s good idea to know a little bit of basics of how we simulate a flow field. Suppose Fig. 1 is the flow field we want to solve.

Figure 1: Flow field we want to solve.

Figure 1: Flow field we want to solve.

There are 3 steps to simulate the flow.

First, we discretise the field into NX x NY mesh points as in Fig. 2 (NX and NY are numbers of mesh points in horizontal and vertical directions).

Figure 2: First we discretise flow field into nx x ny mesh points.

Figure 2: First we discretise flow field into nx x ny mesh points.

Second, we calculate many Many MANY equations on each mesh point (in space) to obtain the instantaneous solution. The equations are explained in the Users’ Guide.

Third, we advance the solution little (dt) by little (dt) in time to obtain temporal change of the flow. Here, dt is the physical time increment per time step and typically this has an order of microseconds.

This is how Flowsquare simulates flows. Easy peasy!