CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Unknown patchField type nutSpalartAllmarasWallFunction for patch type wall (https://www.cfd-online.com/Forums/openfoam/181403-unknown-patchfield-type-nutspalartallmaraswallfunction-patch-type-wall.html)

Salim December 13, 2016 20:31

Unknown patchField type nutSpalartAllmarasWallFunction for patch type wall
 
hi
I am trying to simpleFoam on an Airfoil design but I keep getting the following error , please help !!


--> FOAM FATAL IO ERROR:
Unknown patchField type nutSpalartAllmarasWallFunction for patch type wall

Valid patchField types are :

104
(
MarshakRadiation
MarshakRadiationFixedTemperature
advective
alphatJayatillekeWallFunction
atmBoundaryLayerInletEpsilon
calculated
codedFixedValue
codedMixed
compressible::thermalBaffle1D<hConstSolidThermoPhy sics>
compressible::thermalBaffle1D<hExponentialSolidThe rmoPhysics>
compressible::turbulentHeatFluxTemperature
compressible::turbulentTemperatureCoupledBaffleMix ed
compressible::turbulentTemperatureRadCoupledMixed
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
directionMixed
empty
energyJump
energyJumpAMI
epsilonLowReWallFunction
epsilonWallFunction
externalCoupled
externalCoupledTemperature
externalWallHeatFluxTemperature
fWallFunction
fan
fanPressure
fixedEnergy
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedPressureCompressibleDensity
fixedUnburntEnthalpy
fixedValue
freestream
freestreamPressure
gradientEnergy
gradientUnburntEnthalpy
greyDiffusiveRadiation
greyDiffusiveRadiationViewFactor
inletOutlet
inletOutletTotalTemperature
kLowReWallFunction
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mixed
mixedEnergy
mixedUnburntEnthalpy
nonuniformTransformCyclic
nutLowReWallFunction
nutTabulatedWallFunction
nutURoughWallFunction
nutUSpaldingWallFunction
nutUWallFunction
nutkAtmRoughWallFunction
nutkRoughWallFunction
nutkWallFunction
omegaWallFunction
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
phaseHydrostaticPressure
prghPressure
processor
processorCyclic
rotatingTotalPressure
sliced
slip
symmetry
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
totalFlowRateAdvectiveDiffusive
totalPressure
totalTemperature
turbulentHeatFluxTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
turbulentMixingLengthDissipationRateInlet
turbulentMixingLengthFrequencyInlet
uniformDensityHydrostaticPressure
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
uniformTotalPressure
v2WallFunction
variableHeightFlowRate
wallHeatTransfer
waveSurfacePressure
waveTransmissive
wedge
wideBandDiffusiveRadiation
zeroGradient
)


file: /home/salim/task_3_hamid_abedi_rev_1/run/airFoil2D/0/nut.boundaryField.wing from line 49 to line 50.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /home/andras/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143.

FOAM exiting

Salim December 13, 2016 20:39

I have also changed the patchField type to nutUSpaldingWallFunction as it is done in the tutorial but I also got this error message




Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model SpalartAllmaras
SpalartAllmarasCoeffs
{
sigmaNut 0.66666;
kappa 0.41;
Cb1 0.1355;
Cb2 0.622;
Cw2 0.3;
Cw3 2;
Cv1 7.1;
Cv2 5;
}

Employing Ashford correction
No finite volume options present


SIMPLE: no convergence criteria found. Calculations will run for 2000 steps.


Starting time loop

forceCoeffs forces:
Not including porosity effects

Time = 0.5



--> FOAM FATAL IO ERROR:
keyword div((nuEff*dev(T(grad(U))))) is undefined in dictionary "/home/salim/task_3_hamid_abedi_rev_1/run/airFoil2D/system/fvSchemes.divSchemes"

file: /home/salim/task_3_hamid_abedi_rev_1/run/airFoil2D/system/fvSchemes.divSchemes from line 32 to line 35.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 437.

FOAM exiting

Salim December 13, 2016 20:42

please help
I am doing now this tutorial for my graduation project:
http://www.tfd.chalmers.se/~hani/kur...ort_task_3.pdf


and I have this case file so far :
http://www.tfd.chalmers.se/~hani/kur...bedi/files.tgz

Santiago December 14, 2016 03:57

Well, the patch boundary doesn't exist, and you have not defined the discretization scheme for the deviatoric velocity gradient tensor. The error uotput it's pretty self-explanatory

Sent from my GT-I8190L using CFD Online Forum mobile app

pbachant December 14, 2016 17:26

Looks like you are using a case from a newer version of OpenFOAM and running it with an older. Look inside system/fvSchemes and you'll see that div((nuEff*dev(T(grad(U))))) is not defined, but something very similar looking likely is.


All times are GMT -4. The time now is 06:49.