CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [waves2Foam] OFv4.1 with the tutorial waveFlume (https://www.cfd-online.com/Forums/openfoam-community-contributions/205725-ofv4-1-tutorial-waveflume.html)

xiaochao June 14, 2017 07:07

OFv4.1 with the tutorial waveFlume
 
Hello, everyone!
I have just installed the waves2Foam library on OFv4.1 and now am running the tutorial waveFlume. Some error messages are displayed, does anyone know what the problem is.

Thanks.

Xiaochao

The error messages are as follows:
Code:


 /*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  4.1                                  |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 4.1
Exec  : waveFoam
Date  : Jun 12 2017
Time  : 16:01:57
Host  : "ubuntu"
PID    : 6681
Case  : /home/xuli/OpenFOAM/xuli-4.1/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode


Reading g

Reading waveProperties

Reading waveProperties
Reading field pd

Reading field alpha1

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Calculating field g.h

Selecting turbulence model type laminar
time step continuity errors : sum local = 0, global = 0, cumulative = 0
DICPCG:  Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
Courant Number mean: 0 max: 0

Starting time loop

--> FOAM Warning :
    From function void Foam::timeControl::read(const Foam::dictionary&)
    in file db/functionObjects/timeControl/timeControl.C at line 89
    Reading "/home/xuli/OpenFOAM/xuli-4.1/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume/system/controlDict.functions.surfaceElevationAnyName" from  line 3 to line 1614
    Using deprecated 'outputControl'
    Please use 'writeControl' with 'writeInterval'
--> FOAM Warning :
    From function bool Foam::functionObjectList::read()
    in file db/functionObjects/functionObjectList/functionObjectList.C at line 671
    Caught FatalError
--> FOAM FATAL ERROR:
Unknown function type surfaceElevation

Valid functions are :

4
(
patchProbes
probes
sets
surfaces
)



    From function static Foam::autoPtr<Foam::functionObject> Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&)
    in file db/functionObjects/functionObject/functionObject.C at line 100.

Courant Number mean: 0 max: 0
deltaT = 0.0011976
Time = 0.0011976

PIMPLE: iteration 1
MULES: Solving for alpha1
MULES: Solving for alpha1
Liquid phase volume fraction = 0  Min(alpha1) = 0  Max(alpha1) = 1
MULES: Solving for alpha1
MULES: Solving for alpha1
Liquid phase volume fraction = 0  Min(alpha1) = 0  Max(alpha1) = 1
Relaxing time: 0.03 s


--> FOAM FATAL ERROR:
LHS and RHS of + have different dimensions
    dimensions : [0 3 -1 0 0 0 0] + [0 3 -2 0 0 0 0]
ces
)



    From function Foam::dimensionSet Foam::operator+(const Foam::dimensionSet&, const Foam::dimensionSet&)
    in file dimensionSet/dimensionSet.C at line 489.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::operator+(Foam::dimensionSet const&, Foam::dimensionSet const&) at ??:?
#3  Foam::tmp<Foam::GeometricField<Foam::typeOfSum<double, double>::type, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::operator+<double, double, Foam::fvsPatchField, Foam::surfaceMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) at ??:?
#4  main at ??:?
#5  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6  ? at ??:?
 Aborted (core dumped)



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