View Issue Details

IDProjectCategoryView StatusLast Update
0000706OpenFOAMBugpublic2012-12-18 15:48
ReporterLieven Assigned Tohenry  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000706: Unnecessary warning when using anisotropic LESfilter
DescriptionWhen using the anisotropic LESfilter, the following warning is printed:

--> FOAM Warning :
    From function GeometricField<Type, PatchField, GeoMesh>::readIfPresent()
    in file /opt/openfoam211/src/OpenFOAM/lnInclude/GeometricField.C at line 129
    read option IOobject::MUST_READ or MUST_READ_IF_MODIFIEDsuggests that a read constructor for field anisotropicFilteredSymmTensorField would be more appropriate.
Steps To ReproduceSet LESModel in LESProperties to a dynamic model. E.g.

LESModel homogeneousDynSmagorinsky

homogeneousDynSmagorinskyCoeffs
{
    filter anisotropic;
    anisotropicCoeffs
    {
        widthCoeff 6;
    }
}
Additional InformationEasy to fix by replacing (similar for anisotropicFilteredSymmTensorField)

IOobject
(
    "anisotropicFilteredTensorField",
    mesh().time().timeName(),
    mesh(),
    IOobject::MUST_READ,
    IOobject::AUTO_WRITE
),

with

IOobject
(
    "anisotropicFilteredTensorField",
    mesh().time().timeName(),
    mesh(),
    IOobject::NO_READ,
    IOobject::AUTO_WRITE
),

in file src/turbulenceModels/LES/LESfilters/anisotropicFilter/anisotropicField.C
TagsNo tags attached.

Activities

henry

2012-12-18 15:48

manager   ~0001842

Resolved by commit 73e25945b0a26b276a6f323e598b7499c70b951a

Issue History

Date Modified Username Field Change
2012-12-18 15:37 Lieven New Issue
2012-12-18 15:48 henry Note Added: 0001842
2012-12-18 15:48 henry Status new => resolved
2012-12-18 15:48 henry Resolution open => fixed
2012-12-18 15:48 henry Assigned To => henry