CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   dynamic mesh to twoPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam-solving/142082-dynamic-mesh-twophaseeulerfoam.html)

potac September 23, 2014 03:57

dynamic mesh to twoPhaseEulerFoam correctPhi
 
1 Attachment(s)
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?

Dipsomaniac March 17, 2015 04:20

Hey Potac

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

micpage18 June 15, 2015 14:30

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

micpage18 June 17, 2015 12:10

twoPhaseEulerDyMFoam - First try
 
1 Attachment(s)
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,

YUGU May 28, 2019 08:47

Quote:

Originally Posted by micpage18 (Post 550793)
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

adrien1311 October 29, 2019 11:22

Hi,
I am working on this problem as well. Did you manage to create the solver?
Thanks in advance

Pisolino85 November 16, 2019 09:57

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.

adrien1311 November 18, 2019 10:14

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

Pisolino November 18, 2019 11:43

Quote:

Originally Posted by adrien1311 (Post 750088)
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

adrien1311 November 18, 2019 16:41

You can give me your email, I'll send you the folder

Pisolino85 November 18, 2019 17:30

i sent you a PM with the mail address

Linxiangfeng January 2, 2020 21:09

Quote:

Originally Posted by adrien1311 (Post 750088)
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?

roshanak.rabiee878 January 9, 2020 10:46

Dynamic mesh in two fluid
 
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 (Post 750088)
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


avpanta April 25, 2020 23:21

Quote:

Originally Posted by adrien1311 (Post 750120)
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.

MauricioReis May 28, 2020 17:19

Quote:

Originally Posted by adrien1311 (Post 750088)
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 May 30, 2020 19:02

twoPhaseEulerfoam with dynamic Mesh
 
3 Attachment(s)
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?


Attachment 78053

Attachment 78054

Attachment 78055

georgia_nk July 14, 2020 11:30

Quote:

Originally Posted by adrien1311 (Post 750088)
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?

jz666 December 22, 2020 23:53

Quote:

Originally Posted by adrien1311 (Post 750088)
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

erice November 1, 2022 03:01

Quote:

Originally Posted by adrien1311 (Post 750088)
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


All times are GMT -4. The time now is 13:29.