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

Solver for non eddy viscosity sgs model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2014, 16:45
Default Solver for non eddy viscosity sgs model
  #1
New Member
 
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13
zoptirik is on a distinguished road
Hi

I am new to OpenFOAM and I'm using v2.3.0 release. I i would like to use the Smagorinsky2 model or mixed smagorinsky model for incompressible flow (LES) but I couldn't find a solver. In tutorial, pisoFoam and pimpleFoam give the following error:

> FOAM FATAL ERROR:
Unknown LESModel type Smagorinsky2

Valid LESModel types:


It will save me a lot of time if someone can provide them to me.

THANK YOU A LOT!!

Best

Last edited by zoptirik; August 12, 2014 at 18:14.
zoptirik is offline   Reply With Quote

Old   August 13, 2014, 04:23
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
Hi zoptirik,
You should be able to run that model with both solvers you mentioned.
Can you post the constant/turbulenceProperties and constant/LESProperties of your case?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   August 13, 2014, 04:50
Default
  #3
New Member
 
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13
zoptirik is on a distinguished road
Thank you very much for your response. I am grateful. I will use cavity flow or channel folow. turbulence properties and Les properties of channel flow are posted below:



TURBULENCE PROPERTIES

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

simulationType LESModel;

// ************************************************** *********************** //





LES PROPERTIES:

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

LESModel ScaleSimilarity;

printCoeffs on;

delta vanDriest;

cubeRootVolCoeffs
{
deltaCoeff 1;
}

PrandtlCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}

smoothCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}

maxDeltaRatio 1.1;
}

Cdelta 0.158;
}

vanDriestCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}

smoothCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}

maxDeltaRatio 1.1;
}

Aplus 26;
Cdelta 0.158;
}

smoothCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}

maxDeltaRatio 1.1;
}


// ************************************************** *********************** //
zoptirik is offline   Reply With Quote

Old   August 13, 2014, 04:53
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
And with these files you get the error message from your first post?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   August 13, 2014, 17:25
Default
  #5
New Member
 
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13
zoptirik is on a distinguished road
Yes, it has given me following error:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : pisoFoam
Date : Aug 13 2014
Time : 23:23:12
Host : "generic-M4700"
PID : 5675
Case : /home/generic/OpenFOAM/generic-2.3.0/run/mychannel395
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi



--> FOAM FATAL IO ERROR:
keyword PISO is undefined in dictionary "/home/generic/OpenFOAM/generic-2.3.0/run/mychannel395/system/fvSolution"

file: /home/generic/OpenFOAM/generic-2.3.0/run/mychannel395/system/fvSolution from line 22 to line 64.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 643.

FOAM exiting

generic@generic-M4700:~/OpenFOAM/generic-2.3.0/run/mychannel395$ pimpleFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : pimpleFoam
Date : Aug 13 2014
Time : 23:23:28
Host : "generic-M4700"
PID : 5676
Case : /home/generic/OpenFOAM/generic-2.3.0/run/mychannel395
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model ScaleSimilarity


--> FOAM FATAL ERROR:
Unknown LESModel type ScaleSimilarity

Valid LESModel types:

15
(
DeardorffDiffStress
LRRDiffStress
Smagorinsky
SpalartAllmaras
SpalartAllmarasDDES
SpalartAllmarasIDDES
dynLagrangian
dynOneEqEddy
homogeneousDynOneEqEddy
homogeneousDynSmagorinsky
kOmegaSSTSAS
laminar
mixedSmagorinsky
oneEqEddy
spectEddyVisc
)


From function LESModel::New(const volVectorField&, const surfaceScalarField& ,transportModel&, const word&)
in file LESModel/LESModel.C at line 136.

FOAM exiting
zoptirik is offline   Reply With Quote

Old   August 14, 2014, 03:48
Default
  #6
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
It looks like that many of the incompressible LES models that the source code contains are actually not compiled. If you don't compile them by yourself, you will have to choose between the 15 available models.
I don't know why they are not compiled in the regular version.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz 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
Use of k-epsilon and k-omega Models Jade M Main CFD Forum 40 January 27, 2023 08:18
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Spectral eddy viscosity model bokong OpenFOAM Running, Solving & CFD 0 April 27, 2010 17:15
eddy viscosity for k-epsilon model vishwas FLUENT 2 January 27, 2006 04:25
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


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