CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

ANSA hexblock mesh to OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 12, 2011, 07:19
Default ANSA hexblock mesh to OpenFOAM
  #1
New Member
 
Join Date: Nov 2010
Posts: 9
Rep Power: 6
yosuu is on a distinguished road
Dear everybody,

i have been working these days with ANSA meshing the pipe tutorial (hexablock meshing, pipe junction) with the new hexblock feature.

I have associated the hexboxes to the geometry and meshed it correctly. I setup the boundary conditions and the solver, etc. in ANSA and export it to OpenFOAM files, then I simulate the case.

the problem seems that the boundary conditions specified in ANSA are not applied in the cells and the solver gives always errors of 0 and 0 number of iteration in all parameters. I think there is a step that I haven't done in the process of exporting or i have to specify something more in ANSA (ANSA tutorials doesn't says anything, the other tutorial of the pipe bend "case setup and morthing for OpenFOAM" it works just fine because i think the mesh is created within the surfaces of the geometry and b.c. are applied to these surfaces).

kind regards

yosuu
yosuu is offline   Reply With Quote

Old   October 14, 2011, 10:06
Default
  #2
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 163
Rep Power: 9
vangelis is on a distinguished road
dear yosuu

after you create the hexa mesh and are satisfied with the result, you should use the VOLSKIN function of the hexablock menu.
this will generate new quad elementsaround the volumes.
these elements will take the same pid as that of the original geometry, so they will have the proper bc's
finally when you output make sure you have Macros visibility off, so that you do not output any meshed geometry, but have Vokume and FE-mod mesh ON so that you output the hexas and quads respectively.
hope this helps

Regards
Vangelis
vangelis is offline   Reply With Quote

Old   October 14, 2011, 13:42
Default
  #3
New Member
 
Join Date: Nov 2010
Posts: 9
Rep Power: 6
yosuu is on a distinguished road
thank you vangelis!

it worked perfectly.
yosuu is offline   Reply With Quote

Old   October 15, 2011, 11:19
Default
  #4
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 163
Rep Power: 9
vangelis is on a distinguished road
you are very welcome!
v
vangelis is offline   Reply With Quote

Old   October 20, 2011, 06:35
Default
  #5
New Member
 
Join Date: Nov 2010
Posts: 9
Rep Power: 6
yosuu is on a distinguished road
Hi vangelis,

I wanted to ask you if you know any way to define the boundary layer in the hexblock mesh. I found one but it's quite manual: first i have the hexblock, then I use the o-grid function. to create the boundary layer i split in one of the new edges i have created. I attach a image here.
Attached Images
File Type: jpg Screenshot-5.jpg (71.8 KB, 68 views)
yosuu is offline   Reply With Quote

Old   October 20, 2011, 15:33
Default
  #6
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 163
Rep Power: 9
vangelis is on a distinguished road
Hi Yusuu

as you understand O-GRID function is supposed to create the boundary layers, but indeed the layer height is not so well respected (layers get
more inflated inwards).
I assume you have ended up with this workaround to ensure this.

What I would recommend is that you download the new version
v13.2.0
In this version the OGRID function generates layers with accurate
height values.

Regards
Vangelis
vangelis is offline   Reply With Quote

Old   October 21, 2011, 08:02
Default
  #7
New Member
 
Join Date: Nov 2010
Posts: 9
Rep Power: 6
yosuu is on a distinguished road
Hi Vangelis,

thanks for the tip. In the company, we are currently using the v13.1.3; I'll try to speak to my boss and think about upgrading to v13.2.0. I really appreciate all your help !

kind regards,

Yosuu

Last edited by yosuu; October 21, 2011 at 08:23.
yosuu is offline   Reply With Quote

Old   October 22, 2011, 06:18
Default
  #8
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 163
Rep Power: 9
vangelis is on a distinguished road
Hi Yosuu,

Indeed there are several improvements in v13.2.0 for Hexablock
with respect to O-Grid generation and accuracy in mesh generation.
I would recommend that you tried it.

Best regards

Vangelis
vangelis is offline   Reply With Quote

Reply

Tags
ansa, hexa blocking, mesh export, openfoam 1.6

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Salome hybrid mesh to OpenFOAM Arnoldinho OpenFOAM 4 March 28, 2012 10:24
Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 10:35
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


All times are GMT -4. The time now is 04:24.