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

dynLagrangian SGS model

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2017, 15:05
Default dynLagrangian SGS model for compressible solvers
  #41
New Member
 
Zaffar Maradona
Join Date: Nov 2014
Posts: 5
Rep Power: 12
Zaffar is on a distinguished road
Rob3rt,

Unfortunately, the problem has not been resolved yet.
And any help would be appreciated.
Zaffar is offline   Reply With Quote

Old   November 6, 2020, 11:47
Default
  #42
New Member
 
Tian Jin
Join Date: Aug 2020
Posts: 10
Rep Power: 6
Tian Jin is on a distinguished road
Quote:
Originally Posted by tidal_Tom View Post
I do not know what is causing your errors. I am a relatively novice user so it is beyond me. below are my files I used for flm and fmm. I don't think fmm can be zero, as the calculation for turbulent viscosity divides by fmm, I set this to a value of 1. flm can be zero as it is the nominator.

Have you added flm and fmm in the fvSolution and fvSchemes? lines I added are below.

fvSolution:

flm
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}

fmm
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}

fvSchemes:

divSchemes
{
default none;
div(phi,U) Gauss linear;
div(phi,flm) Gauss limitedLinear 1;
div(phi,fmm) Gauss limitedLinear 1;
div(phi,B) Gauss limitedLinear 1;
div(B) Gauss linear;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

and I added:

dynLagrangianCoeffs
{
filter simple;
ce 1.048;
theta 1.5;
}

in the LESProperties dictionary.

flm:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object flm;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 4 -4 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 0;
}

outlet
{
type zeroGradient;
}

outside
{
type fixedValue;
value uniform 0;
}

object
{
type fixedValue;
value uniform 0;
}

wedge1
{
type wedge;
}

wedge2
{
type wedge;
}
}

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

fmm:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object fmm;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 4 -4 0 0 0 0];

internalField uniform 1;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}

outlet
{
type zeroGradient;
}

outside
{
type zeroGradient;
}

object
{
type zeroGradient;
}

wedge1
{
type wedge;
}

wedge2
{
type wedge;
}
}

// ************************************************** *********************** //
Thank you very much. It can works. But when I run it in my case, I found that turbulent viscosity are 0 in the internalField. Do you know what's wrong with that?
Tian Jin is offline   Reply With Quote

Old   November 6, 2020, 12:01
Default
  #43
New Member
 
Tian Jin
Join Date: Aug 2020
Posts: 10
Rep Power: 6
Tian Jin is on a distinguished road
Quote:
Originally Posted by anishtain4 View Post
Hi,

Since there is no clear example of dynamic Lagrangian LES model in the OpenFOAM tutorials, I attached a case I had to make work.
This is for OpenFOAM 3.0.1,
Let me know if you have any questions about it.

The codes to run it are as follow:

Code:
cp -r 0.org 0;
blockMesh;
perturbUChannel;
pimpleFoam;
One also needs
It's very kind of you. When I run your case, it gives me the error, do you know why it happened?
~/Desktop/test_solver/dynLag$ perturbUChannel
perturbUChannel: command not found
Tian Jin is offline   Reply With Quote

Old   November 16, 2022, 06:13
Default
  #44
New Member
 
Hongxiang Yu
Join Date: Jun 2018
Posts: 8
Rep Power: 8
Nicole Yu is on a distinguished road
Quote:
Originally Posted by Tian Jin View Post
It's very kind of you. When I run your case, it gives me the error, do you know why it happened?
~/Desktop/test_solver/dynLag$ perturbUChannel
perturbUChannel: command not found
obviously, you didn't install it right.
Nicole Yu is offline   Reply With Quote

Reply

Tags
dynlagrangian, les, sgs


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
multiphaseInterFoam for RAS turbulence model chiven OpenFOAM Bugs 8 December 6, 2017 03:08
Wrong calculation of nut in the kOmegaSST turbulence model FelixL OpenFOAM Bugs 27 March 27, 2012 10:02
help for different between les model (subgrid-scale model) liuyuxuan FLUENT 1 October 2, 2009 16:25
2 stage axial turbine model convergence issues sherifkadry CFX 2 September 7, 2009 21:51
multi fluid mixture model issue rystokes CFX 3 August 9, 2009 20:13


All times are GMT -4. The time now is 15:18.