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/)
-   -   Valid dynamicFvMesh types in OF-1.6 (https://www.cfd-online.com/Forums/openfoam-solving/71818-valid-dynamicfvmesh-types-1-6-a.html)

xfeng January 16, 2010 04:09

Valid dynamicFvMesh types in OF-1.6
 
hello everyone.
I want to use the dynamic mesh in my case which is similar to the movement of the valve in engine. There are some pictures of engine simulation in Mr.Jasak's home page
http://www.h.jasak.dial.pipex.com/
Here are 2 of 5 pictures.
http://www.h.jasak.dial.pipex.com/fi...ineMotion1.gifhttp://www.h.jasak.dial.pipex.com/fi...ineMotion2.gif


After reading this tutorial:
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007/PiroozMoradnia/OpenFOAM-rap.pdf

I thought the linearValveLayersFvMesh may be suitable to me.I just simply want to implement the layer addition/removal.

I modified a case of OF-1.6 in .../pimpleDyMFoam/movingCone/.
And I modified the file dynamicMeshDict to:

.......
dynamicFvMeshLibs ( "libtopoChangerFvMesh.so" );
dynamicFvMesh linearValveLayersFvMesh;
......

But after running pimpleDyMFoam , it showed as below:
================================================== ==================
Unknown dynamicFvMesh type linearValveLayersFvMesh

Valid dynamicFvMesh types are :

6
(
dynamicMotionSolverFvMesh
movingConeTopoFvMesh
solidBodyMotionFvMesh
dynamicRefineFvMesh
dynamicInkJetFvMesh
staticFvMesh
)


From function dynamicFvMesh::New(const IOobject&)
in file dynamicFvMesh/newDynamicFvMesh.C at line 79.

FOAM exiting
================================================== ===============

Don't tell me there are just 6 types in dynamicFvMesh.
Where are classes of topoChangerFvMesh like: linearValveFvMesh, linearValveLayersFvMesh,mixerFvMesh and movingConeTopoFvMesh?
And how can I use them?

thanks, xfeng

xfeng January 18, 2010 04:38

I think I've got the reason. In the .../OpenFOAM-1.6/src/topoChangerFvMesh/Make/files , it shows :
Code:

topoChangerFvMesh/topoChangerFvMesh.C

/*
linearValveFvMesh/linearValveFvMesh.C
linearValveLayersFvMesh/linearValveLayersFvMesh.C
*/
movingConeTopoFvMesh/movingConeTopoFvMesh.C
/*
mixerFvMesh/mixerFvMesh.C
*/

LIB = $(FOAM_LIBBIN)/libtopoChangerFvMesh

Why dose OF1.6 comment the three classes? I delete the "/* */" and run wmake libso , but it shows there're some errors in the linearValveFvMesh.C and linearValveLayersFvMesh.C

I copy the two classes in OF1.5dev to OF1.6, but the errors are still there. I totally don't know what should I do now. Who can help me?

thanks very much, xfeng


All times are GMT -4. The time now is 17:58.