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

fvSchemes in FOAM extend 3.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2014, 12:34
Default fvSchemes in FOAM extend 3.1
  #1
New Member
 
Shenan
Join Date: Nov 2014
Posts: 5
Rep Power: 12
Shenan is on a distinguished road
I tried running the LRR turbulence model in OF 2.2.1 but ran into difficulty with time step continuity errors blowing up. I tightened the pressure convergence criteria but still it blew up; so I thought I'd give FOAM 3.1 a try.

I thought most things would be portable but some of the fvSchemes that I was using in OF are not recognised by FOAM. For instance, in OF I had:

Code:
div(phi,U)      bounded Gauss linearUpwindV grad(U);
In FOAM,
Code:
bounded
was not recognised; so I removed it and then
Code:
grad(U)
was not recognised. The problem is that I don't know what to replace it with.

Is there a "dictionary" to "translate" between OF and FOAM?
Shenan is offline   Reply With Quote

Old   December 17, 2014, 00:26
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Shenan View Post
I tried running the LRR turbulence model in OF 2.2.1 but ran into difficulty with time step continuity errors blowing up. I tightened the pressure convergence criteria but still it blew up; so I thought I'd give FOAM 3.1 a try.

I thought most things would be portable but some of the fvSchemes that I was using in OF are not recognised by FOAM. For instance, in OF I had:

Code:
div(phi,U)      bounded Gauss linearUpwindV grad(U);
In FOAM,
Code:
bounded
was not recognised; so I removed it and then
Code:
grad(U)
was not recognised. The problem is that I don't know what to replace it with.

Is there a "dictionary" to "translate" between OF and FOAM?
Hello Shenan,

If I am correct then the "bounded" term was included in OpenFOAM from OF ver. 2.2 onwards. This term will be beneficial if you are running steady-state solver. It will bound your solution and help achieve better convergence.

-
Best Regards!

Last edited by Tushar@cfd; December 17, 2014 at 01:50.
Tushar@cfd is offline   Reply With Quote

Old   December 17, 2014, 12:39
Default
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Try

Gauss linearUpwindV Gauss linear;
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   December 22, 2014, 10:45
Default
  #4
New Member
 
Shenan
Join Date: Nov 2014
Posts: 5
Rep Power: 12
Shenan is on a distinguished road
Thanks for the tip, Hrv. Unfortunately, the solver did not converge.

The time step continuity errors (sum local) went from 0.01 in the second iteration to 2e+05 in the third.

Of the other parameters, only bounding epsilon (max) showed signs of divergence: from 470 in the second iteration to 2e+08 in the third.

I will have a look at this again after Xmas. It might not be a problem with fvSchemes.
Shenan is offline   Reply With Quote

Reply

Tags
foam extend 3.1, fvschemes


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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