CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Periodic Hill tutorial switch from IDDES to DDES (https://www.cfd-online.com/Forums/openfoam-solving/242348-periodic-hill-tutorial-switch-iddes-ddes.html)

Gressi April 17, 2022 09:46

Periodic Hill tutorial switch from IDDES to DDES
 
Hi

I am new to OpenFOAM and I am struggling with how to change the turbulence model of the Periodic Hill tutorial case. I recieve following error when I change my turbulenceProperties

PIMPLE: iteration 1
[2]
[2]
[2] --> FOAM FATAL ERROR: (openfoam-2012)
[2]
request for volScalarField hmax from objectRegistry region0 failed
available objects of type volScalarField are
6(nut yWall nuTilda nu delta p)
[2]
[2] From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = const Foam::GeometricField<double, Foam::fvPatchFie$
[2] in file /opt/OpenFOAM/OpenFOAM-v2012/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 463.
[2]
FOAM parallel run aborting


I have no idea how to proceed and any help would be appreciated. I have used the motorbike tutorial LES delta and my mistake is probably in here.

turbulenceProperties

simulationType LES;

LES
{
LESModel SpalartAllmarasDDES;

printCoeffs no;

turbulence yes;

delta cubeRootVol;

cubeRootVolCoeffs
{
hmax maxDeltaxyzCubeRoot;
maxDeltaxyzCubeRootCoeffs
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;
}


}


All times are GMT -4. The time now is 20:09.