|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Feb 2019
Posts: 23
Rep Power: 8 ![]() |
Hello all,
I'm simulating a 3D droplet impact in OpenFOAM. I've done it using many differents approaches and now I'm triying to apply adaptive mesh refinement. I have some problems when running setFields command in a coarse mesh because it is not capable of interpolate the previous interface onto the new finer mesh but i solved it reinitializing alpha.water, i.e. running again setFields after some time steps. The thing is that now the interface is ok, but when the drop falls some cells that should be coarsened they are not and i think it could be because of that first time steps when i run that command again. If you take a look at the image attached you can see what i mean. Settings of the dynamicMeshDict are: Code:
dynamicFvMesh dynamicRefineFvMesh;
dynamicRefineFvMeshCoeffs
{
refineInterval 1;
// Field to be refinement on
field alpha.water;
// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
unrefineLevel 10;
nBufferLayers 4;
maxRefinement 5;
maxCells 1000000;
correctFluxes
(
(alphaPhi0.water none)
(phi none)
(nHatf none)
(rhoPhi none)
(ghf none)
);
dumpLevel true;
}
Hope you can help me, Kind regards. Last edited by dolfus; February 26, 2019 at 08:16. |
|
|
|
|
|
|
|
|
#2 |
|
Member
Al Csc
Join Date: Jul 2018
Posts: 32
Rep Power: 9 ![]() |
Hi
Check if alpha field is really below your 0.001 threshold |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [snappyHexMesh] Multi Region Mesh of a car filter | Zephiro88 | OpenFOAM Meshing & Mesh Conversion | 3 | September 11, 2019 20:34 |
| [snappyHexMesh] Number of cells in mesh don't match with size of cellLevel | colinB | OpenFOAM Meshing & Mesh Conversion | 14 | December 12, 2018 09:07 |
| [snappyHexMesh] Edge Refinement | fracasce | OpenFOAM Meshing & Mesh Conversion | 3 | December 2, 2017 14:30 |
| [snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer | Sunxing | OpenFOAM Meshing & Mesh Conversion | 9 | September 20, 2014 10:30 |
| fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |