<?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[关于directionMixed边界条件]]></title><description><![CDATA[<p dir="auto">有一个立方体的计算域.设速度为u,那么它有三个分量(u1,u2,u3).</p>
<p dir="auto">我想设置du1/dz为某个常数.</p>
<p dir="auto">我找到了directionMixed边界条件.</p>
<p dir="auto">我看了这个帖子,<a href="https://www.cfd-online.com/Forums/openfoam-pre-processing/61989-directionmixed-mixed-bc.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.cfd-online.com/Forums/openfoam-pre-processing/61989-directionmixed-mixed-bc.html</a>, 仍然感到说得云里雾里.</p>
<p dir="auto">有人能举例讲讲这个边界条件的使用吗?</p>
]]></description><link>https://cfd-china.com/topic/4749/关于directionmixed边界条件</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 02:27:57 GMT</lastBuildDate><atom:link href="https://cfd-china.com/topic/4749.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Apr 2021 02:25:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 关于directionMixed边界条件 on Sun, 09 May 2021 02:33:07 GMT]]></title><description><![CDATA[<p dir="auto">可以参考邱小平大佬的博客<br />
<a href="https://xiaopingqiu.github.io/2016/04/02/Boundary-conditions-in-OpenFOAM3/" target="_blank" rel="noopener noreferrer nofollow ugc">链接文本</a></p>
]]></description><link>https://cfd-china.com/post/25634</link><guid isPermaLink="true">https://cfd-china.com/post/25634</guid><dc:creator><![CDATA[Yongbo]]></dc:creator><pubDate>Sun, 09 May 2021 02:33:07 GMT</pubDate></item><item><title><![CDATA[Reply to 关于directionMixed边界条件 on Tue, 13 Apr 2021 04:48:03 GMT]]></title><description><![CDATA[<p dir="auto">我尝试理解一下,各位看对不对.</p>
<p dir="auto">这个边界条件是用于各向异性的场.</p>
<p dir="auto">譬如,对于速度场,有三个分量(u,v,w),其在三个方向(x,y,z)上的变化各不相同,那么根据排列组合知识,它的梯度分量应该有9个.但是独立的只有6个.</p>
<p dir="auto">directionMixed有三个参数refValue,refGradient,valueFraction.<br />
第一个参数用于指定固定值,第二个参数用于指定固定的梯度,第三个参数用于指定前两个参数的混合比例.</p>
<p dir="auto">例如,我想指定速度的第一个分量在z方向的梯度为常数值,即(du/dz=5),其余均为0,那么边界条件设定如下</p>
<pre><code>type		directionMixed;
refValue uniform (0 0 0);
refGradient uniform (0 0 5);
valueFraction uniform (0 0 1 0 0 0);
</code></pre>
]]></description><link>https://cfd-china.com/post/25155</link><guid isPermaLink="true">https://cfd-china.com/post/25155</guid><dc:creator><![CDATA[秦淮冷月]]></dc:creator><pubDate>Tue, 13 Apr 2021 04:48:03 GMT</pubDate></item></channel></rss>