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

Proper initialisation of phase boundaries for interDyMFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2013, 06:40
Default Proper initialisation of phase boundaries for interDyMFoam
  #1
New Member
 
Krzysztof Lamorski
Join Date: Jan 2012
Posts: 7
Rep Power: 14
klamorski is on a distinguished road
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
klamorski is offline   Reply With Quote

Old   September 9, 2013, 07:03
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Old   September 9, 2013, 07:19
Default
  #3
New Member
 
Krzysztof Lamorski
Join Date: Jan 2012
Posts: 7
Rep Power: 14
klamorski is on a distinguished road
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
klamorski is offline   Reply With Quote

Old   November 23, 2018, 12:50
Default
  #4
New Member
 
federico
Join Date: Jun 2017
Posts: 1
Rep Power: 0
fedeOF is on a distinguished road
Quote:
Originally Posted by klamorski View Post
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



Hi,



How did you actually solve this problem in the end ? Using snappyHexMesh or which tool ?



thanks



Federico
fedeOF is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:23.