本文介紹如何在 3D 彎管幾何結構中,繪製與流動方向垂直的截面速度場
設定步驟
使用 Slice Plot
平面類型(Plane type)選擇General 的點與法線向量(Point and normal vector)
點(Point):根據彎曲幾何,其半徑為 0.2,中心點為 (0.2, 0, 1),因此點的 x 座標輸入的為 0.2+0.2*cos(theta[deg]),y 座標為 0,z 座標為 1+0.2*sin(theta[deg])
法線向量(Normal vector):x 輸入為cos((theta-90)[deg]),z 輸入為 sin((theta-90)[deg])
其中因彎曲位置在第二象限,theta 輸入範圍從 90 至 180 度
動畫輸出
定義結果參數 (Result > Parameter),並給定 theta 一個預設值
在輸出動畫中,選擇序列類型(Sequence type)為結果參數 (Result Parameter),選擇 theta 參數,輸入起點與終點分別為 90 至 180,Frame 數為 10,表示每 10 度輸出一筆動畫