CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   ensightToFoam error with motorBike tutorial (https://www.cfd-online.com/Forums/openfoam/67493-ensighttofoam-error-motorbike-tutorial.html)

az_monger August 17, 2009 07:04

ensightToFoam error with motorBike tutorial
 
Hello guys,

i've got into trouble with the motorBike tutorial. After typing

> ensightToFoam

and pressing enter, i get following error:

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  1.6                                  |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 1.6-f802ff2d6c5a
Exec  : foamToEnsight
Date  : Aug 17 2009
Time  : 11:55:57
Host  : xxxxxxxx
PID    : 20608
Case  : /home1/fem/test/OpenFOAM/test-1.6/run/tutorials/incompressible/simpleFoam/motorBike
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0


write case: motorBike.case
Translating time = 0
Converting field (binary) nut
Converting field (binary) k



    Cannot find 'value' entry on patch lowerWall of field k in file "/home1/fem/test/OpenFOAM/test-1.6/run/tutorials/incompressible/simpleFoam/motorBike/0/k"
    which is required to set the values of the generic patch field.
    (Actual type kqRWallFunction)

    Please add the 'value' entry to the write function of the user-defined boundary-condition
    or link the boundary-condition into libfoamUtil.so

file: /home1/fem/test/OpenFOAM/test-1.6/run/tutorials/incompressible/simpleFoam/motorBike/0/turbulentBoundaryField::lowerWall from line 22 to line 22.

    From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch&, const Field<Type>&, const dictionary&)
    in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 72.

FOAM exiting

It seems to be a tiny dirty bug. Thank you for help.

santoo_cfd August 17, 2009 12:03

Try foamToEnsight -latestTime (or any other time step except 0)

Actually In 0 directory, In the k dictionary the value for K is provided using a wall function, so foamToEnsight is finding difficulty in converting it.

I have convertes to VTK without any problem

--santoo

az_monger August 17, 2009 15:45

Yes, you are right.
 
Thanks for your help. You are right. For the other timesteps there are
values provided in the k dictionary.
Maybe there should be at least one zero (because of the initial conditions).

Thank's twice :o.


All times are GMT -4. The time now is 07:22.