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

Unknown patchTypefield "turbulentIntensityKineticEnergyInlet"

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 30, 2012, 05:37
Default Unknown patchTypefield "turbulentIntensityKineticEnergyInlet"
  #1
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 184
Rep Power: 8
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 93 February 11, 2014 02:22
converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 17 October 25, 2013 03:59
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16: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 09:40.