<?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[关于湍流模型里变量类定义的问题]]></title><description><![CDATA[<p dir="auto">在湍流模型里的变量可不可以定义成体矢量。<br />
比如我想在 Omega模型里加一个磁场的变量<br />
我定义了B:<br />
<img src="/assets/uploads/files/1624947132834-2021-06-29-13-58-00%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="2021-06-29 13-58-00屏幕截图.png" class=" img-fluid img-markdown" /><br />
从文件中读取方式：<br />
<img src="/assets/uploads/files/1624947249394-2021-06-29-13-59-52%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="2021-06-29 13-59-52屏幕截图.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">磁场B在模型里用到的公式：<br />
<img src="/assets/uploads/files/1624947316821-2021-06-29-14-00-58%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="2021-06-29 14-00-58屏幕截图.png" class=" img-fluid img-markdown" /><br />
但是报错了<br />
<img src="/assets/uploads/files/1624947399940-2021-06-29-14-03-14%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="2021-06-29 14-03-14屏幕截图.png" class=" img-fluid img-markdown" /><br />
我想请问这是为什么<br />
之前磁场是均匀磁场，定义成：<br />
<img src="/assets/uploads/files/1624947733452-2021-06-29-13-58-38%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="2021-06-29 13-58-38屏幕截图.png" class=" img-fluid img-markdown" /><br />
这个类型没有问题。但是我现在需要计算非均匀磁场，这个类不能使用，我想请问各位有什么好办法解决吗，湍流模型里面可以定义体矢量吗？</p>
]]></description><link>https://cfd-china.com/topic/4968/关于湍流模型里变量类定义的问题</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:26:47 GMT</lastBuildDate><atom:link href="https://cfd-china.com/topic/4968.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Jun 2021 06:23:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 关于湍流模型里变量类定义的问题 on Tue, 29 Jun 2021 07:26:08 GMT]]></title><description><![CDATA[<p dir="auto">@李东岳谢谢东岳老师</p>
]]></description><link>https://cfd-china.com/post/26314</link><guid isPermaLink="true">https://cfd-china.com/post/26314</guid><dc:creator><![CDATA[一颗鸭蛋]]></dc:creator><pubDate>Tue, 29 Jun 2021 07:26:08 GMT</pubDate></item><item><title><![CDATA[Reply to 关于湍流模型里变量类定义的问题 on Tue, 29 Jun 2021 06:27:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://cfd-china.com/uid/2864">@一颗鸭蛋</a> <code>B_</code>里面还应该增加<code>mesh</code>，你看些别的求解器createFields.H里面怎么写的，你遗漏了<code>mesh</code></p>
]]></description><link>https://cfd-china.com/post/26312</link><guid isPermaLink="true">https://cfd-china.com/post/26312</guid><dc:creator><![CDATA[李东岳]]></dc:creator><pubDate>Tue, 29 Jun 2021 06:27:33 GMT</pubDate></item></channel></rss>