CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Interface dynamic refine mesh of multi-phase fluid

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2018, 13:09
Exclamation Interface dynamic refine mesh of multi-phase fluid
New Member
Join Date: Sep 2017
Posts: 1
Rep Power: 0
ethanboem is on a distinguished road

I'm new to OpenFOAM, and I want to use the solver of multiphaseInterDyMFoam to refine the interface mesh of multiphase liquid. But, there is only code for refining one phase of the liquid interface in OpenFOAM (showing as below).

dynamicFvMesh dynamicRefineFvMesh;
       refineInterval 1;
       field alpha1;
       lowerRefineLevel 0.001;
       upperRefineLevel 0.999;
       unrefineLevel 10;
       nBufferLayers 1;
       maxRefinement 2;
       maxCells 200000;
       correctFluxes (( phi none) (nHatf none) (rhoPhi none) (ghf none) );
       dumpLevel true;
If it is a three-phase system of water-oil-air, how to refine the mesh of water and oil phase surface dynamically at the same time? For any hints, I will be quite grateful.
ethanboem is offline   Reply With Quote

Old   July 25, 2018, 23:12
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
What if you defined a new field that is the gradient of alpha and refine where it's high? This should get you refinement at the interface.

clapointe is offline   Reply With Quote


dynamic mesh;, interface refinement, multiphase flow

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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00

All times are GMT -4. The time now is 21:08.