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

Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By PonchO

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2013, 22:53
Default Is it possible to use solidBodyMotionFvMesh together with dynamicRefineFvMesh?
  #1
Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 57
Rep Power: 5
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
Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 57
Rep Power: 5
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: 139
Rep Power: 6
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: 139
Rep Power: 6
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, 06:49
Default
  #5
Member
 
ms
Join Date: Mar 2009
Location: West London
Posts: 44
Rep Power: 8
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, 13:35
Default
  #6
New Member
 
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 27
Rep Power: 6
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 and anothr_acc like this.
PonchO is offline   Reply With Quote

Reply

Tags
refined mesh, tetra mesh

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamicRefineFvMesh nimasam OpenFOAM 2 August 22, 2013 03:03
dynamicRefineFvMesh with mesh deformation boeleman OpenFOAM Programming & Development 0 May 31, 2012 17:15
dynamicRefineFvMesh on polyhedral meshes lr103476 OpenFOAM Running, Solving & CFD 2 May 30, 2011 02:09
dynamicRefineFvMesh in 2 directions Victor OpenFOAM 6 June 28, 2010 05:46
Problem with leastSquares scheme when using dynamicRefineFvMesh christian_kunkelmann OpenFOAM Running, Solving & CFD 2 July 10, 2009 11:19


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