|
[Sponsors] |
[Other] Interface dynamic refine mesh of multi-phase fluid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 20, 2018, 14:09 |
Interface dynamic refine mesh of multi-phase fluid
|
#1 |
New Member
BAI FAN
Join Date: Sep 2017
Posts: 1
Rep Power: 0 |
Hi,
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). Code:
dynamicFvMesh dynamicRefineFvMesh; dynamicRefineFvMeshCoeffs { 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; } |
|
July 26, 2018, 00:12 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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.
Caelan |
|
Tags |
dynamic mesh;, interface refinement, multiphase flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |