<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[对于openfoam旋转坐标系边界条件设置的疑问]]></title><description><![CDATA[<p dir="auto">大家好，最近在阅读openFoam 4.1版本tutorials/incompressible/SRFSimpleFoam/mixer 算例，在读到设定边界条件的0/Urel文件时有个地方一直百思不得其解...附上Urel文件的代码:</p>
<pre><code>/*--------------------------------*- 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;
    }
}


// ************************************************************************* //
</code></pre>
<p dir="auto">中的这几行:</p>
<pre><code> inlet
    {
        type            SRFVelocity;
        inletValue      uniform (0 0 -10);
        relative        no;
        value           uniform (0 0 0);
    }
</code></pre>
<p dir="auto">对于进口速度，已经设置了其速度为 uniform (0,0,-10)，那为什么下面还需要写一行 value   uniform (0,0,0)?这一项代码有什么含义？想不通:joking:</p>
]]></description><link>https://cfd-china.com/topic/1091/对于openfoam旋转坐标系边界条件设置的疑问</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 01:57:19 GMT</lastBuildDate><atom:link href="https://cfd-china.com/topic/1091.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Oct 2017 04:40:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 对于openfoam旋转坐标系边界条件设置的疑问 on Fri, 20 Oct 2017 06:19:32 GMT]]></title><description><![CDATA[<p dir="auto">好像以前见过一个类似的帖子，下面那个<code>value </code>是没用的，主要用于paraview读取，你随便写100也可以。</p>
]]></description><link>https://cfd-china.com/post/5761</link><guid isPermaLink="true">https://cfd-china.com/post/5761</guid><dc:creator><![CDATA[李东岳]]></dc:creator><pubDate>Fri, 20 Oct 2017 06:19:32 GMT</pubDate></item></channel></rss>