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

Setting up the turbulent viscosity(nut) boundary condition for Mapped fields.

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 9, 2021, 14:09
Default Setting up the turbulent viscosity(nut) boundary condition for Mapped fields.
  #1
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Hello Foamers,
Hope that all is good with you people amid this situation. My problem might be very basic to some people but I'm facing some issues while troubleshooting this. The problem is as :-

I m using some set of velocity datas collected at every 0.5 time step(setting up in constant/boundaryData) as my timeVaryingMappedField at the inlet of my domain and I m wishing to use some kind of wall-function for this simulation. While using the Spalding wall function and setting the required b.c in the nut file I m getting some abnormal Courant number at some midway of my simulation. I ran the same simulation without wall function and it was running perfect but the aim is to run with the wall function. The nut file is shown below and I believe the b.c condition at the inlet might be something else.

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [ 0 2 -1 0 0 0 0 ];

internalField uniform 0;
boundaryField
{
bottomWall
{
type nutUSpaldingWallFunction;
value uniform 0;
}
topWall
{
type nutUSpaldingWallFunction;
value uniform 0;
}
sides1_half0
{
type cyclic;
}
sides2_half0
{
type cyclic;
}
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
sides2_half1
{
type cyclic;
}
sides1_half1
{
type cyclic;
}

}

Will be really helpful if anyone can provide some solution for this problem.
ari003 is offline   Reply With Quote

 


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
Problem of boundary condition setting for natural convection in a water tank haiteng FLUENT 2 June 25, 2020 04:04
several fields modified by single boundary condition schröder OpenFOAM Programming & Development 3 April 21, 2015 05:09
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Boundary condition setting for non-premixed combustion using reactingFoam skyopener OpenFOAM 0 May 23, 2010 22:55
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 13:50.