CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   openfoam-dev interFoam/wave tutorial (https://www.cfd-online.com/Forums/openfoam-solving/194109-openfoam-dev-interfoam-wave-tutorial.html)

lsb1292 October 10, 2017 21:45

openfoam-dev interFoam/wave tutorial
 
Hello folks,

I am a OpenFOAM beginner and I want to make solitary wave with OpenFOAM.

And I found that OpenFOAM doesn't have solitary wave model and

openfoam-dev has solitary wave model.

So I tried openfoam-dev interFoam/wave tutorial.

In the U file, the wave model is Airy so I changed to solitary and

I executed Allrun and interFoam and I got this message.
Code:

--> FOAM FATAL IO ERROR:
keyword offset is undefined in dictionary ".solitary"

file: .solitary from line 36 to line 39.

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

FOAM exiting

Could anybody tell me what the problem is?

Thanks!!

Tobi October 11, 2017 07:33

Hi and welcome,

short and quick. a) Please use code tags; b) as it is written:
Code:

--> FOAM FATAL IO ERROR:
keyword offset is undefined in dictionary ".solitary"

the keyword offset is not defined in your solitary dictionary.

lsb1292 October 11, 2017 08:16

where can I find dictionary .solitary ?

Tobi October 11, 2017 08:25

You did the change:

In the U file, the wave model is Airy so I changed to solitary

I never worked with that model but actually you activated it. More information are given in the corresponding header file. Provide a test case that we can check your problem.


All times are GMT -4. The time now is 11:43.