|
[Sponsors] |
Proper initialisation of phase boundaries for interDyMFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2013, 06:40 |
Proper initialisation of phase boundaries for interDyMFoam
|
#1 |
New Member
Krzysztof Lamorski
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
Hello Dear Foamers,
I am facing currently with a problem, with proper setting of initial conditions for interDyMFoam solver. For my simulation I want/have to use dynamically refined mesh. But the question is, if I can refine the mesh for time 0, to more accurately initialise the boundaries between two phases. The base coarse mesh is built from cubic cells. The shape which I try so set at the initial time with setFields is a sphere. Of course "the sphere" set by setFields in the relatively coarse base mesh is not a sphere, which influences the results of calculation substantially. I've been trying such tools like refineMesh for mesh refinement in the region where the initial sphere is located, but interDyMFoam was refining the mesh at the interface again, which resulted in very small cells, which effectively stopped the simulation due to very low timesteps. Is there any method of creating the dynamic mesh at initial time which could be used than by the solver? Best regards, Krzysztof |
|
September 9, 2013, 07:03 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi,
I may be wrong, but if you used snappyHexMesh in parallel to generate your mesh (keeping both the outside and inside of the sphere, check the igloo tutorial for that purpose), your refinement level would be accounted for and you wouldn't have this re-refinement problem. Best, Pablo |
|
September 9, 2013, 07:19 |
|
#3 |
New Member
Krzysztof Lamorski
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
Thanks for the tip,
currently I was working with cubic meshes due to ease of using it. I suspected that I missed something, and there is some tool in OpenFoam smarter than normal setFields which additionally will make this refinement. Your idea of using snappyHexMesh for that purpose is promising. I will check it, thank you. Regards, Krzysztof |
|
November 23, 2018, 12:50 |
|
#4 | |
New Member
federico
Join Date: Jun 2017
Posts: 1
Rep Power: 0 |
Quote:
Hi, How did you actually solve this problem in the end ? Using snappyHexMesh or which tool ? thanks Federico |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 16:12 |
[ICEM] Proper way to name boundaries on 2D model for use in CFX? | RossFS | ANSYS Meshing & Geometry | 4 | November 10, 2011 02:38 |
two Phase column simulation | chemeng | OpenFOAM | 3 | August 18, 2010 12:53 |
phase lag boundaries | Jens | FLUENT | 0 | August 1, 2006 09:56 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |