|
[Sponsors] |
Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 4, 2013, 23:53 |
Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh?
|
#1 |
Senior Member
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14 |
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. [1] hexRef8 : Dumping cell as obj to "/home/testDym/processor1/cell_0.obj" [0] hexRef8 : Dumping cell as obj to "/home/testDym/processor0/cell_0.obj" [1] [0] [0] [0] --> FOAM FATAL ERROR: [0] cell 0 of level 0 does not seem to have 8 points of equal or lower level cellPoints:6(103 244 272 492 633 661) pointLevels:6{0} [0] [0] [0] From function hexRef8::setRefinement(const labelList&, polyTopoChange&) [0] in file polyTopoChange/polyTopoChange/hexRef8.C at line 3527. [0] FOAM parallel run aborting David Long |
|
October 27, 2013, 21:23 |
|
#2 |
Senior Member
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14 |
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 |
|
January 30, 2014, 12:02 |
|
#3 |
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15 |
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 |
|
January 30, 2014, 12:32 |
|
#4 |
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15 |
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 |
|
June 12, 2015, 07:49 |
|
#5 |
Member
ms
Join Date: Mar 2009
Location: West London
Posts: 48
Rep Power: 17 |
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.....
|
|
June 12, 2015, 14:35 |
|
#6 |
New Member
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 28
Rep Power: 15 |
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 |
|
Tags |
refined mesh, tetra mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynamicRefineFvMesh on polyhedral meshes | lr103476 | OpenFOAM Running, Solving & CFD | 5 | May 11, 2020 13:03 |
dynamicRefineFvMesh | nimasam | OpenFOAM | 2 | August 22, 2013 04:03 |
dynamicRefineFvMesh with mesh deformation | boeleman | OpenFOAM Programming & Development | 0 | May 31, 2012 18:15 |
dynamicRefineFvMesh in 2 directions | Victor | OpenFOAM | 6 | June 28, 2010 06:46 |
Problem with leastSquares scheme when using dynamicRefineFvMesh | christian_kunkelmann | OpenFOAM Running, Solving & CFD | 2 | July 10, 2009 12:19 |