CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   swak4Foam - funkySetFields - not recognizing turbulent wall BC (http://www.cfd-online.com/Forums/openfoam-pre-processing/83664-swak4foam-funkysetfields-not-recognizing-turbulent-wall-bc.html)

gonpe January 6, 2011 13:17

swak4Foam - funkySetFields - not recognizing turbulent wall BC
 
Hi All

Trying to run a funkySetFields (FSF) on the epsilon variable on one of the tutorials. The FSF utility is not finding the turbulent wall bc (in this case for epsilon). Any thoughts. Below is the output.

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  1.7.x                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 1.7.x-b32f406e2652
Exec  : funkySetFields -keepPatches -field epsilon -time 0 -expression 0.134799/(dist()+0.010000)
Date  : Jan 06 2011
Time  : 12:10:41
Host  : ubu1
PID    : 27303
Case  : pitzDaily
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Time = 0
 Using command-line options

 Putting "0.134799/(dist()+0.010000)" into field epsilon at t = "0" if condition "true" is true
 Keeping patches unaltered



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

Valid patchField types are :

42
(
advective
buoyantPressure
calculated
cyclic
directMapped
directionMixed
empty
fan
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
mixed
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
rotatingTotalPressure
sliced
slip
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
timeVaryingMappedTotalPressure
timeVaryingTotalPressure
timeVaryingUniformFixedValue
timeVaryingUniformInletOutlet
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
waveTransmissive
wedge
zeroGradient
)


file: /projects/ubu1/09-40322-Makkah/ExternalFlow/Runs/pitzDaily/0/epsilon::boundaryField::upperWall from line 35 to line 36.

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

FOAM exiting


gschaider January 10, 2011 06:16

Quote:

Originally Posted by gonpe (Post 289511)
Hi All

Trying to run a funkySetFields (FSF) on the epsilon variable on one of the tutorials. The FSF utility is not finding the turbulent wall bc (in this case for epsilon). Any thoughts. Below is the output.

That boundary condition is either located in libcompressibleRASModels.so or libincompressibleRASModels.so (depending on what kind of case this is) and FSF doesn't link these. The solution is to force the loading of that library. You do that by adding

libs ( "libcompressibleRASModels.so" );

to the system/controlDict (add an "in" in the right place if your case is incompressible).

If this works for you, then it would be nice if you added a remark to the regular FSF-Wiki-page so that future generations will profit from that knowledge

Bernhard

gonpe January 10, 2011 11:30

That worked ... thanks for your help.

I will post to the Wiki.

Goncalo


All times are GMT -4. The time now is 23:47.