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/)
-   -   interDyMFoam "keyword displacementLaplacianCoeffs is undefined" (https://www.cfd-online.com/Forums/openfoam-solving/117029-interdymfoam-keyword-displacementlaplaciancoeffs-undefined.html)

kilroy April 30, 2013 17:29

interDyMFoam "keyword displacementLaplacianCoeffs is undefined"
 
Hello,

I am using "waveDyMFoam" for my research and I basically modified it from "interDyMFoam" solver. I followed the steps described in the wiki below:
https://sites.google.com/site/jordim...ic-mesh-motion

The solver has been compiled pretty fine and it is working right now. After that I tried to run the "waveFlumeDyM" tutorial that can be downloaded at the bottom of the link that I have provided above.

But after I run the "waveDyMFoam" solver, I get the error below:

Selecting motion solver: displacementLaplacian


--> FOAM FATAL IO ERROR:
keyword displacementLaplacianCoeffs is undefined in dictionary "/home/meta/OpenFOAM/kilroy-2.2.0/Documents/examples/7th/tutorials/waveFlumeDyM/constant/dynamicMeshDict"

file: /home/meta/OpenFOAM/kilroy-2.2.0/Documents/examples/7th/tutorials/waveFlumeDyM/constant/dynamicMeshDict from line 17 to line 23.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 608.

FOAM exiting


I am not sure if this error is because I did something wrong during the modification process from interDyMFoam to waveDyMFoam or because version incompatibility.

Have anybody encountered the same problem before and know how to solve it?

Thank you very much for your time.

Kilroy

nanes April 30, 2013 20:35

The solver must find inside dynamicMeshDict the keyword displacementLaplacianCoeffs, than you must put into dynamicMeshDict this keyword and subsequent braces.

Try to read this file from one tutorial:
https://github.com/OpenFOAM/OpenFOAM...ynamicMeshDict

kilroy April 30, 2013 21:27

Emanuele

Thank you so much. I forgot the braces, that was the problem. Now my case works pretty fine :D

Kilroy

kilroy May 1, 2013 10:57

I was also wondering, is it possible to restrain some degrees of freedom in "interDyMFoam"?

For example, can I make my object free to translate in y and z directions and free to rotate in x, y and z but restrained to move in the x direction?

Kilroy


All times are GMT -4. The time now is 09:28.