Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh?
Hi folks,
I want to model a rolling propeller with interDymFoam, and observe the surface between water and air. In this case, can we use both solidBodyMotionFvMesh (rolling propeller) and dynamicRefineFvMesh (refinement of surface) in the dynamicMeshDict? Another important question: Does mesh refinement only support hexahedral mesh? because I did some tests on dynamicRefineFvMesh with different types of mesh: hex, prism and mesh generated by snappyHexMesh, it seems that only pure hexahedral mesh can do this job ( i have not tried tetra mesh yet, does it support or still not?). The error was like: Code:
Selected 329 cells for refinement out of 1422. David Long |
I don't wanna open a new post, so I just ask once again:
did someone ever try to use refineMesh and meshMotion within on case? e.g. the case of interDyMFoam - sloshingTank3D, what should I do if I want to refine the interface between air and water in the mean time (i.e refineMesh on alpha1) ?? Cheers, David |
Hello David,
did you get any response meanwhile? Your thread is a couple months old. I read on an older thread that you need to build a new dynamicFvMesh. I have looked up in the system (src/dynamicFvMesh) and this should be possible. But I am not sure if it is sufficient to copy all files into a new folder or you have to merge the file source code itself. From structural stand point, dynamicRefineFvMesh is a couple of files only, whereas solidBodyMotionFvMesh contains a number of subdirectories among one of them is called rotatingMotion, which is apparently used for moving a stirrer (AMI), but maybe some files in the parent directory itself as well. I use mesh motion in a horizontal mixer. I need the mesh refinement since there is a two phase mixture in that machine and the calculation in interDymFoam does not converge. I intend to use mesh refinement on alpha and if this is not sufficient on walls. Regards, Daniel |
Hello David,
just one additional thing that pops up to my mind: the AMI moving mesh needs to be altered only between time steps, whereas the refined mesh is something to happen during the pimple iteration because alpha (or whatever else) is a result of the calculation. Obviously you would want a mesh to refine at proximity of the interface and to become coarse again, when there is none. Regards, Daniel |
It upsets me to see such interesting questions go unanswered..... I'm looking into this too now but I'm not sure I can really spend any time on it. Fingers crossed.....
|
Hey folks,
i don't need mesh refinement and mesh motion in conjunction up to now, but i read about the combination of two dynamic mesh classes in the book: Maric, Tomislav, Jens Hopken, and Kyle Mooney. "The OpenFOAM technology primer." (2014). Especially chapter "13.3.2-Combining two Dynamic Mesh Classes" seems helpful for your purposes. Best regards and have a nice weekend :), Christoph |
All times are GMT -4. The time now is 00:24. |