CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Interfoam - Problem with mesh quality ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2012, 03:49
Default Interfoam - Problem with mesh quality ?
  #1
Senior Member
 
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17
danvica is on a distinguished road
I found a problem using Interfoam on a particular mesh.

I need to have a small inlet in a big domain.
I meshed the inlet with an higher refinement level than the rest of the domain. I already used this procedure without any problems but now I'm obtaining strange results.

The incoming fluid (water) is supposed to enter into the coarse domain and fall down by gravity force. The sims actually shows the fluid stucked at the fine/coarse mesh interface.

I enclose a picture of the mesh (1/4 of the total) and my setup. Here you can also find the movie: http://www.box.com/s/c71007067151cfd480e9

Any idea ? At the beginning I was thinking bad gravity sign...

Thanks,
Daniele
Attached Images
File Type: jpg t208ms.jpg (22.4 KB, 63 views)
Attached Files
File Type: zip fvSchemes.zip (640 Bytes, 4 views)
File Type: zip fvSolution.zip (1.2 KB, 4 views)
__________________
Daniele Vicario

blueCFD2.1 - Windows 7
danvica is offline   Reply With Quote

Old   April 9, 2012, 03:51
Default
  #2
Senior Member
 
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17
danvica is on a distinguished road
BTW, I have problem with alpha>1 too... I think this for sure doesn't help....

Daniele
__________________
Daniele Vicario

blueCFD2.1 - Windows 7
danvica is offline   Reply With Quote

Old   April 9, 2012, 09:40
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Daniele,

I've written several posts on the following thread: http://www.cfd-online.com/Forums/ope...rintstack.html - there you should find several tips learning how to use OpenFOAM by trial-and-error

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 9, 2012, 10:00
Default
  #4
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
Hi Daniele,

Is there a reason why you stopped the refinement after the inlet? Due to the coarse mesh down stream your calculated capillary forces will be very inaccurate. One of the big disadvantages of interFoam is that it needs a lot of mesh resolution to resolve the interface region. I had a case where the interface region was highly resolved in one area of the domain and coarsely resolved in another. Because the surface force was calculated differently on each region of the mesh I got strong artificial tangential marangoni type currents across the interface.

From your video it also appears that there is some "bubbles" or alpha != 1 coming in from your inlet, any idea why that would be happening?

Also, how big is this domain? Is it small enough where surface tension has a big role?

Cheers!
Kyle
kmooney is offline   Reply With Quote

Old   April 9, 2012, 13:58
Default
  #5
Senior Member
 
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17
danvica is on a distinguished road
@Bruno: thanks for the link, I'll study it.

@Kyle: I had to stop refinement in order to keep the number of cells reasonable.
I'm trying to simulate a sort of shower. A small inlet (400x10mm) into a 1000x1000x2000mm space. Now I better local-refined the mesh and it seems a little better, but, at the moment, I don't want to manage more than 2-3 MCell.
I'm still learning, so any advice is helpfull.

Regarding the alpha behavior I think was due to an incorrect setup of the p tollerance at the beginning of the simulation.
At first, I tried to release it (1e-4) thinking to get a faster calculation but, actually, using the "default" value of 1e-7 is better from all point of view.
This, togheter with a finer mesh, solved the problem in my current run.

Thanks.
__________________
Daniele Vicario

blueCFD2.1 - Windows 7
danvica is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Solar Water Heater Mesh Problem. OzMantle ANSYS Meshing & Geometry 17 July 27, 2010 19:14
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Different types of Mesh quality hagupta CFX 1 June 30, 2006 07:42


All times are GMT -4. The time now is 16:33.