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

dynamic mesh on multiphaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2013, 05:23
Default dynamic mesh on multiphaseEulerFoam
  #1
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17
tikulju is on a distinguished road
Hi all!
I've been working on multiphaseEulerFoam, and incorporated the dynamic mesh refinement on it. I have received some questions on it and would like to share them with you guys, hoping to get some answers to me too:

In the main code, I think putting
Code:
if (mesh.moving())
{
        Urel -= fvc::reconstruct(fvc::meshPhi(U));
}
mesh.update();
does the mesh movement and refinement correctly. Correct me if I'm wrong.

In the dynamicMeshDict, fluxes needed to be corrected. There's 'phiAlpha<phase>' stuff, which are needed. I'm not quite sure, what they are, so I've left them away. If someone do know what they are and what should be inserted on them, could shed some light on this matter.

And the third thing is the load balancing. Does anybody have an idea, how the load balancing used e.g. in snappyHexMesh, could be incorporated into this solver? I've tried it in several ways, but so far haven't succeeded on it. I've already started one thread on this matter (http://www.cfd-online.com/Forums/ope...amic-mesh.html), so maybe it's better if this matter would be discussed there...

- Timo
tikulju is offline   Reply With Quote

Old   May 8, 2013, 14:12
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
Hi Timu,

Send me a PM and I'll share a solver which has the appropriate rel/absolute flux corrections.

As for the load balancing, I can tell you there is a fully functional load balancer that works with dynamicRefineFvMesh developed in a few academic circles, it just hasn't been released yet. I'm thinking we'll make an announcement on the forums when it is released with instructions on where to download it.
kmooney is offline   Reply With Quote

Old   May 10, 2013, 04:01
Default
  #3
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17
tikulju is on a distinguished road
Hi Kyle,

I sent you an PM, thanks already in advance! And it would be good, if you guys could share the load balancing stuff, since the load imbalance really slows down the simulations.

And when i browsed through my solver, I actually had some flux corrector stuff (similar as in interDyMFoam). I wrote these stuffs some time ago, so I forgot them. Sorry for that.

- Timo
tikulju is offline   Reply With Quote

Old   May 15, 2013, 04:03
Default
  #4
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17
tikulju is on a distinguished road
Hi Kyle (and others),

I did put the flux corrections as it was also in your solver, but it seemed that things went from bad to worse . Previously my 'bad' velocities were around 50 m/s, now they're around 200. I think the thing is, that in interFoam the velocity field is shared between the phases, but in multiphaseEulerFoam it is per phase. This 'velocity overshoot' happens between the phases, for which have interphaseCompression defined (i.e. VOF type of interaction) and high density ratio (~5000). Any ideas?

- Timo
tikulju is offline   Reply With Quote

Old   May 16, 2013, 05:29
Default
  #5
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17
tikulju is on a distinguished road
I think the problem is not in the code, but in the case setup. Since the mesh is not moving, I don't think the absolute/relative are doing anything (see $FOAM_SRC/finiteVolume/lnInclude/fvcMeshPhi.C). Of they should be there, if the solver would be used in the moving mesh case.

- Timo
tikulju is offline   Reply With Quote

Reply

Tags
dynamic mesh, load balacing, multiphaseeulerfoam


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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 09:27
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 2 May 7, 2020 11:42
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 08:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 16:31


All times are GMT -4. The time now is 18:06.