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

multiphaseEulerFoam with Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2016, 15:09
Default multiphaseEulerFoam with Dynamic Mesh
  #1
New Member
 
Alex Machado
Join Date: Feb 2014
Location: Brazil
Posts: 8
Rep Power: 12
amachado is on a distinguished road
Hello People,

I'd like know if there is a solver based on multiphaseEulerFoam with mesh movement. Something like interDyMFoam. The problem I want to solve don't have mesh deformation, just movement.
amachado is offline   Reply With Quote

Old   November 7, 2016, 05:28
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
I don't think there it exists yet.
Dipsomaniac is offline   Reply With Quote

Old   February 12, 2017, 10:00
Default
  #3
New Member
 
Alex Machado
Join Date: Feb 2014
Location: Brazil
Posts: 8
Rep Power: 12
amachado is on a distinguished road
I am trying to modified multiphaseEulerFoam based on multiphaseInterFoam in order to include dynamic mesh.
However, I don't know what to do with the part of the code below, more to the point, in multiphaseEulerFoam I have one velocity equation for each phase, while multiphaseInterFoam I have only one velocity field. Does anyone know how to do a loop for all the phases?


Quote:

if (mesh.changing())
{
Info<< "Execution time for mesh.update() = "
<< runTime.elapsedCpuTime() - timeBeforeMeshUpdate
<< " s" << endl;

gh = (g & mesh.C()) - ghRef;
ghf = (g & mesh.Cf()) - ghRef;
}

if (mesh.changing() && correctPhi)
{
// Calculate absolute flux from the mapped surface velocity
phi = mesh.Sf() & Uf;

#include "correctPhi.H"

// Make the flux relative to the mesh motion
fvc::makeRelative(phi, U);

fluid.correct();
}

if (mesh.changing() && checkMeshCourantNo)
{
#include "meshCourantNo.H"
}

Attached Files
File Type: c multiphaseEulerDyMFoam.C (4.5 KB, 20 views)
amachado is offline   Reply With Quote

Old   June 4, 2019, 05:21
Default
  #4
New Member
 
liliu
Join Date: Nov 2018
Posts: 12
Rep Power: 8
YUGU is on a distinguished road
Quote:
Originally Posted by amachado View Post
I am trying to modified multiphaseEulerFoam based on multiphaseInterFoam in order to include dynamic mesh.
However, I don't know what to do with the part of the code below, more to the point, in multiphaseEulerFoam I have one velocity equation for each phase, while multiphaseInterFoam I have only one velocity field. Does anyone know how to do a loop for all the phases?
Hello amachado,


Do you successfully implement this solver?
YUGU is offline   Reply With Quote

Reply


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 "Shadow Wall" thezack FLUENT 0 June 4, 2013 23:09
dynamic mesh on multiphaseEulerFoam tikulju OpenFOAM Programming & Development 4 May 16, 2013 05:29
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03


All times are GMT -4. The time now is 22:28.