ICEM网格命令流
ICEM-CFD-网格划分-E7-WS6-弯管部件V11
2/2/2005
ANSYS ICEMCFD V11
Inventory #002277 D6-8
ANSYS v11.0
移动顶点
#1 #2
• Blocking > Move Vertex > Set Location
2/2/2005
ANSYS ICEMCFD V11
Workshop
Inventory #002277 D6-17
ANSYS v11.0
察看网格的质量
• Blocking > Pre-Mesh Quality • 设置 Criterion 为 Angle • 指定Histogram Options 如图所示 – Apply • 点击最初的几个条形图来显示成分
ANSYS v11.0
清除 Parts, 创建体, 保存项目
#1 #2
选择 Geometry > Create Body
– 在Part处输入FLUID_MATL
– 单击 MatPt 并且使用 Centroid of 2 points 选项
– 从屏幕上选择2点,如图所示
– 单击右键退出操作
– 在模型树中打开 Geometry > Bodies
Workshop
2/2/2005
ANSYS ICEMCFD V11
Curves and surfaces shown here
Inventory #002277 D6-2
ANSYS v11.0
为曲面建立分组
#2
在模型树中打开 Geometry > Surfaces
ICEM CFD 使用手册
信息:菜单包括几何信息、面的面积、最大截面积、曲线长度、网格信息、单 元体信息、节点信息、位置、距离、角度、变量、分区文件、网格报告。
设置:菜单包括常规、求解七、显示、选择、内存、远程、速度、重启、网格 划分。
帮助:启动帮助、启动用户指南、启动使用手册、启动安装指南、有关法律。
(a)几何菜单 几何菜单包括编辑、修改几何图形的功能。 功能及作用: 生成点、生成/修改线、生成/修改面、生成体、修改几何图形、转化图形、删除 点、删除线、删除面、删除体积点及删除实体。 (b)网格菜单 网格菜单包括 ANSYS ICEM CFD 网格工具的模块。 以下按钮可以导入不同 ANSYS ICEM CFD 支持和开发的网格划分模块。 设置全局网格尺寸、设置表面网格尺寸、设置曲线网格尺寸、创建加密区、创建 单元、表面网格、四面体、金字塔、六面体(旧界面)、六面体分区网格及拖拽网 格。 点击这些按钮调用网格工具模块。 (c)块操作菜单 创建块、分割块、合并顶点、编辑块、对应、移动顶点、块转换、编辑边、前期 网格参数、前期网格质量、块检查、删除块。 (d)编辑网格菜单 编辑网格菜单包括高级网格编辑必需的工具:粗化、平滑、合并网格。 通过这个菜单可执行的操作包括: 创建单元、创建中间节点、网格检查、计算和显示质量、平滑全局网格、平滑 六面体网格、修改网格、合并节点、分割网格、移动节点、偏移网格、转化网格、 网格类型转化、调整网格密度、重新编号网格、网格重新自适应、删除中间节点、 删除节点及删除单元。 (e)输出菜单 输出菜单通过装配求解器、写求解器输入文件、启动求解器来控制边界条件的 编辑。输出菜单包括以下几个功能键: 选择求解器、边界条件、编辑参数、写输入文件。 图标功能菜单: 打开工程、保存工程、打开几何文件、打开属性文件(定义在几何体中的边界条 件)、打开块文件、适合窗口、放大、测距离、当地坐标系、刷新。 回退:还原到上一步操作 前进:重返到下一步操作 框架显示:使几何图形显示框架状视图 阴影显示:使几何图形固体(不透明)显示
使用ICEM_CFD建立二维翼型流场网格
使用ICEM CFD建立二维翼型流场网格Andrew MoaICEM CFD是一款专业的CFD前处理软件,也是一款比较流行的CFD网格生成器。
ICEM CFD接口众多,可以为Fluent、OpenFOAM、Star-CCM+等众多求解器准备网格。
ICEM CFD可以生成结构化和非结构化的网格。
其最为独特的是分块(Blocking)策略,采用自上而下的分块模式,即由拓扑结构映射到几何实体,因此入门较难;但是一旦熟练掌握分块技巧,对于比较复杂的几何结构能够保证较高的工作效率。
本文以NACA 63(3)-218翼型为例,简单介绍使用ICEM CFD生成结构化二维翼型流场网格,为Fluent准备网格的一般步骤。
1、建立翼型流场几何A、导入翼型数据打开ICEM CFD,点击File->Import Geometry->Formatted Point Data,选择翼型数据文件,在Import Formatted INPUT point data里将Appriximation Tolerance 设置为0.000001,Apply生成翼型曲线。
确保导入的翼型数据文件为以下格式:文件应为ASCII点坐标格式,第一行为点的数量,其余各行分别为各点的x、y、z三个坐标值。
B、建立流场框架选择工具栏中Geometry选项卡Create Point的Base Poin and Delta,在Base point中选择翼型尾缘上的点(1,0,0),在DX中输入20,Apply生成pnt.00点(21,0,0);保持选择的点不变,将DX改为0,DY输入10,Apply生成pnt.01点(1,10,0);保持选择的点不变,将DY改为-10,Apply生成pnt.02点(1,-10,0)。
选择pnt.00点,将DY改为10,Apply生成pnt.03点(21,10,0);保持选中的点不变,将DY改为-10,Apply生成pnt.04点(21,-10,0)。
ANSYS ICEM CFD 网格划分教程2
48Modeling and Meshing a Chemical Vapor Deposition ReactorFigure 1.3.5:Creating copies ofupcyl5.Begin renaming the newly created objects by first highlightingupcyl.1 from the tree. Click right mouse button and opt for EditObject. > inl1 and Sides family > inlet (this must be manuallyentered)7.Select Update and then Done to complete the operation.8.Highlight upcyl.2from tree.9.Change Name to docyl and press Apply.The model will now consist of three cylinders on top of each other.The sides of the central cylinder form the inlet. The intended flowis depicted in Figure 1.3.6.Modeling and Meshing a Chemical Vapor Deposition Reactor 49Figure 1.3.6:The intended flow forthe CVD reactor1.3.4: Creating ObjectsCreating CylindersCreate additional Cylinders by choosing Create cylinders iconfrom the top menu bar from each of following.Outduct1.Name > outduct 2.Plane > xz 3.C enter coordinates: (0.5, 0, 0.5)4.Height: 0.355.Radius: 0.156.Type > fluidNote: The changes are automatically implemented once the objectType is selected.Susceptor > susceptor2.Plane > xz3.C enter coordinates:(0.5, 0, 0.5)50Modeling and Meshing a Chemical Vapor Deposition Reactor4.Height: 0.375.Radius: 0.036.Type > hollowSusceptor Top > susc-top2.Plane > xz3.C enter coordinates: (0.5, 0.37, 0.5)4.Height: 0.035.Radius: 0.26.Type > hollowThe Cylinders created so far are shown in Figure 1.3.7.Figure 1.3.7:View of theCylinders created sofarCreating CirclesInlet1.Select Create circles icon from the top menu bar to create acircle. Select it from the tree and choose for Edit object uponclicking right mouse button. Together you get screen as shownin Figure 1.3.8.Modeling and Meshing a Chemical Vapor Deposition Reactor512.Change the Name to top-inl, signifying that this object will bethe top inlet to the reactor.3.Plane > X-Z4.C enter coordinates: (0.5, 0.5, 0.5)5.Radius: 0.036.Face family > inlet7.Press Update to complete the modifications.Figure 1.3.8:Circles edit windowwith specificationsfor top-inlNow create the remaining Circles using Create circles icon fromthe top menu barSubstrate > substrate2.Plane > X-Z3.C enter coordinates: (0.5, 0, 0.5)4.Radius: 0.25.Select Update and Done to complete the operation.Outlet > outlet52Modeling and Meshing a Chemical Vapor Deposition Reactor2.Plane > X-Z3.C enter coordinates: (0.5, 0, 0.5)4.Radius: 0.155.Face family > outlet (The user should enter this manually).6.Press Update and Done.The geometry for the CVD Reactor is now complete (Figure 1.3.9). Figure 1.3.9:Complete CVDreactor, with thecreated Circlesactivated1.3.5: Mesh GenerationCreating Cartesian Mesh1.From the AutoHexa viewing window, select Model > Gener-ate mesh to open the Mesh control window shown in Figure1.3.10. This is where all the mesh utilities are accessible.2.Select Mesh type > Cartesian to create a grid that is alignedwith the coordinate axes and quickly generated. Using thedefault parameters, select Generate mesh.Modeling and Meshing a Chemical Vapor Deposition Reactor53 Figure 1.3.10:Mesh controlwindow with thedefault parameters forthis tutorialCut planes1.Begin by Orienting the model to the Home position.2.Toggle on Mesh control > Display > Cut plane > Set position> Vertical - screen select.3.Click the left-mouse button in the center of the Domain in theAutoHexa viewing window.4.Orient > Orient positive X, and then select Mesh control >Display > Display mesh to obtain the diagram shown by Fig-ure 1.3.11.54Modeling and Meshing a Chemical Vapor Deposition ReactorFigure 1.3.11:Mesh cut plane asseen from thepositive X view usingdefault parametersLimiting Element Size1.The large element size may be controlled by adjusting the Uni-form spacing. Select Mesh control > Generate > Uniformspacing > (X count, Y count, Z count) > (50, 50, 50).2.Press Generate mesh to recalculate the mesh with the modi-fied counts. The new mesh should yield much finer mesh (i.e.50x50x50 nodes in a regular grid).3. Refer to Figure 1.3.12 to see the newly defined mesh cut plane. Figure 1.3.12:Diagram of the meshcut plane with newlyspecified X, Y, and Zcounts and higherelement count thanwhile using defaultparametersModeling and Meshing a Chemical Vapor Deposition Reactor55 Surface Elements1.To view the mesh on various parts of the reactor itself, first turnoff the Mesh control > Display > Cut plane utility for aclearer view.2.Select Display tab and turn on Surface and Current type. Thiscreates a mesh on the current object type that is selected fromthe Model menu. In this situation, the current object type isCircle. The mesh will appear as in Figure 1.3.13.Figure 1.3.13:Reactor with Surfaceelements meshdisplayed on currentobject type Circles.3.Select File > Save project from the AutoHexa viewing win-dow to save both the model and the mesh.56Modeling and Meshing a Chemical Vapor Deposition Reactor57Tutorial Example 1.4: Modeling and Meshing a LabOverview This tutorial, like the first tutorial, will focus on creating alaboratory for analyzation of the airflow through the room.Ventilation ducts on one side of the lab will supply air to the room,and a large fan on the other side of the lab will act as an outlet vent.The air will need to travel through the room, over and around thecreated obstructions, and depart through the exit vent. Thissimulation will illustrate the flow distribution inside of the room,allowing us to place the ventilation ducts at optimal locations thatare most beneficial to the occupant.Operations introduced in this example Starting a New Project•Initializing AutoHexa and beginning the projectCreating Objects•Developing the model, utilizing Domain, Hexas, Cylinders, Polygons, Circles andQuadsCopying Objects•Creating multiple entities by copy ing previously createdgeometryCreating Groups of Objects•Placing multiple objects into one Group, easing the copy ingprocessMoving Objects•Utilizing the Move function to translate geometrical entitiesinto new locationsMesh Generation•Generating Hexa mesh•Modifying the Per-object params•Generating Tetra meshConfiguration Options•Altering the Minimum object separation•Sorting the object edit lists, AlphabeticallyPrinting Screen•Doing Annotation, adding markers and getting a hardcopy ofthe modelSummary Creation•Accessing a summary of the specifications used in the cre-ation of the model1.4.1: Starting the Project1.Load ICEM CFD to open the main Mesh Editor viewingscreen, as well as the MED messages window and the Displaywindow. A File selection window should also appear, with theprompt to Select an ICEM CFD project to open,2.Type the new project name as tutorial-4 and pressAccept.3.Meshing > AutoHexa will initialize the AutoHexa modelingsystem.1.4.2: Creating ObjectsCreating the Domain1.Begin the creation of the territory of the laboratory by selectingModel > Domain from the tree.2.Resize the Domain with the following assignments: S tartpoints > (xS, yS, zS) -> (0, 0, 0) and E nd points > (xE, yE, zE)-> (10, 5, 6)3.Press Apply to activate the changes.4.Notice that the Domain is larger than the viewing window --select Orient > Isometric view to achieve a better view asshown in Figure 1.4.1.Figure 1.4.1:The modified domainCreating the HexasThe Divider1.To begin creation of the divider, select Create hexas icon fromthe top menu bar. > divider3.S tart points: (1, 0, 2.5) and E nd points: (6,4.5, 2.6)4.Select the object Type > hollow, since it is unnecessary to sim-ulate the heat transfer within the divider.Note: The changes are automatically activated when the objectType is assigned.5.Upon examination of the model, the user should notice that thedivider does not touch the wall on the low end of the X-axis.This entity may be moved by selecting Options > Interactiveediting from the tree. Toggle off Y and Z (Figure 1.4.2). Thisrestricts the motion of the divider to only along the X-axis. Figure 1.4.2:Restricting themotion of the divider6.Move the cursor to an edge of the divider. While holding theshift key down, press the middle mouse button, and drag thedivider towards the low end of the X axis, so that the divider isagainst the wall (Figure 1.4.3). The new S tart points are (0, 0,2.5), and the E nd points are (5, 4.5, 2.6).Figure 1.4.3:The new position ofthe dividerThe Worktable1.Click on Create hexas icon to create a new Hexa. > wktable3.S tart points: (6, 0, 3) and E nd points: (10, 1, 4)4.Type > solid5.Press ApplyThe Machine1. Click on Create hexas icon to create a new Hexa. > machine3.S tart points: (7, 1, 3.25) and E nd points: (10, 1.5, 3.75)4.Type > solid5.Press ApplyThe Person1.To begin creation of a person standing in front of the machine,click on Create hexas icon to create a new Hexa. > body3.S tart points: (6, 0,4.25) and E nd points: (7, 1.25, 4.5)4.Type > solid5.Press Apply6.To create the person’s head, click on Create hexas icon to cre-ate a new Hexa. > head8.S tart points: (6.25, 1.75, 4.25) and E nd points: (6.75, 2, 4.5)9.Type > solid10.Press Apply11.The person’s body and head is now complete. Refer to Figure1.4.4 to see the completed geometry created so far.Figure 1.4.4:The completegeometry created sofar1.4.3: Copying ObjectsThe Drawers1.The user will now add a file cabinet with three drawers to themodel. Click on Create hexas icon to create a new Hexa. > drawer13.S tart points: (0, 0, 0) and E nd points: (1, 0.5, 0.5)4.Type > solid5.The remaining drawers will have identical dimensions to thefirst drawer. To begin the Copy ing process, highlight drawer1from the Tree, click right mouse button on it and select Copyobject to obtain the Copy objects window, as shown in Figure1.4.5. Enter the following values.6.Number of copies > 27.Translate > Y offset > 0.5Figure 1.4.5:Copy panel8.Press Apply to create the remaining drawers. Proceed to pressDone.9.Highlight drawer1.1 from the tree and change its Name todrawer2. Select Apply when complete.10.Highlight drawer1.2 from the tree and change its Name todrawer3. Press Apply to update the change.Figure 1.4.6:The Hexas list can bemodifiedNote: Any of the three drawer s may be temporarily removed fromthe model in order to vary the conditions for the simulated flow.This is achieved by first selecting the desired object from the tree,pressing right button and then unselecting the Active option.Toggling on Active from the Inactive group from the tree, willreactivate the entity. To permanently remove an object from themodel, the user should first highlight the desired entity, and thenproceed to select Delete. This object then would show under Trashin the tree. The Undo option, however, can cancel the last action.1.4.4: Creating ObjectsCreating the PolygonThe Chair1.The user will now create a chair located next to the file cabinet.Click on Create polygons icon to create a new polygon.(Refer to Figure 1.4.7). > chair3.Plane > xy4. Height > 0.755.Highlight vert1 > (x1, y1, z1) -> (0, 1.25, 1)6.Highlight vert2 > (x2, y2, z2) -> (1.5, 0, ~)7.Highlight vert3 > (x3, y3, z3) -> (0, 0, ~)8.Type > solid9.Press Apply.Figure 1.4.7:Creation of chairusing polygons.10.Highlight vert1, as shown in Figure 1.4.711.Press Add once to create another vertex, vert2, and assign (x2,y2, z2) the values of (0.75, 0.5, ~).12.Press Add once again, creating vert3. (x3, y3, z3) > (1.5, 0.5, ~)13.To complete the chair and update the changes, select Apply.Refer to Figure 1.4.8 for the final shape of the chair.Figure 1.4.8:The final chairCreating the CylindersThe Table-legs1.Click on Create cylinders icon to create a new cylinder tobegin creation of the table-legs. > tleg13.Plane > xz4.C enter coordinates: (xC, yC, zC) > (2.25, 0, 0.5)5.Height: 0.756.Radius: 0.057.Type > solid8.To create tleg2, the user will copy tleg1. Highlight tleg1 fromthe tree,click right mouse button on it and select Copy object.This will open the Copy objects window.9.Number of copies > 110.Translate > X offset -> 1 > Y offset -> 0 > Z offset -> 011.Select Apply to create the copy, and then Done.12.Highlight tleg1.1 from the tree and change the Name to tleg2.13.Select Apply when complete with renaming the copied table-leg. Refer to Figure 1.4.9Figure 1.4.9:Geometry with Finaltable legs1.4.5: Creating Groups of Objects1.To place tleg1 and tleg2 into a group, access the tree. Clickright mouse button on Groups there and choose Create. > tlegs3.Select Orient > Orient negative Y. This will adjust the view,making tleg1 and tleg2 easily accessible.4.Right click on Groups > tlegs and choose Add > ScreenSelect.5.With the shift - left mouse button, select tleg1 and tleg2, turningthe entities red in color. Their names will appear under the treeas shown in Figure 1.4.10. Press shift - right mouse button toexit out of this selection mode.Figure 1.4.10:The tree6.To create the remaining table legs, the user should copy thenewly established group. In the tree, highlight tlegs underGroups, right click and then select Copy group. This willopen the Copy group tlegs window.7.Number of copies > 18.Translate > X offset -> 0 > Y offset -> 0 > Z offset -> 19.Press Apply to add the remaining table legs, and then Done.10.Highlight tleg1.1 from the tree, and change the Name to tleg3.Select Apply to activate the change.11.Highlight tleg2.1 from the tree, and change the Name to tleg4.Select Apply to activate the change.1.4.6: Creating ObjectsCreating the QuadsThe Table-top1.Click on Create quads icon to create a new quad. > ttop3.Plane > xz4.S tart points: (2, 0.75, 0.25) and E nd points: (3.5, ~, 1.75)5.Press Apply to complete the operationThe Inlet vents1.Click on Create quads icon to create a new quad > inl13.Plane > xy4.S tart points: (1, 0, 6) and E nd points: (4, 1, ~)5.Select this object from the tree, click right mouse button andchoose Edit object. Go to Properties and say Face family > inlet (The user will need to manually enter this assignment).6.Select Done to complete the first inlet.7.To create inl2, the user will need to copy inl1. Highlight inl1from the tree, click right mouse button and select Copy object to open the Copy objects window.8.Number of copies > 19.Translate > X offset -> 5 > Y offset -> 0 > Z offset -> 010.Select Apply > Done,11.Highlight inl1.1 and change the Name from inl1.1 to inl212.Select Apply to complete the operation. Refer to Figure 1.4.11for the completed quads.Figure 1.4.11:Geometry withcompleted quads1.4.7: Moving ObjectsThe air will enter the room via the inlet and exit via outlet fan thatwill be constructed during this section.Creating the CirclesThe Outlets1.Click on Create circles icon to create a new circle. > out13.Plane > xy4.C enter coordinates: (2.5, 2.5, 0)5.Radius: 0.756.Select this object from the tree, click right mouse button andchoose Edit object.Go to Properties and say Face family >outlet (The user will manually enter this assignment).7.Select Done to complete the outlet.8.Observing the configuration, the user should notice that out1 ispoorly situated behind the room divider. Alter its location byselecting Move object up on clicking right mouse button onout1 in the tree.9.Translate > X offset -> 5 > Y offset -> 0 > Z offset -> 010.Select Apply to move out1 to its new position, thus enabling itto remove hot air more efficiently.11.Select Done to complete the operation, and notice that the xCcenter coordinate in the Edit window has increased by 5 unitsto 7.5, as shown in Figure 1.4.12.Figure 1.4.12:New center positionof the circleThe Exhausting Create circles icon, the user will create an exhaust fan.Click on Create circles icon to create a new circle. > exhaust3.Plane > yz4.C enter coordinates: (10, 4, 3.5)5.Radius: 0.26.Select Apply to update the parameters.Creating the CylindersThe Tube1.The user will now create the tube needed to transport the hot airmoved by the exhaust fan, through the machine. Click on Cre-ate cylinders icon to create a new cylinder. > tube3.Plane > yz4.C enter coordinates: (7, 1.25, 3.5)5.Height: 1.256.Radius: 0.27.Type: fluid8.Select Apply to complete the task.Creating the CirclesThe Inlet Fan1.Click on Create circles icon to create a new circle. > inlfan3.Plane > yz4.C enter coordinates: (8.25, 1.25, 3.5)5.Radius: 0.26.Select this object from the tree, click right mouse button andchoose Edit object. Go to Properties and say Face family >source (The user will need to manually enter this assignment)7.Press Done to activate the modifications.When complete, the laboratory model should appear as in Figure1.4.13.Figure 1.4.13:Solid model of thelaboratory1.4.8: Mesh GenerationThe Hexa Mesh1.To begin mesh creation, select Model > Generate mesh. TheMesh control window depicted in Figure 1.4.14 will appear.2.Making sure that Mesh type > Hexa unstructured is selected,select Generate mesh, using the default parameters.Figure 1.4.14:Mesh ControlwindowNote: The mesh comes pretty decent in this geometry. Lessdistortion of the element quality means higher quality of mesh,providing the solver with an easier time with convergence. Checkthe AutoHexa messages window, and notice that there are nosignificantly distorted elements with a quality between 0 and0.25. There are a few between 0.25-0.5. To see where theseelements are located, go to Mesh control > Quality, replot thehistogram from 0.25 to 0.5 and then select the bars in the histogramto display the elements on the screen.1.4.9: The Tetra Meshing the same model, create a Tetra mesh by selecting Model> Generate mesh will open Mesh control window. From thiswindow select Generate > Mesh Type > Tetra. Unselect Maxtetra size, as well as Per-object params, as shown in Figure1.4.15.Figure 1.4.15:Tetra parameterwindow2.Continue by selecting Generate mesh. When complete, thenewly created tetra mesh should consist of approximately184000 elements and 42000 nodes.3.Select Display > Display mesh > Surface.4.Press Close to exit the Mesh control window.5.Select File > Save project to save the model and mesh.1.4.10: Configuration OptionsBefore a mesh is actually generated, AutoHexa will check themodel for gaps existing between objects that may interfere with thecreation of a uniform mesh.1.To modify the default Minimum object separation, selectOptions > Settings from the tree which will open the Config-uration options window seen in Figure 1.4.16.This feature is especially useful in cases where small gaps maypervade throughout the model, in which case AutoHexaautomatically closes any gaps that are larger than the specifiedMinimum object separation.Figure 1.4.16:ConfigurationOptions window2.The color of all the objects, text, and mesh lines are modifiableunder the Options > Graphical options.3.Since there were many Hexa objects created in this tutorial, itmay be beneficial to sort the object list alphabetically. From themain menu, select Tree > Sort > Alphabetical. Figure 1.4.17illustrates the difference between the two object lists.Figure 1.4.17:Left: before sorting,right: after sorting1.4.11: Hardcopy Creation1.At this point, it may be useful to print out a diagram of the finalmodel. Select File > Print screen to open the Print optionswindow shown in Figure 1.4.18Figure 1.4.18:Print options window2.The user may select Full screen or Mouse selection or Pixellocation.3.Select Color Mode > Color.4.Continuing on in the Print options window, select Print to getthe hardcopy.5.The user can change the Title of the project. In the tree go toProblem setup > Title/notes to get a window as shown in Fig-ure 1.4.19.Figure 1.4.19:Title/notes window6.The appearance of the printout may be further customized byaccessing the View > Add Marker from top menu bar. This willopen the Add Marker window shown in Figure 1.4.20. Thisallows the user to add text to the display at a specified location. Figure 1.4.20:Add marker window7.You can do the annotations on the screen by opting for Edit >Annotations from the top menu bar. This will open up a win-dow as shown in Figure 1.4.21.Figure 1.4.21:Annotations window1.4.12: Summary CreationAlong with a hardcopy of the model itself, a hardcopysummarizing the specifications you have used in its creation maybe useful. A printout of this information is accessible by selectingEdit > Summary from the top menu bar. This will open theParameter summary window as shown in Figure 1.4.22.78Modeling and Meshing a Lab Figure 1.4.22:Parameter summarywindow79Tutorial Example 1.5: Modeling and Meshing a WingOverview This tutorial will guide the user through creating a wing-shapedobject inside of a room in order to analyze the airflow over, under,and around the wing. On one side of the room, an inlet vent permitsair to flow into a duct that channels the airflow directly towards thewing. The airflow will pass by the wing and head directly towardthe outlet vent on the opposing room wall, passing over, under, andaround the wing during its travel.Operations introduced in this example Starting a New Project•Initializing AutoHexa and beginning the projectCreating Objects•Developing the model with the following geometrical entities: Domain, Ellipsoidal cylinders, Ellipsoids, Polygons andQuadsCopying Objects•Making modifications in the Copy window, copying the poly-gons80Modeling and Meshing a WingMesh Generation•Creating Tetra meshCreating a Cut Plane•Utilizing Cut plane techniques to obtain a clearer view of thetetra mesh around the wing1.5.1: Starting the Project1.Load ICEM CFD to open the main Mesh Editor viewingscreen, as well as the MED messages window and the Displaywindow. A File selection window should also appear, with theprompt to Select an ICEM CFD project to open.2.Type the new project name as tutorial-5 and pressAccept.3.Meshing > AutoHexa will initialize the AutoHexa modelingsystem.1.5.2: Creating ObjectsCreating the Domain1.Begin the creation of room by selecting Model > Domain fromthe tree.2.Resize the Domain with the following assignments: S tartpoints > (xS, yS, zS) -> (0, 0, 0) and E nd points > (xE, yE, zE)-> (100, 50, 40)3.Press Apply to activate the changes.4.Notice that the Domain is larger than the viewing window --select Orient > Isometric view to achieve a better view, asshown in Figure 1.5.1.Modeling and Meshing a Wing81 Figure 1.5.1:The Isometric viewof the modifiedDomainCreating the Ellipsoidal CylindersUtilizing an ellipsoidal cylinder will allow the user to create themain wing shape. Ellipsoidal cylinders are specified by twoellipses that are the ends of the object. Each end has a C entercoordinate (C1 on one end, and C2on the other), and twocorresponding radius vectors (vec1 and vec2 -- both assignedvalues at the Top and the Bottom of the wing.) If needed, theOnline Reference Manual provides a more detailed description ofthe ellipsoidal cylinder objects.1.From the AutoHexa top menu bar, select Create e. cylindersicon. Then proceed to select oval.1 from the right side tree,press right mouse button and choose option Edit object asshown in Figure 1.5.2.82Modeling and Meshing a WingFigure 1.5.2:E. cylinders editwindow with thespecified parameters2.Change the Name from oval.1 to wing13.Enter the bottom center (Bot cent) X, Y and Z coordinates as(48, 25, 0)4.Enter the top center (Top cent) X, Y and Z coordinates as (50,25, 18.25).5.(Bot vec1 x, Bot vec2 x, Top vec1 x, Top vec2 x) > (0, 4, 0, 2)6.(Bot vec1 y, Bot vec2 y, Top vec1 y, Top vec2 y) > (1, 0, 0.25,0)7.(Bot vec1 z, Bot vec2 z, Top vec1 z, Top vec2 z) > (0, 0, 0, 0)8.Family Type > Hollow from Properties9.Sides family > wing (manually typed)10.Select Update and Done to activate the changes as shown inFigure 1.5.3Modeling and Meshing a Wing83 Figure 1.5.3:wing1 with thelabeled top andbottom vectorsCreating the EllipsoidTo create the rounded tip of the wing, the user will implement anellipsoid object. An ellipsoid is a 3-dimensional ellipse where allthree axes are aligned to the coordinate axes. Like Hexa objects,Ellipsoids are specified by a bounding box. The Online ReferenceManual provides more information on ellipsoids.1.From the top menu bar, select Create ellipsoids icon. > wing-tip3.S tart points: (48, 24.75, 18) and E nd points: (52, 25.25, 18.5)4.Press Apply to confirm the changes.5.For a clearer view of the newly created Ellipsoid object, deacti-vate the wing by clicking right mouse button on wing1 fromthe tree and de-selecting Active. This temporarily removeswing1 from the display.6.Zoom in on the Ellipsoid object that is visible on the screenwith the right-mouse button.7.In the tree highlight wing-tip to apply more changes.8.Once in the Ellipsoid frame (Figure 1.5.4), unselect Corners >xyz, Xyz, xYz, XYz. Only half of the Ellipsoid is necessary torepresent the wing-tip.9.Type > hollow84Modeling and Meshing a WingFigure 1.5.4:Ellipsoids object editwindow with thespecifications10.Set the Outside family to wing from the edit window. Get thatwindow by clicking right mouse button on wing-tip in the treeand opting for Edit object.11.Press Update to activate the modifications, and then Done toclose the edit window. This should yield the model displayed inFigure 1.5.5.Figure 1.5.5:Close-up view of thewing-tip after settingthe parameters.12.Reactivate wing1 by toggling on Activate from Inactive groupfrom the tree to achieve Figure 1.5.6.。
ICEM_CFD_关于-网格编辑方法
– 对于突出物, Split Spanning Edges 保证体积 内部的节点
2020/5/25
ICEMCFD/AI*Environment 5.0
19
网格修复
2020/5/25
Move Nodes: 移动节点 热键: m
– 选择节点并移动鼠标
• 映射到指定的位置的节点无法移动
ICEMCFD/AI*Environment 5.0
网格编辑
网格编辑
• 强大易于使用的网格编辑工具
– 操控网格 – 检查网格 – 改进网格质量
• 拥有自动和手动工具 • 编辑导入或创建的网格
2020/5/25
ICEMCFD/AI*Environment 5.0
2
2020/5/25
检查网格
热键: Ctrl-d
?angle网格?aspectratio纵横比?skew歪斜?surfacedeviation曲面偏差?distortion扭曲?maxwarp最大歪曲?minedge最小边icemcfdaienvironment502012389控制质量直方图?在直方图左击选择相应直方条变成粉红色如果show被选中这些单元在显示窗口高亮显示??如果solid被选中这些单元显示为实体轮廓即使有其它单元以框架形式显示?可以选中多个直方条高亮显示一定质量范围的网格单元icemcfdaienvironment5020123810控制质量直方图?y轴拥有很大的刻度范围因为对其小的柱状体感兴趣使用replot按钮重新设置直方图的范围
• 映射到曲线/曲面的节点只能在曲线/曲面上移动
• 内部的体积点可以在屏幕确定的平面上移动
– Move nodes Type-move multiple 类型
ICEM网格划法的学习总结
ICEM网格划法的学习总结第一篇:ICEM网格划法的学习总结1、ICEM学习ICEM的模型树按照几何、块、网格,局部坐标和part几部分来显示。
在几何中点线面与块中的点线面叫法不同。
如下图所示:Body 在非结构化网格生成过程中,用于定义封闭的面构成的体,定义不同区域的网格。
Part是对几何与块的详细定义。
Part中既可以包含几何,又可以包含块。
可以点、线面、块、网格,但是一条线只存在于一个part中。
网格单元类型:1.网格生成方法:1、AutoBlock2、Patch Dependent3、Patch Independent4.Shrinkwrap壳、面生成网格的过程:2.Tolerance与颜色问题:导入ICEM中的模型首先要进行模型修复。
导入到ICEM中的几何模型要可能会出现三种颜色curve,红颜色的正常,黄色的为不连续的,蓝色的为重复的。
黄色的是单个面的边界(二维),红色的是两个面的交界线,蓝色的是三个/三个以上面相交的交线。
(出现蓝线是没有问题的,表明这个线是两个面以上的共线,只要不出现黄线就可以,黄线表示这儿有裂缝。
)黄线表示出现了洞,可能是面丢失了,造成蓝线的原因是有面体重叠了,你得删除多余的面体。
黄色的线表有孔或缝隙。
绿色的线直接删除。
白色的边和顶点:这些边位于不同的材料体间,它们和被关联的顶点将被映射到这些材料体中最贴近的CAD表面,而且这些边上的顶点只能在表面内移动。
蓝色的边和顶点:这些边位于体内部。
它们的顶点也是蓝色的,可以在选择之前沿边拖拽。
绿色的边和顶点:这些边和关联的顶点是映射到曲线的,这些顶点只能在它所映射的曲线上移动。
红色的顶点:这些顶点是映射到指定的点的。
导入的模型必须是封闭的面,线是红色的。
自动生成翼型的网格。
3.equivalence 将同一空间位置的重复节点消除(通常,消除ID 好较大的节点,保留ID好较小的节点),只保留一个节点,一般与“Verify”配合使用,这种方法可通过任何FEM定义(单元的相关定义、MPC等式、载荷、边界条件等)、几何定义和组等实现。
ICEM网格划分参数总结(仅可参考,不具备一般性)
ICEM网格划分参数总结(仅可参考,不具备一般性)一、ICEM CFD网格划分1、模型特征长度1353mm,模型最窄边0.22mm,球体计算域半径28000mm2、各部分参数如下:勾选Prism的Parts就是飞机的机身、圆角、细小的面。
Far的球体,其尺寸等于全局网格尺寸。
Fluid 是body指示网格生成位置。
依照图中所示参数所生成的网格部分信息:Total elements : 3560021、Total nodes : 12304013、依照上述参数生成网格,在窄边处网格还存在质量较差的部分,数量不是特别巨大,这一部分网格主要集中在机翼、尾翼的后边缘处。
如下图。
二、Fluent求解1、General:Pressure-Based,Absolute Velocity Formulation,Time steady2、Models:开启能量方程、k-e-RNG湍流模型3、Materials:选择理想气体4、边界条件:将球体计算域far设置为压力远场,马赫数0.75,根据需要调整了风速方向(目前仅尝试了alpha=-5~15、beta=-25,21组实验),温度设定223K。
operating condition中operating pressure设定为26412Pa5、参考值:compute from 球体计算域。
参考面积设置为机翼迎风面积0.20762m^2(参考面积这一部分不知道对不对)6、Solution methods:coupled7、Solution controls:库朗数设置为68、初始化:Hybrid Initialization目前对飞机模型进行了修改,根据上述参数重新划分网格,再次调整风速方向进行了2次计算,还能够收敛。
ICEM网格生成流程
Chapter 3二维非结构壳/面网格生成(2、3)1. 创建几何模型:Point --- Curve --- Surface --- Part --- Topology 2.定义网格参数2.1.定义全局网格参数2.1.1 定义网格全局尺寸:Scale factor、Max element2.1.2 定义全局壳网格参数:Mesh type、Mesh method2.2 定义Part网格尺寸3. 生成网格并导出3.1 生成网格,检查网格质量3.2 保存网格文件:Save mesh as…3.3 选择求解器:Output --- Select solver3.4 写入:Output --- Write inputChapter 4三维非结构自动体网格生成(自上而下)(2、3)1. 创建几何模型:Point --- Curve --- Surface --- Part --- Topology --- Body2.定义网格参数2.1.定义全局网格参数2.1.1 定义全局网格尺寸:Scale factor、Max element2.1.2 定义体网格全局参数:Mesh type、Mesh method2.1.3 定义棱柱网格全局参数:Grow Law、Initial height、Ratio、No.2.2 定义Part网格尺寸3. 生成网格并导出3.1 生成网格,检查网格质量3.2 保存网格文件:Save mesh as…*.uns3.3 选择求解器:Output --- Select solver3.4 写入:Output --- Write input三维非结构自动体网格生成(自下而上)(4)首先导入壳网格,在壳网格的基础上拉伸生成棱柱体网格,再填充棱柱体网格和远场边界之间的空隙。
(壳网格---棱柱体网格---体网格)。
1.创建(导入)几何模型2.创建生成(导入)壳网格3.生成棱柱体网格3.1定义棱柱网格参数:Growth law、Initial height、Ratio、No.、New volume part(表征体网格的材料,相当于自上而下中的body)3.2指定生成棱柱边界层的Surface(定义Part网格尺寸)3.3生成棱柱体网格:Mesh --- Compute mesh --- Prism mesh4.生成棱柱网格与远场边界之间的体网格4.1 定义加密区4.1.1 创建所需的Point4.1.2 创建加密区Mesh --- Create mesh density:Name、Size、Ratio、Width、from(point)依次选择所需point,中键确认4.2 生成体网格Mesh --- compute mesh --- volume meshMesh type、mesh method(Quick(Delaunary))、volume Part name(inherited)、input(existing mesh)Compute5.导出网格5.1保存网格文件:Save mesh as…*.uns5.2选择求解器:Output --- Select solver5.3写入:Output --- Write inputChapter 5二维结构网格生成1.导入(创建)几何模型:Point --- Curve --- Surface --- Part---删除多余curve(若point之间本存在线,在生成surface时采用form 4 points法,则会同时生成surface的边界线curve,和原有curve叠加重合,产生多余,需删除,eg.5.3)2.创建block2.1.分析几何模型,得到拓扑结构2.2.创建整体blockblocking --- create blockPart(block的名称,表征相应材料特性)、Type2.3.划分block2.4.创建O-block(如有需要)2.5.删除无用的block3.建立映射关系3.1.创建point到vertex的映射Blocking --- Associate --- Associate vertexEntity(point)V1--P1 ---……---V i--P i ---……--- V n--P n3.2.创建curve到edge的映射Blocking --- Associate --- Associate Edge to CurveE i ---中键--- C i ---中键4.定义网格节点数Icem为基于Block生成网格的:首先生成block网格,然后依托映射关系将block 网格节点坐标计算生成Geometry网格坐标,故在Icem中需定义EDGE的节点数来定义网格节点。
安世亚太-ICEM-网格编辑
© 2011 PERA Global
ANSYS ICEMCFD
网格编辑
诊断并锁定任何问题来提高网格质量 转换网格类型 细化或粗化网格 手动或自动工具
适用于导入或创建的网格
© 2011 PERA Global
ANSYS ICEMCFD
过程
首先检查网格中的任何问题
– 洞, 缝隙, 重叠单元 – 运行诊断检查 – 显示有问题的单元
• 关掉所有part或shell来观察子集
如果Check/Fix 每个都被选中
• 将提示选择一个标准 • 注释: 自动修复错误/问题
▪ 只建议Duplicate Elements, Volume Orientations, Periodic Problems, Overlapping Elements ▪ 创建子集 ▪ Ignore
–
–
–
▪ 推荐只针对特定的诊断标准使用
© 2011 PERA Global
ANSYS ICEMCFD
检查网格: 错误
Duplicate Elements:查找和其他单元分 享所有节点并且类型相同的单元 Uncovered Faces:正常情况下所有的体 积网格单元的面不是与其它体积单元的 面相贴就是与面网格单元相接 (边界面) Missing Internal Faces:在不同parts任 何一对体网格之间,不存在面网格单元 Periodic Problems:检查周期性表面节 点数是否一致
© 2011 PERA Global
ANSYS ICEMCFD
显示网格质量
• 另外的质量显示方式
– Color by Quality
• 在模型树中的Shells处单击右键显示选项 • 光谱范围从红 (最差) 到蓝 (最理想)
(完整版)ICEM_CFD网格划分 FOR AUTODYN
惟一捷径:长期不间断练习(恒心)
2构造块
4关联 点线面
6合并块 整理块
8网格后处理
1 导入 几何实体
3创建辅助点/线
5设置节点 生成网格
7输出网格
安心 + 耐心 + 恒心
块-关联-设置节点数-网格
原理示例_2D(正三角形)
建块
关联
设置 节点数
L-grid
原理示例_球壳
映射
M1 构造块 M2 关联点、线
数学建模
解析解 数值解
属性性质
+ 作用规律
数学描述 (微分方程组)
离散化
+ 求解/显示
实践是检验别真理的唯一标准
分析结果
+ 修正
整体非线性—>离散,局部应用线性模拟
ICEM_CFD网格设置参数
ICEM_CFD网格设置参数一般来说,线和边单位参数设置,Height、Height Ratio和层数是常用的3个参数。
如果只设置了层数而没有设置高度和高度比的话,高度会视同等于最大单元尺寸,高度比视同为1.- E" Y: [9 ~. h" u2 R& k* C1 m(1)Maximum size最大单元尺寸,真实值是该值与总体单元缩放因子的乘积。
如果采用Curvature/Proximity Based Refinement or Maximum Deviation也可以突破这个限制(2)Height5 ^, q% U/ x& [指定垂直表面或者曲线的第一层单元的高度,对于体单元,这个参数能够影响六面体和菱柱的初始网格高度。
对于Patch Dependent 面网格,使用于曲线时,这个值能够影响沿着曲线的四边形网格的初始高度。
例如,可以用于指定沿着螺栓孔一周的四面形网格的初始高度。
. [5 m+ ^' y/ s9 k8 u(3)Height Ratio( [2 U/ X& e* D9 L8 J从面第一层单元开始的扩大率,这个值乘以前一层网格的高度来决定下一层网格高度。
默认值为1.5,可以从1.0~3调整。
如果值小于1.0,将会取其倒数,如果值大于3,将会忽略该设置直接采用默认值。
当用于曲线时,能影响Patch Dependent meshing,当定义了初始高度和层数后,它决定了下一层四面体单元的生长率。
当采用Adapt Mesh Interior设置后,它会影响从曲线尺寸到面尺寸过渡的快慢。
(4)Num Layers从面或者曲线开始增长的层数(5)Tetra width9 E; H4 x; P& \4 X创建指定数目的三角形层,这些层单元尺寸由最大尺寸指定。
(6)Tetra size ratio控制三角形单元的生长率,用于三角形网格。
icem操作入门,网上一哥们写的
4, 设置全局网格(global mesh setup< global mesh size>,< set up periodicity>)。在Global Mesh Setup 设置参数。为了加密孔上的网格,要用Curvature/Proximity Based Refinement。Refinement为近似圆时的多边形的边数。
10, choose slovr
10.设置边界条件Boundary Conditions,输入网格
5, 编辑block :Edit block(合并block等)
6, 吸附block:Association
7, 目视检查吸附效果:Move vertex
8, 生成预览网格:Pre mesh params
9,生成网格:主菜单中:Load from Blocking
6,计算网格Compute Mesh。
7,display mesh quality,如果ensity命令加密网格。
8,smooth Elements Globaly,Smoothing iterations一般选择25次,Up to quality一般为0.4
二.结构化网格的一般步骤:
1,导入几何体(ug中因为没有安装icem包,所以暂时用icem直接导入prt文件)
2. 检查体:Repair Geometry (有时需要补面),给边界面取名
3,生成block:Create block
4, 剪切block :Split block
ICEM_CFD_关于-网格编辑方法
网格编辑
网格编辑
• 强大易于使用的网格编辑工具
– 操控网格 – 检查网格 – 改进网格质量
• 拥有自动和手动工具 • 编辑导入或创建的网格
2020/5/25
ICEMCFD/AI*Environment 5.0
2
2020/5/25
检查网格
热键: Ctrl-d
注意: 对于这种质量方法, 绿色是可 能的最好的结果
直方图的数据在输出 窗口复制
用户界面右下角的直 方图窗口
2020/5/25
ICEMCFD/AI*Environment 5.0
7
显示网格(定制质量) 允许用户为四边
形和三角形网格定义网格质量.
• Angle 网格
5
显示网格质量
热键: q
• 许多质量标准(方法)可以使用
• 显示为直方图
– x-轴定义从低到高的网格质量刻度 – y-轴显示相应网格质量范围内的网格单元数目
• 每种网格质量结果采用自己的计算方法.
– 例如, Quality, 缺省采用 circum-sphere ratio method
Rinside
Overlapping Elements: 覆盖相同曲面但没有 共同节点的三角形面网格单元
Non-manifold vertices: 与此点其相接的单元的 边不封闭
Unconnected Vertices: 检查并移除不与任何单 元连接的点
2020/5/25
ICEMCFD/AI*Environment 5.0
Periodic Problems: 检查曲面parts 周期性 面与周期性节点是否矛盾
Volume Orientation: 寻找节点顺序不符合右手 法则定义的单元
ICEM CFD划分网格(百度经验)
方法/步骤1. 1接上一篇《DesignModeler如何建立房间空气分析模型(3/3)》,打开I CEM网格划分软件,如图所示2. 2选择“File”,选择“import Geometry”,选择“Parasolid”导入方式,如图3. 3打开上一篇已经保存的房价分析模型,如图所示4. 4打开之后,叫你选择单位,这里选择“milimeter”单位,如图所示5. 5 点击“ok”按钮,如图6. 6弹出如图所示对话框(我这里是以前有相同名字的文件划分过网格),点击“yes”按钮,如图7.7然后又弹出一个窗口,问你是否要创建新project,选择“yes”,如图所示8.8模型就已经导入ICEM中了,按住鼠标左键旋转模型,如图所示9.9展开“Model”中的“parts”,如图所示10.10右键单击“parts”,选择“Create Part”,如图所示11.11 出现如图所示对话框12.12在“part”对话框中输入“INLET”,如图所示13.13展开“Geometry”,勾选“surface”,如图所示14.14选择“create part by selection”中“Entities”右边的鼠标箭头,如图15.15 出现如图所示对话框,16.16由于篇幅过大,图片过多。
第二部分《ICEM-CFD如何划分网格》分为五篇文章发出来,分别为:《ICEM-CFD如何划分网格(1/5)》,《ICEM-C FD如何划分网格(2/5)》,《ICEM-CFD如何划分网格(3/5)》,《IC EM-CFD如何划分网格(4/5)》,《ICEM-CFD如何划分网格(5/5)》.方法/步骤1. 1接上一篇《ICEM-CFD如何划分网格(1/5)》,选择空调进风口面,作为“INLET”,准备创建进口边界面,如图所示。
2. 2选中之后按鼠标中间或者“ok”按钮,“parts”栏中已经出现“INLET”了,如图3. 3再在“create part”中输入“OUTLET”,准备创建出口边界面,如图所示4. 4选择“create part by selection”中“Entities”右边的鼠标箭头,如图5. 5选择出风口面,作为“OUTLET”,准备创建出口边界面,如图所示。
ICEM CFD 网格划分 D1-WS-机翼编辑
2
1
2
1
9/9/05
ANSYS ICEMCFD V10
Inventory #002277
F2-7
Mesh Smoothing
Workshop
网格光顺 – 总是要在手动编辑网格后再进行光顺
– Edit Mesh -> Smooth Mesh Globally
– 使用前一步的设置
– Apply – 检验质量最低的网格单元从尾翼中去除了 – 在模型树中的子集名 “Quality” 处单击右键并且选 择 Clear
Workshop
– 在模型树中隐藏Shells 使得单元更容易被看到
– 我们先将重点放到尾翼后缘 – 检查表面,曲线和点确定引起这些单元的原因 – 在几何体上额外的曲线和点增加了多余的约束
9/9/05
ANSYS ICEMCFD V10
Inventory #002277
F2-5
Using a Subset
F2-8
Creating a Subset for Re-meshing
创建一个子集
– 在柱状图中左键单击第一个柱形标志,选择在这些范围内的单元 – 在柱状图中单击右键并且选择Show 显示单元
Workshop
– 这些单元在三维体内
– 检查表面,曲线和点确定引起这些单元的原因 – 在几何体上额外的曲线和点增加了多余的约束 – 在前两个柱形图表被选择的时候,在柱状图处单击鼠标右键并且选择 Subset • 被选中的单元被放到一个名叫“Quality”诊断子集中,它位于Mesh分支 下面 – 在此子集处单击右键选择 Modify
Before re-mesh
After re-mesh and smoothing
ICEM 生成网格 方法
The CFL3D interface writes an input file and a grid file for the multiblocks CFL3D flow solver. The input file contains a list of terms describing the physical properties, block dimensions, topology, boundary conditions and control settings for the flow solver. The grid file is written in the PLOT3D multiblocks unformatted format with no iblank array.Creating the CFL3D input file and grid fileThe translator writes the CFL3D files using a multiblock structured mesh, the boundary conditions file the topology file and the CFL3D parameters file. To create the CFL3D files, select the translator "CFL3D" in the "Output" menu. After clicking "Write input" you can specify the following options for the CFL3D interface:∙select the multiblock mesh to include in the CFL3D file∙give the name of the topology file∙give the name of the boundary condition file∙option to write the grid coordinates in single or double precision∙option to specify a scaling factor in the x, y and z directions∙give the name of the CFL3D files(default input file: cfl3d.inp, default grid file: cfl3d.xyz)The parameters window opens automatically after setting the above options. the parameters are saved in a file called cfl3d.paramsThe interface generates the CFL3D files in the project directory.Defining boundary conditions for CFL3DBoundary Condition TypeThe boundary condition types must be assigned on the block faces, except for singular faces where they are assigned to edges. After selecting a face, assign the appropriate type by clicking on it from the list of CFL3D boundary condition types. If auxiliary variables are necessary for the selected type, simply fill in their values in the GUI window.If no boundary condition types are defined by the user, the translator assigns automatically:∙type 0 for a block interface∙type 1005 for an external wall.∙type 1013 for a singular line.Force Calculation FlagTo turn on the flag IFORCE for a face, select the face and select the tag FORCE. The translator will apply this tagging to all appropriate faces of all blocks sharing the surface.For more details on how to define boundary conditions, please refer to the GeneralRemarks section.Limitation∙This translator supports only 3D grids.∙All block interfaces must be C0-continuous.。
--ICEM二维网格转换到star-cd
ICEM二维网格转换到star-cd三维网格的方法1.在ICEM里面将二维网格划分好,然后导出成star-cd的格式2.在star-cd对网格进行拉伸和旋转主要用到的命令是:VCEX下面以拉伸为利来对VCEX进行说明ctab 4 flui 此为设置单元格式,将单元设置为流体cset news shell 选中当前的shellvset news cset 提取出刚刚选中的单元的节点数目*get maxv mxvs 获得刚刚获得的节点的最大数目*get minv mnvs 获得刚刚获得的节点的最小数目*set offs maxv - minv + 1 获取节点的偏移量csys 1 选中坐标系,对拉伸而言用的最多的是笛卡尔坐标系vcex 18 offs cset,,, local 0 0 10 此命令的意思是在Z方向上拉伸18层,每层的长度大小是10,在当前坐标系下,这个主要跟建模相关local意思是当前坐标系,cset,,,选中所有的单元,offs 是节点数字需要偏移的大小,这个可以查看list中最大的节点数目是多少,只要大小比这个大就行了。
2 旋转旋转也是用的比较多的,旋转的话建模的时候最好能够指定X=0,Y=0,Z=0的点能在需在旋转的轴上,同时旋转的时候要用到圆柱坐标系圆柱坐标系的三个参数是R,T,Z分别是指半径,角度,Z方向长度,一般而言如果要旋转某个平面的话,将Z向跟将要绕的那根轴同向,R指向跟将要旋转的半径同向,T方向跟以上两个方向都垂直,如下图所示将所在的平面沿X轴旋转。
调整过后的坐标系如下所示跟上文一样,最终执行命令vcex 15 offs cset,,, local 0 6 0得到的结果如下将整个沿角度方向旋转了15层,每层间隔6个单位,这样旋转的总角度是15*6=90。
2.如何将star-cd里面划分好的网格导入到ICEM里面要将star-cd里面划分好的网格导入到icem里面,首先将star-cd划分好的网格的cell和vert 先写出来,然后将star.cell文件导入到ICEM里面即可,步骤如下1.write cell文件Cell write 为star.cell文件2.write vertex文件3.然后退出star-cd,注意退出的时候一定不要保存文件。