|
[Sponsors] |
August 12, 2014, 16:45 |
Solver for non eddy viscosity sgs model
|
#1 |
New Member
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13 |
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. |
|
August 13, 2014, 04:23 |
|
#2 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
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. |
|
August 13, 2014, 04:50 |
|
#3 |
New Member
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13 |
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; } // ************************************************** *********************** // |
|
August 13, 2014, 04:53 |
|
#4 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
And with these files you get the error message from your first post?
__________________
The skeleton ran out of shampoo in the shower. |
|
August 13, 2014, 17:25 |
|
#5 |
New Member
karar
Join Date: Feb 2013
Posts: 13
Rep Power: 13 |
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 |
|
August 14, 2014, 03:48 |
|
#6 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
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. |
|
|
|
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 |