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

interFoam 1.6.x vs 1.5 : same mesh, same bc but different results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2010, 13:03
Default Water Flow around hull ship : interFoam 1.6.x vs 1.5
  #1
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
Hi, i simulated a flow around an hull ship with interFoam (only water, no air and free surface). I have results with v1.5 and they seems really good. I tried to repeat the problem setting up a complete similar case in v 1.6.x but it gives me bad pressure and velocity field (all force coeffs are wrong and the simulation stopped after two days giving me an error ). I d like to know the differences between v1.5 and v1.6.x and if i setted in the wrong way the different params of simulation. I attach a pdf with the principal files.

EDIT: contours of p and U here

http://dl.dropbox.com/u/3617688/contours.tar.gz
Attached Files
File Type: pdf confronto.pdf (38.4 KB, 72 views)

Last edited by nuovodna; April 22, 2010 at 06:47.
nuovodna is offline   Reply With Quote

Old   April 13, 2010, 07:56
Default Interesting
  #2
New Member
 
GRD
Join Date: Jun 2009
Posts: 28
Rep Power: 17
g.redondo is on a distinguished road
This is interesting. Anyone else facing this problem? Has anyone fixed it?

OF-1.6.x has some really nice features for hull analysis, but unless we figure out what is going on with the results they're useless.

Regards,

Gonzalo
g.redondo is offline   Reply With Quote

Old   April 13, 2010, 08:21
Default
  #3
New Member
 
GRD
Join Date: Jun 2009
Posts: 28
Rep Power: 17
g.redondo is on a distinguished road
Having a look to your files I found a couple of things that might help, but still I don't think you'll get the same results.

1. In the inlet B.C I found that setting alpha to a constant value with setFields helps convergence.

2. You should also have an atmosphere patch.

3. Try with the hull as bouyantPressure too.

Good luck, although we're still missing something. I wish there was more documentation about interFoam in 1.6.x

Gonzalo
g.redondo is offline   Reply With Quote

Old   April 22, 2010, 06:46
Default
  #4
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
i think i have to change boundary condition on pressure : if in 1.5 i have zeroGradient, in 1.6.x i have to switch on buoyantPressure on the patch orthogonal to pressure gradient. I ll keep you updated on simulation's results. Stay tuned
nuovodna is offline   Reply With Quote

Old   May 3, 2010, 09:37
Default
  #5
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
I changed the pressure boundary conditions and now p field seems good. But i have a local "dicontinuity" of U field on symmetry patch. How can i solve it?? I attach the screenshots

http://dl.dropbox.com/u/3617688/Ufield.png
http://dl.dropbox.com/u/3617688/UfieldMesh.png
nuovodna is offline   Reply With Quote

Old   May 4, 2010, 06:34
Default
  #6
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Hi Emanuele,

That is because unstrured mesh (tetras) is not working nice.

Change your mesh to hexa and if possible structured and you will see everything better.
pablodecastillo is offline   Reply With Quote

Old   June 10, 2010, 08:55
Default
  #7
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Hi Emanuele,

could you put your settings for OF-1.6.x ?

Have you improve your calculation ?

Best regards,

Stephane
openfoam_user is offline   Reply With Quote

Old   June 14, 2010, 06:27
Default
  #8
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
I have set a less value of Courant number and now it works and it's running on 4 CPUs from two weeks
Attached Files
File Type: txt controlDict.txt (2.4 KB, 10 views)
File Type: txt fvSchemes.txt (1.3 KB, 9 views)
nuovodna is offline   Reply With Quote

Old   June 14, 2010, 06:34
Default
  #9
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Hi Emanuele,

You have a very low Courant Number !

The wigley hull of Eric Paterson runs well with Courant Number 0.8.

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   June 14, 2010, 06:45
Default
  #10
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
Do you think i have to investigate what are wrong in other part of the case?? I thought the mesh but checkMesh is perfect...any idea??
nuovodna 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
interFoam with irregular Mesh luther OpenFOAM 9 August 14, 2009 08:43
incorrect results with a tetrahedral mesh jcmasters OpenFOAM 5 May 20, 2009 17:44
Mesh for 3 dim Geometry Phil FLUENT 9 July 12, 2000 05:39
Mesh Mignard FLUENT 2 March 22, 2000 06:12


All times are GMT -4. The time now is 05:31.