dynamicMeshDict - Multi moving Boundaries
Hi all,
I have a question. I know that in order to manage the mesh when a boundary is moving, the dynamicMeshDict should be modified. In particular I have found this std settings in the tutorial (where movingBlock is a moving boundary) /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object motionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ("libfvMotionSolvers.so"); solver displacementLaplacian; diffusivity inverseDistance (movingBlock); // ************************************************** *********************** // Now my question is: if I have more than one moving boundary, how can I set the dynamicMeshDict in order to have a diffusivity function of the inverse distance from both boundaries? Is possible? Regards F. |
Hi,
Normally you just have to specify both patches (this is from one of my cases) : Quote:
|
Quote:
F. |
Quote:
diffusivity inverseDistance 2(patch1 patch2); Is the number 2 necessary? |
All times are GMT -4. The time now is 20:04. |