Q. How do I import a mesh from Ansys into CFX-Pre so that I can use it for CFD? I need to have boundary locations defined too.

A. You can import meshes created in either Workbench Simulation or Classic Ansys.

Workbench Simulation:
Having brought your geometry into Simulation, you should set up any mesh controls you think necessary (by right clicking on 'Mesh' and using Insert) and then preview the mesh. Next you need to set up individual surface loadings on each surface you intend to use for a CFD boundary condition. It doesnt really matter which loading you use, but perhaps its easier to set up a pressure loading using a right click on Environment, and Insert. The name of the loading is irrelevant also, but you should enter a non-zero load. Next, click on the Solution part of the tree, then right click and insert a Total Deformation section, and then finally select Tools/Write Ansys Input File. Write out the file (its a text file) with a .cdb extension.

Classic Ansys:
Create your mesh from the geometry in any manner you wish. However, you must use an appropriate element type: a lot of types are supported but some only with the correct keyoptions. Its best to try to use a 3D structural element like Solid45, or perhaps Fluid142. Once you have your mesh, you need to define nodal component groups to represent your boundary locations. The quickest way to do this is to type 'asel,s,p' and then pick a surface(s) for the location. When done, type 'nsla,s,1' to select all nodes associated with that surface. Then type 'cm,locname,node' changing the locname as appropriate, to create the group. Repeat for all locations, and then finish by typing 'allsel'. Export the file by typing 'cdwrite,db,myfilename,cdb' chaning the filename as required.

When importing the mesh into CFX-Pre, select the ANSYS filter and the .cdb file you wrote out. You may get a message about midside nodes being ignored but that is perfectly normal especially if the file has come from Wor


Q. How do I import a mesh from Ansys into CFX-Pre so that I can use it for CFD? I need to have boundary locations defined too.

A. You can import meshes created in either Workbench Simulation or Classic Ansys.

Workbench Simulation:
Having brought your geometry into Simulation, you should set up any mesh controls you think necessary (by right clicking on 'Mesh' and using Insert) and then preview the mesh. Next you need to set up individual surface loadings on each surface you intend to use for a CFD boundary condition. It doesnt really matter which loading you use, but perhaps its easier to set up a pressure loading using a right click on Environment, and Insert. The name of the loading is irrelevant also, but you should enter a non-zero load. Next, click on the Solution part of the tree, then right click and insert a Total Deformation section, and then finally select Tools/Write Ansys Input File. Write out the file (its a text file) with a .cdb extension.

Classic Ansys:
Create your mesh from the geometry in any manner you wish. However, you must use an appropriate element type: a lot of types are supported but some only with the correct keyoptions. Its best to try to use a 3D structural element like Solid45, or perhaps Fluid142. Once you have your mesh, you need to define nodal component groups to represent your boundary locations. The quickest way to do this is to type 'asel,s,p' and then pick a surface(s) for the location. When done, type 'nsla,s,1' to select all nodes associated with that surface. Then type 'cm,locname,node' changing the locname as appropriate, to create the group. Repeat for all locations, and then finish by typing 'allsel'. Export the file by typing 'cdwrite,db,myfilename,cdb' chaning the filename as required.

When importing the mesh into CFX-Pre, select the ANSYS filter and the .cdb file you wrote out. You may get a message about midside nodes being ignored but that is perfectly normal especially if the file has come from Workbench.





Show Form
No comments yet. Be the first to add a comment!