CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By PonchO

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2013, 23:53
Default 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
keepfit is on a distinguished road
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
Cheers,

David Long
keepfit is offline   Reply With Quote

Old   October 27, 2013, 21:23
Default
  #2
Senior Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14
keepfit is on a distinguished road
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
keepfit is offline   Reply With Quote

Old   January 30, 2014, 12:02
Default
  #3
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
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
danny123 is offline   Reply With Quote

Old   January 30, 2014, 12:32
Default
  #4
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
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
danny123 is offline   Reply With Quote

Old   June 12, 2015, 07:49
Default
  #5
Member
 
ms
Join Date: Mar 2009
Location: West London
Posts: 48
Rep Power: 17
anothr_acc is on a distinguished road
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.....
anothr_acc is offline   Reply With Quote

Old   June 12, 2015, 14:35
Default
  #6
New Member
 
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 28
Rep Power: 14
PonchO is on a distinguished road
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
wyldckat, anothr_acc and saatt like this.
PonchO is offline   Reply With Quote

Reply

Tags
refined mesh, tetra mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:42.