Consists of a comparison of the angular velocity damping when the two- way coupling is considered.
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.6 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object dynamicMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dynamicFvMesh staticFvMesh;// dynamicRefineFvMesh;//
|
|
|
|
dynamicRefineFvMeshCoeffs
|
|
{
|
|
refineInterval 1;//refine every refineInterval timesteps
|
|
field interFace;
|
|
lowerRefineLevel 0.1;
|
|
upperRefineLevel 0.9;
|
|
unrefineLevel 10;
|
|
nBufferLayers 1;
|
|
maxRefinement 1;//maximum refinement level (starts from 0)
|
|
maxCells 1000000;
|
|
correctFluxes
|
|
(
|
|
(phi U)
|
|
(phi_0 U)
|
|
);
|
|
dumpLevel false;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|