CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   flotingObject case doesn't run when I change the dynamicMeshDict file. (https://www.cfd-online.com/Forums/openfoam/190171-flotingobject-case-doesnt-run-when-i-change-dynamicmeshdict-file.html)

saatt July 6, 2017 21:02

flotingObject case doesn't run when I change the dynamicMeshDict file.
 
4 Attachment(s)
Hi, Foamers! I have met an anxious problem. Please give me your hands.

I have changed the case of floatingObject in the OF-3.0.1. Firstly I define a box in the topoSetDict. And then I make some changes in the dynamicMeshDict. I use the solidBodyMotionFvMesh, and define a linearMotion function, like that
dynamicFvMesh solidBodyMotionFvMesh;
solidBodyMotionFvMeshCoeffs
{
cellSet c0;
solidBodyMotionFunction linearMotion;
linearMotionCoeffs
{
velocity (0.5 0.5 0);
}
}

But when I run the case, some error messages occur, the error information is
"--> FOAM FATAL ERROR: Illegal content 286695 of set:c0 of type cellSet Value should be between 0 and 286694"

And when i paraFoam the case, i see a terrible surface of floatingObject defined in the topoSetDict.

If i don't change the dynamicMeshDict, just like the tutorials in of-3.0.1, the case can be run well. And the floatingObject is normal.

saatt July 9, 2017 08:26

Anyone can help me? Please!!!


All times are GMT -4. The time now is 18:33.