You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4954a01
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/fea/help/tutorials/en/tutorial_Contaminant_dispersion_in_fluids.md
+43-7Lines changed: 43 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,43 @@ It will take some time until the solver computes all iterations and finds a conv
62
62
63
63
**Menu:**_Report -> Solver convergence_
64
64
65
-
## 7. Problem task flow (Step 2)
65
+
## 7. Create a cut
66
+
67
+
A good way to inspect a flow is to display the velocity as a **vector field**, where every arrow shows the direction and magnitude of the flow at one point. A vector field drawn through the whole volume, however, quickly becomes a dense cloud of overlapping arrows that is hard to read. It is usually clearer to first slice the model with a **cut** - a plane through the volume - and then display the vector field only on that plane.
68
+
69
+
**Menu:**_Geometry -> Cut -> Create cut_
70
+
71
+
In the **Cut editor** dialog:
72
+
73
+
1. Select **Volume 1** in the **Model** tree. The cut will be created through this volume.
74
+
2. Use **Plane position** to set a point the cut plane passes through. The default values place it in the center of the model (**X** = 7.5, **Y** = 2.5, **Z** = 1.5 `[m]`).
75
+
3. Use **Plane normal** to set the orientation of the plane. The normal (**X** = 0, **Y** = 0, **Z** = 1) gives a horizontal plane cutting through the mid-height of the channel.
76
+
77
+
The cut plane is previewed in the **3D model area** while the values are being changed. Click **OK** to create the cut. A new entity **Cut 1** appears in the **Model tree** under **Cuts**.
Now display the computed velocity as arrows on the cut plane.
84
+
85
+
**Menu:**_Geometry -> Vector field -> Create vector field_
86
+
87
+
In the **Vector field editor** dialog:
88
+
89
+
1. Select **Cut 1** in the **Model** tree. The arrows will be drawn on the cut plane created in the previous step.
90
+
2. Select **Velocity** in the **Variables** list.
91
+
3. Leave **3D vector field** checked. The arrows then show the full velocity vector. When unchecked, each arrow is projected onto the cut plane and only the in-plane part of the flow is shown.
92
+
93
+
Click **OK** to create the vector field.
94
+
95
+

96
+
97
+
The arrows may be too short to be clearly visible, because their length is proportional to the flow velocity. To make them longer, open the **Results** tab, select the **Velocity - Vector** variable and increase the value in the **Scale** section. The scale is the product of the **Scale** value and the power of ten set in **Factor**; in the example below **Scale** 1 and **Factor** 2 give a scale of `1 × 10^2 = 100`.
98
+
99
+

100
+
101
+
## 9. Problem task flow (Step 2)
66
102
67
103
Once the solver converges, a **transient** problem including **Contaminant dispersion** can be configured.
68
104
@@ -76,13 +112,13 @@ Since **Incompressible viscous flow** is a nonlinear problem, it will always nee
76
112
77
113

78
114
79
-
## 8. Time solver setup
115
+
## 10. Time solver setup
80
116
81
-
Click on **Problem** tab. Enable **Time-solver** and specify values as shown on the screenshot below (**Time-step size** 0.001, **Number of time-steps**20000, **Output frequency** 10; **End time** is computed automatically).
117
+
Click on **Problem** tab. Enable **Time-solver** and specify values as shown on the screenshot below (**Time-step size** 0.01, **Number of time-steps**2000, **Output frequency** 10; **End time** is computed automatically).
82
118
83
119

84
120
85
-
## 9. Boundary conditions
121
+
## 11. Boundary conditions
86
122
87
123
Apply **Particle concentration** boundary condition to **Inflow** model entity.
88
124
@@ -94,17 +130,17 @@ In the **Component editor** dialog, time-dependent values can be specified. Valu
Once the problem is fully configured, restart the solver. This is done just like when starting a solver, but the **Restart solver / continue** check-box must be selected. A warning **Contaminant dispersion: No implicit boundary condition assigned.** is expected and can be ignored. This will cause the solver to use already computed results as a starting point and continue in the time-marching simulation.
As the solver keeps finding solutions for each time-step, model records are being written. Each record contains a solution for a given time-step. A list of these records can be seen in the **Records** tree. By double-clicking on a record, results for the given time-step will be loaded.
106
142
107
-
## 12. Record video
143
+
## 14. Record video
108
144
109
145
Computing all 20000 time-steps takes a long time. The solver can be stopped at any time (**Menu:**_Solution -> Stop solver_, confirm with **Yes**); already written records are kept.
0 commit comments