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

dynamic mesh on multiphaseEulerFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2013, 04:23
Default dynamic mesh on multiphaseEulerFoam
  #1
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 7
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 (Load balancing with dynamic mesh), so maybe it's better if this matter would be discussed there...

- Timo
tikulju is offline   Reply With Quote

Old   May 8, 2013, 13:12
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 280
Rep Power: 9
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, 03:01
Default
  #3
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 7
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, 03:03
Default
  #4
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 7
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, 04:29
Default
  #5
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 7
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

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
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 1 July 28, 2011 01:53
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 15:31


All times are GMT -4. The time now is 12:00.