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

dynamic mesh to twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By adrien1311

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2014, 04:57
Default dynamic mesh to twoPhaseEulerFoam correctPhi
  #1
Member
 
Jan Potac
Join Date: Aug 2009
Posts: 30
Rep Power: 17
potac is on a distinguished road
I have been trying to introduce dynamic mesh abilities to twoPhaseEulerFoam solver. I have taken a look into similar solvers like interFoam and pimpleFoam tried to apply it on the twoPhaseEulerFoam solver. Basically, I have included dynamicFvMesh.H, createDynamicFvMesh.H, and correctPhi.H. After some adjustments, I did succeed with compiling a new solver twoPhaseEulerDyMFoam (used wclean wmake).
The solver seem to work but needed to edit units in correctPhi.H:
Code:
dimensionedScalar rAUf("rAUf", dimTime/dimMass*dimVolume, 1.0); // dimensionedScalar rAUf("rAUf", dimTime/rho.dimensions()
Does it make a sense?
Attached Files
File Type: h correctPhi.H (1.4 KB, 47 views)

Last edited by potac; September 26, 2014 at 07:28.
potac is offline   Reply With Quote

Old   March 17, 2015, 05:20
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
Hey Potac

Did you have success with this in the end? It is something which I also was planning to work on soon.
Dipsomaniac is offline   Reply With Quote

Old   June 15, 2015, 15:30
Default
  #3
Member
 
Michael Page
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 36
Rep Power: 17
micpage18 is on a distinguished road
Hi,

I work on it also. I want to simulate a screw conveyor, so I need a rotating mesh.

Do you have successfully implemented this solver?

Best regards
__________________
Michael Page
michael.page@simu-k.com
Simu-K inc.
www.simu-k.com
micpage18 is offline   Reply With Quote

Old   June 17, 2015, 13:10
Default twoPhaseEulerDyMFoam - First try
  #4
Member
 
Michael Page
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 36
Rep Power: 17
micpage18 is on a distinguished road
Hi,

Here's a first try of twoPhaseEulerDyMFoam.

The code is compiling, but it doesn't work. But, the same model with twoPhaseEuler does not work either. I think that the problem is with the cyclicAMI patch.

Any help and feedback would be appreciated.

Thank you,
Attached Files
File Type: gz twoPhaseEulerDyMFoam.tar.gz (74.4 KB, 101 views)
__________________
Michael Page
michael.page@simu-k.com
Simu-K inc.
www.simu-k.com
micpage18 is offline   Reply With Quote

Old   May 28, 2019, 09:47
Default
  #5
New Member
 
liliu
Join Date: Nov 2018
Posts: 12
Rep Power: 8
YUGU is on a distinguished road
Quote:
Originally Posted by micpage18 View Post
Hi,

Here's a first try of twoPhaseEulerDyMFoam.

The code is compiling, but it doesn't work. But, the same model with twoPhaseEuler does not work either. I think that the problem is with the cyclicAMI patch.

Any help and feedback would be appreciated.

Thank you,
Hi Michael,

I work on it also. I need to simulate a moving boundary with multiphase flow inside.

Do you have successfully implemented this solver?

Best regards
YUGU is offline   Reply With Quote

Old   October 29, 2019, 12:22
Default
  #6
New Member
 
Adrien
Join Date: Oct 2018
Posts: 6
Rep Power: 8
adrien1311 is on a distinguished road
Hi,
I am working on this problem as well. Did you manage to create the solver?
Thanks in advance
adrien1311 is offline   Reply With Quote

Old   November 16, 2019, 10:57
Default
  #7
New Member
 
Andrea
Join Date: Dec 2017
Posts: 10
Rep Power: 9
Pisolino85 is on a distinguished road
I'm really interested in this DyM version of the solver. Did you succeed? i would like to set vibrations to the simulation by making the entire mesh moving up and down at 50hz.
Pisolino85 is offline   Reply With Quote

Old   November 18, 2019, 11:14
Default
  #8
New Member
 
Adrien
Join Date: Oct 2018
Posts: 6
Rep Power: 8
adrien1311 is on a distinguished road
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction
adrien1311 is offline   Reply With Quote

Old   November 18, 2019, 12:43
Default
  #9
New Member
 
Andrea Pisa
Join Date: Feb 2013
Posts: 6
Rep Power: 13
Pisolino is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction

Hi adrien, i'm not a coder but since i'm interested in such solver i can give my best to help you to conclude the solver. Let me know how to go on with the development of such solver.



Andrea
Pisolino is offline   Reply With Quote

Old   November 18, 2019, 17:41
Default
  #10
New Member
 
Adrien
Join Date: Oct 2018
Posts: 6
Rep Power: 8
adrien1311 is on a distinguished road
You can give me your email, I'll send you the folder
adrien1311 is offline   Reply With Quote

Old   November 18, 2019, 18:30
Default
  #11
New Member
 
Andrea
Join Date: Dec 2017
Posts: 10
Rep Power: 9
Pisolino85 is on a distinguished road
i sent you a PM with the mail address
Pisolino85 is offline   Reply With Quote

Old   January 2, 2020, 22:09
Default
  #12
New Member
 
Lin Xiangfeng
Join Date: Dec 2016
Posts: 11
Rep Power: 10
Linxiangfeng is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction

Hi adrien, I am also very interested in your solver about the twoPhaseEulerFoam, could you also send me a copy of it?
Linxiangfeng is offline   Reply With Quote

Old   January 9, 2020, 11:46
Default Dynamic mesh in two fluid
  #13
New Member
 
roshan
Join Date: Dec 2019
Posts: 10
Rep Power: 7
roshanak.rabiee878 is on a distinguished road
Hi can you share with your code? I need to apply dynamic mesh in twoPhaseEulerFoam. I need some hints, I appreciate if you help me about that.

Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction
roshanak.rabiee878 is offline   Reply With Quote

Old   April 26, 2020, 00:21
Default
  #14
New Member
 
A V Pantaleao
Join Date: May 2010
Posts: 5
Rep Power: 16
avpanta is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
You can give me your email, I'll send you the folder
Hi Adrien,
Could you share code with me? I am working with two phases and also trying to implement dynamicMesh in twoPhaseEulerFoam. Unsuccessful so far. Thanks.
avpanta is offline   Reply With Quote

Old   May 28, 2020, 18:19
Default
  #15
New Member
 
Maurício Guilherme Alves dos Reis
Join Date: Feb 2015
Posts: 10
Rep Power: 11
MauricioReis is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction

Hello Adrien, I am trying to simulate multiphase fluid pumping. I have not yet succeeded in modifying twoPhaseEulerFoam for this task, could you share your code with me? Thanks.
MauricioReis is offline   Reply With Quote

Old   May 30, 2020, 20:02
Default twoPhaseEulerfoam with dynamic Mesh
  #16
New Member
 
Maurício Guilherme Alves dos Reis
Join Date: Feb 2015
Posts: 10
Rep Power: 11
MauricioReis is on a distinguished road
I tried to implement dynamic mesh in twoPhaseEulerFoam based on interDyMFoam. The application compiles, but the results are not coherent. I believe that the corrections of the fluxes (phi1 and phi2) are missing. I'm working with a incompressible case. Would anyone have a suggestion to fix the app? Thank you.
My main question is about the calculation of relative fluxes, the solver has several (phi1,alphaPhi1,alphaRhoPhi1,phi2,alphaPhi2,alphaR hoPhi2), do I need to calculate all?


pEqn.H

twoPhaseEulerDyMFoam.C

correctPhi.H

Last edited by MauricioReis; June 4, 2020 at 11:04. Reason: corrected code
MauricioReis is offline   Reply With Quote

Old   July 14, 2020, 12:30
Default
  #17
New Member
 
Join Date: Feb 2017
Posts: 1
Rep Power: 0
georgia_nk is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction
Hi Adrien,

Could you please share also with me the version of the twoPhaseEulerFoam with dynamic mesh refinement that you have available?
georgia_nk is offline   Reply With Quote

Old   December 23, 2020, 00:53
Default
  #18
New Member
 
Join Date: Mar 2020
Posts: 3
Rep Power: 6
jz666 is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction
Hi Adrien,

I am working on the DyM version of twophaseEulerFoam without success yet. Could we have some talk about this topic for some hints. I appreciate that!

JZ
jz666 is offline   Reply With Quote

Old   November 1, 2022, 04:01
Default
  #19
New Member
 
jinmingjie
Join Date: Oct 2022
Posts: 7
Rep Power: 4
erice is on a distinguished road
Quote:
Originally Posted by adrien1311 View Post
Hi Pisolino,

I partially managed to implement the dynamic library into twoPhaseEulerFoam. There is still some work to be done but if you want I can send you the current version.
The solver works but I had to remove some flux due to the particle interaction
Hi adrien, i am working on twoPhaseEulerFoam with particle and dynamic mesh interaction ,but have some problem. Could you please send me the code.
my email is 710347000@qq.com
erice 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
Dynamic mesh is not getting updated. cardio FLUENT 1 May 20, 2014 09:41
[ICEM] Dynamic mesh setup with ICEM David121284 ANSYS Meshing & Geometry 0 April 11, 2014 05:19
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 23:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03


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