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

Unknown patchTypefield "turbulentIntensityKineticEnergyInlet"

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 30, 2012, 05:37
Default Unknown patchTypefield "turbulentIntensityKineticEnergyInlet"
  #1
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
dear all,

i created a utility for post processing where i manipulate variables of the RAS turbulence model (in OF-1.7.1). when i apply it to a case using the "turbulentIntensityKineticEnergyInlet" BC for k, the utility crashes at the line

Code:
const volSymmTensorField RS = RASModel->R();
with the error message:

HTML Code:
--> FOAM FATAL ERROR: 
Unknown patchTypefield type turbulentIntensityKineticEnergyInlet

Valid patchField types are :

30
(
advective
calculated
compressible::kqRWallFunction
cyclic
directMapped
directionMixed
empty
fixedGradient
fixedInternalValue
fixedMeanValue
fixedValue
freestream
inletOutlet
mixed
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
sliced
slip
symmetryPlane
timeVaryingMappedFixedValue
timeVaryingUniformFixedValue
timeVaryingUniformInletOutlet
turbulentInlet
uniformFixedValue
waveTransmissive
wedge
zeroGradient
)


    From function fvPatchField<Type>::New(const word&, const fvPatch&, const DimensionedField<Type, volMesh>&)
    in file /home/opencfd/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude/newFvPatchField.C at line 53.

FOAM exiting
i had a look at the definition of R (src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.C):

Code:
tmp<volSymmTensorField> kEpsilon::R() const
{
    return tmp<volSymmTensorField>
    (
        new volSymmTensorField
        (
            IOobject
            (
                "R",
                runTime_.timeName(),
                mesh_,
                IOobject::NO_READ,
                IOobject::NO_WRITE
            ),
            ((2.0/3.0)*I)*k_ - (mut_/rho_)*dev(twoSymm(fvc::grad(U_))),
            k_.boundaryField().types()
        )
    );
}
i assume (cause i don t really know what the last line in the IOobject definition means), that through the line "k_.boundaryField().types()" R checks k BCs and cannot find "turbulentIntensityKineticEnergyInlet". i cannot really understand this behaviour as "turbulentIntensityKineticEnergyInlet" is part of the finiteVolume lib, which i included in the option file of my utility and is also present in the option file of the turbulence model lib.

does anybody know what i m doing wrong here?

thanks in adcance!

beste regards,
aram
mabinty is offline   Reply With Quote

 


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
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 05:59
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 16:14
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 15:46
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
Mashing Problem? ji CFX 2 April 4, 2002 05:03


All times are GMT -4. The time now is 11:41.