CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   combined DynamicMotion and DynamicRefinement ? (http://www.cfd-online.com/Forums/openfoam/92037-combined-dynamicmotion-dynamicrefinement.html)

lbordier August 31, 2011 03:58

combined DynamicMotion and DynamicRefinement ?
 
Hello,

I'm trying to use dynamicMotionFvMesh and dynamicRefineFvMesh.

If I undserstand well, the refinement settings have to be written in the dynamicMeshDict in a same way than the mesh motion properties.

My problem is that, if I want to have the mesh displacement I have to write in the dynamicMeshDict :

Code:

dynamicFvMesh    dynamicMotionSolverFvMesh;
... followed by the dynamic motion options

But if I want to use dynamic remeshing, I have to write in the dynamicMeshDict :

Code:

dynamicFvMesh    dynamicRefineFvMesh;
... followed by the dynamic refinement options

Writting the two former settings in the same dynamicMeshDict seems not to work, only the dynamic motion seems to be performed.

How can I have the two of them working together (if possible) ?

Thanks.

gschaider August 31, 2011 05:09

Quote:

Originally Posted by lbordier (Post 322364)
Hello,

I'm trying to use dynamicMotionFvMesh and dynamicRefineFvMesh.

If I undserstand well, the refinement settings have to be written in the dynamicMeshDict in a same way than the mesh motion properties.

My problem is that, if I want to have the mesh displacement I have to write in the dynamicMeshDict :

Code:

dynamicFvMesh    dynamicMotionSolverFvMesh;
... followed by the dynamic motion options

But if I want to use dynamic remeshing, I have to write in the dynamicMeshDict :

Code:

dynamicFvMesh    dynamicRefineFvMesh;
... followed by the dynamic refinement options

Writting the two former settings in the same dynamicMeshDict seems not to work, only the dynamic motion seems to be performed.

How can I have the two of them working together (if possible) ?

Thanks.

Not my speciality (so someone might prove me wrong) but I'm afraid you'll have to write a dynamicFvMesh that combines both of them (I guess by inheriting from dynamicRefineFvMesh and transplanting the dynamicMotionSolverFvMesh-functionality, but that is only a guess)


All times are GMT -4. The time now is 19:24.