对于openfoam旋转坐标系边界条件设置的疑问
-
大家好,最近在阅读openFoam 4.1版本tutorials/incompressible/SRFSimpleFoam/mixer 算例,在读到设定边界条件的0/Urel文件时有个地方一直百思不得其解...附上Urel文件的代码:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object Urel; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 -10); boundaryField { inlet { type SRFVelocity; inletValue uniform (0 0 -10); relative no; value uniform (0 0 0); } outlet { type pressureInletOutletVelocity; value $internalField; } innerWall { type noSlip; } outerWall { type SRFVelocity; inletValue uniform (0 0 0); relative no; value uniform (0 0 0); } cyclic_half0 { type cyclic; } cyclic_half1 { type cyclic; } } // ************************************************************************* //
中的这几行:
inlet { type SRFVelocity; inletValue uniform (0 0 -10); relative no; value uniform (0 0 0); }
对于进口速度,已经设置了其速度为 uniform (0,0,-10),那为什么下面还需要写一行 value uniform (0,0,0)?这一项代码有什么含义?想不通:joking: