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

Problem with NonlinearKEShih in OF240

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2017, 18:33
Default Problem with NonlinearKEShih in OF240
  #1
Member
 
António Soares
Join Date: Mar 2015
Location: Lisbon, Portugal
Posts: 48
Rep Power: 11
Outbound is on a distinguished road
Hi,

I'm having a problem with the NonlinearKEShih in OF240, with a case that runs fine on OF222 (I'm having to use OF240 on a particular computer due to Nvidia driver issues and having to use Ubuntu 16.04).

The problem is that there seems to be a mistake in the patch field verification for this model in that it says the the epsilon wall function in the epsilon file is not valid for wall patches...

Here's the error message:

Quote:
--> FOAM FATAL ERROR:
epsilonWallFunction is the wrong epsilon patchField type for wall-functions on patch front
should be zeroGradient

From function wall-function evaluation
in file /home/pc4/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/checkPatchFieldTypes.H at line 13.

FOAM exiting
One can recreate this by taking the explicit angled duct tutorial case for porousSimpleFoam, running the tutorial with the pre-configured KE model, then switching the RAS properties from "KEpsilon" to "NonlinearKEShih" and adding the following line to the fvSchemes "divSchemes" section:

Quote:
div(nonlinearStress) Gauss cubic;
By forcing my case to run with the zeroGradient BC on a wall patch it will eventually cause the residuals to go nuts.

Any hints on a quick fix?

Best regards,
Outbound 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
[Other] engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 09:45
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13


All times are GMT -4. The time now is 12:54.