nut wall functions for incompressible RAS
Hi guys! I'm new to openFOAM, and it's my first thread here. :)
I'm trying to run an existed openfoam case (it is written in 1.6.0) using openFOAM 2.1.0. I'm using LaunderSharmaKE turbulence model. The 0/nut file has some entries as: fixedWalls { type nutWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value uniform 0; } I guess this is where the problem generates. When I run simpleFoam solver, it gives out the error message: --> FOAM FATAL IO ERROR: Unknown patchField type nutWallFunction for patch type wall Valid patchField types are : 65 ( advective atmBoundaryLayerInletEpsilon buoyantPressure calculated codedFixedValue codedMixed cyclic cyclicAMI cyclicSlip directionMixed empty epsilonWallFunction fan fanPressure fixedFluxPressure fixedGradient fixedInternalValue fixedPressureCompressibleDensity fixedValue freestream freestreamPressure inletOutlet inletOutletTotalTemperature kappatJayatillekeWallFunction kqRWallFunction mapped mappedField mappedFixedInternalValue mappedFixedPushedInternalValue mixed nonuniformTransformCyclic nutLowReWallFunction nutTabulatedWallFunction nutURoughWallFunction nutUSpaldingWallFunction nutUWallFunction nutkRoughWallFunction nutkWallFunction omegaWallFunction oscillatingFixedValue outletInlet outletMappedUniformInlet partialSlip processor processorCyclic rotatingTotalPressure sliced slip symmetryPlane syringePressure timeVaryingMappedFixedValue totalPressure totalTemperature turbulentHeatFluxTemperature turbulentInlet turbulentIntensityKineticEnergyInlet turbulentMixingLengthDissipationRateInlet turbulentMixingLengthFrequencyInlet uniformDensityHydrostaticPressure uniformFixedValue uniformTotalPressure waveSurfacePressure waveTransmissive wedge zeroGradient ) I checked $FOAM_SRC/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFuntions, there is a folder named nutWallFunctions, inside which list many wall functions. So my question is which wall function I should use to replace the "nutWallFunction" entry. Would anyone give me some hints? Thanks a lot! |
hi all
I am facing exactly the same problem. I am trying to run a case, which works in OF1.7.x, in OF2.1.1 and get. Code:
--> FOAM FATAL IO ERROR: Any suggestions regarding the wallfunction that should be used since "nutWallFunction" is no more available? |
Try nutkWallFunction or nutUWallFunction; nutkWallFunction replicates OF 1.5.x behaviour. If you look at the code you can see that the different between them is the way the yplus is calculated. The doxygen documentation is your friend here:
http://foam.sourceforge.net/docs/cpp/a08745.html |
Thanks for the quick response.
So the initial condition for nut is given in the same way: Code:
circular |
Yes. When in doubt, find a working case from the tutorials that has something similar to what you want, then copy that.
|
Hey guys.
Underneath the nutkwallfunction it says: value uniform 0; So the value of something is uniform and 0. what exactly is that the value of?? |
All times are GMT -4. The time now is 15:29. |