<?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[chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整]]></title><description><![CDATA[<p dir="auto">大家好，<br />
我先用blockMesh生成背景网格，椭球体在空气中，地面上方，与空气发生共轭传热，所以我进一步使用snappyhexmesh划分网格，</p>
<pre><code>geometry
{
    target.stl
    {
        type        triSurfaceMesh;
        name        target;
    }    
    
};
</code></pre>
<p dir="auto">对椭球体区域进行加密</p>
<pre><code>
    refinementRegions
    {
            target
            {
                mode inside;
                levels ((1E15 5));               
            }    
    }

    locationInMesh ( 39 39 59 ) ;
</code></pre>
<p dir="auto">我设置了不同的levels ((1E15 0));   levels ((1E15 3));   levels ((1E15 5));<br />
之后使用toposet分别定义物体和地面</p>
<pre><code>    {
        name    target;
        type    cellSet;
        action  new;
        source  surfaceToCell;
        sourceInfo
        {
            file            "constant/triSurface/target.stl";
            outsidePoints   ((39 39 59));    
            includeCut      false;          
            includeInside   true;          
            includeOutside  false;           
            nearDistance    -1;              
            curvature       -100;       
        }
    }    

    {
        name    target;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     target;           // cellSet
    }
</code></pre>
<pre><code>    {
        name    floor;
        type    cellSet;
        action  new;
        source  boxToCell;
        box     (0  0 -2)(41 41 0);
    }

    {
        name    floor;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set     floor;
    }
</code></pre>
<p dir="auto">![替代文字](<img src="/assets/uploads/files/1755595179953-14f41d08-ffa0-4dd7-aec2-928a549ced39-0.png" alt="14f41d08-ffa0-4dd7-aec2-928a549ced39-0.png" class=" img-fluid img-markdown" /> 图片地址)<br />
![替代文字](<img src="/assets/uploads/files/1755595202705-88599b69-cb57-4619-8814-782ef2ff3df4-3.png" alt="88599b69-cb57-4619-8814-782ef2ff3df4-3.png" class=" img-fluid img-markdown" /> 图片地址)<br />
![替代文字](<img src="/assets/uploads/files/1755595242201-9a1ad641-c6b9-421d-9ff8-d4afcf884cb7-5.png" alt="9a1ad641-c6b9-421d-9ff8-d4afcf884cb7-5.png" class=" img-fluid img-markdown" /> 图片地址)</p>
<p dir="auto">随着level增加，网格越接近椭球体，但地面越来越不平整，该如何解决？</p>
<p dir="auto">希望能得到帮助<img src="https://cfd-china.com/assets/plugins/nodebb-plugin-emoji/emoji/customizations/d71fade7-9c10-4219-a886-67cb13a4d2fe-ACE1E3CD6B230530ED45318120C17BF3.gif?v=eedi85amb0g" class="not-responsive emoji emoji-customizations emoji--xiexie" style="height:23px;width:auto;vertical-align:middle" title=":xiexie:" alt=":xiexie:" /></p>
]]></description><link>https://cfd-china.com/topic/8155/chtmultiregionfoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 14:27:54 GMT</lastBuildDate><atom:link href="https://cfd-china.com/topic/8155.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Aug 2025 09:24:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 on Tue, 19 Aug 2025 12:30:16 GMT]]></title><description><![CDATA[<p dir="auto">要把下面那个平面也要包含进去</p>
]]></description><link>https://cfd-china.com/post/44531</link><guid isPermaLink="true">https://cfd-china.com/post/44531</guid><dc:creator><![CDATA[李东岳]]></dc:creator><pubDate>Tue, 19 Aug 2025 12:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 on Tue, 19 Aug 2025 09:39:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://cfd-china.com/uid/1">@李东岳</a> 在 <a href="/post/44529">chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整</a> 中说：</p>
<blockquote>
<p dir="auto">要是很接近地面，就需要局部细化网格，要不就会出现这个问题</p>
</blockquote>
<p dir="auto">也就是说在整个大背景内部，画一个长方体区域进行加密，并能包裹住这个椭球体，是吧？</p>
]]></description><link>https://cfd-china.com/post/44530</link><guid isPermaLink="true">https://cfd-china.com/post/44530</guid><dc:creator><![CDATA[chengan.wang]]></dc:creator><pubDate>Tue, 19 Aug 2025 09:39:45 GMT</pubDate></item><item><title><![CDATA[Reply to chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 on Tue, 19 Aug 2025 09:35:42 GMT]]></title><description><![CDATA[<p dir="auto">要是很接近地面，就需要局部细化网格，要不就会出现这个问题</p>
]]></description><link>https://cfd-china.com/post/44529</link><guid isPermaLink="true">https://cfd-china.com/post/44529</guid><dc:creator><![CDATA[李东岳]]></dc:creator><pubDate>Tue, 19 Aug 2025 09:35:42 GMT</pubDate></item><item><title><![CDATA[Reply to chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 on Tue, 19 Aug 2025 09:34:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://cfd-china.com/uid/1">@李东岳</a> 在 <a href="/post/44527">chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整</a> 中说：</p>
<blockquote>
<p dir="auto">blockMesh细化一下就好了</p>
</blockquote>
<p dir="auto">那这个物体要是很接近地面呢，如果用blockMesh设置背景网格会不会太多了</p>
]]></description><link>https://cfd-china.com/post/44528</link><guid isPermaLink="true">https://cfd-china.com/post/44528</guid><dc:creator><![CDATA[chengan.wang]]></dc:creator><pubDate>Tue, 19 Aug 2025 09:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 on Tue, 19 Aug 2025 09:29:06 GMT]]></title><description><![CDATA[<p dir="auto">blockMesh细化一下就好了</p>
]]></description><link>https://cfd-china.com/post/44527</link><guid isPermaLink="true">https://cfd-china.com/post/44527</guid><dc:creator><![CDATA[李东岳]]></dc:creator><pubDate>Tue, 19 Aug 2025 09:29:06 GMT</pubDate></item></channel></rss>