CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSA (http://www.cfd-online.com/Forums/ansa/)
-   -   ANSA 2D Meshing? (http://www.cfd-online.com/Forums/ansa/99033-ansa-2d-meshing.html)

eishinsnsayshin March 24, 2012 11:10

ANSA 2D Meshing?
 
Hello All,
This might sound like a stupid question. I'm an undergrad who has co-oped in the automotive industry doing CFD. I've used ANSA for lots of 3D meshing. For school projects, is there any way ANSA can be used to mesh for a 2D problem (like flow over a 2D airfoil)? I was thinking about it and I'm not sure how I would do that...The ANSA I'm familiar with is only 3D...is there a 2D version or something?

Thanks for any help!

eishinsnsayshin March 26, 2012 11:06

OK, so I figure no one has responded because I'm not specific enough or something. That's usually the case. Let me try something else:

Let's say I have a circular surface (cross section of a cylinder) floating in space that I want to run a simulation in fluent around. So I make a circle in ANSA in the x-z plane. I then make a rectangular surface for the domain in the same plane around the circle. I mesh both surfaces, so everything is still just in the x-z plane.

Now I don't know what to do. To use 2D FLUENT, do I extrude these two surfaces in the Y direction by one step (using volumes>extrude), then use elements>vol-shel along the outer boundaries to make shells for an inlet, and the outlets to assign PID's? I can't get the .msh file to read into FLUENT.

The other option is to use trasf.>copy and make a duplicate translated copy some distance in the y direction. Then close the surface using surf>coons or something, then do a volume mesh for the inside and create an STL, but this doesnt seem to work either. Any ideas? I would imagine someone out there has probably done something like this! How do you create something 3d in ANSA be able to be read in 2D fluent?

Thanks!

vangelis March 27, 2012 04:01

Hi there,

In order to prepare a model in ANSA for Fluent 2D
you need first of all to draw your model in
XY plane (not along Z axis).

For a flow past a cylinder example, you need to
draw a rectangular domain and in it the circle which you will Project and cut on the domain.
You will delete the Face inside the circle and mesh the outer with a nice ADV.FR or CFD mesh.

You should activate the FLUENT 2D Deck in ANSA
so that you can also assign the Boundary Conditions along the boundary CONS. Please refer to section 23.3.3 of the ANSA Users Guide.

Let me know if there is a problem.
Best regards
Vangelis

eishinsnsayshin March 27, 2012 17:27

Hey thanks for the reply, I got everything working now!

vangelis March 28, 2012 07:10

glad it worked for you

marios August 26, 2013 10:55

Hi,

I followed the same steps in order to create a 2d car, and it worked for me as well. I have managed to read successfully the model in Fluent.
However, I don't know how to create inflation layers, because the Volume>Layers will create layers in the Z direction.

Any help would be appreciated.

vangelis August 27, 2013 03:17

Hi Marios,

You can use the function SHELL MESH>ZONECUT GRADUAL
to generate layers in 2D, available in ANSA v14.x

Vangelis

marios August 27, 2013 05:04

2 Attachment(s)
Hi Vangelis,

thanks for the quick reply.
I have ANSA v13.2.2. I used SHELL MESH>ZONE CUT, and for the Mesh Parameters I chose: "General" Mesh with "Quad" elements and created high aspect ratio elements. However, I am not sure about the quality of my layers. Do you think there is a better approach?

Marios

vangelis August 27, 2013 05:39

Hi Marios

The function I suggest is only available in v14.x

If you have to work in v13.x then your alternative is to work
in TOPO menu, use FACEs>ZONECUT to make an all around
cut at the distance of the total layers height.

Then make some normal cuts and then mesh with MAP
mesh these areas.

You should also use PERIMETERs>SPACING to define the
mesh distribution in the layers zone

Hope this helps

Vangelis

marios August 27, 2013 17:29

Hi Vangelis,

your reply was very helpful. I struggled, but I managed to make a good mesh.

Best regards,
Marios

vangelis August 28, 2013 01:56

Hi Marios,

Glad it worked for you.

Have in mind that if you upgrade to the current ANSA version, v14.
then 2D layers generation will be much easier as the function
MESH>SHELL MESH>ZONECUT Gradual does exactly this.

Best regards

Vangelis

hasanifte August 18, 2015 16:58

2D prism mesh
 
Hi,

How does perimeter > spacing tool work in ANSA. I would like to generate prism mesh using this tool. I have a flow over a step. I am also trying mesh generation > map to generate prism mesh. My min height is 0.016 ratio is 1.1 and number of layers is 10.

Regards

Hassan


All times are GMT -4. The time now is 14:00.