CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to make three cellzones with topoSet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2021, 10:24
Default How to make three cellzones with topoSet
  #1
New Member
 
Hiroaki Sumikawa
Join Date: Jul 2018
Posts: 9
Rep Power: 7
Hiroaki Sumikawa is on a distinguished road
Hello everyone.

I want to create a cellZone such that there is cellZone C1 in cellZone C0 and a cellZone C2 in C1 as shown in Figure 1.

I tried to use tutorial case "twoSimpleRotors" as a reference, but it didn't work.
C1 and C2 cannot be separated and are stuck together.

Below is a topoSetDict that did not work


topoSetDict
**************************************

actions
(
{
name c0;
type cellSet;
action new;
source regionToCell;
sourceInfo
{
insidePoints ((-1.7 0.001 0.001)); // inside points in C0.
}
}
{
name c1;
type cellSet;
action new;
source cellToCell;
sourceInfo
{
set c0;
}
}
{
name c1;
type cellSet;
action invert;
}
{
name c2;
type cellSet;
action new;
source regionToCell;
sourceInfo
{
insidePoints ((0.25 0.001 0.1)); //inside points in C2.
set c1;
}
}
{
name c1;
type cellSet;
action deleate;
source cellToCell;
sourceInfo
{
set c2;
}
}
}


*****************************

I use OpenFOAM v1806.
An inside point in c1 is (-0.6 0.001 0.001).


I am wondering if anyone has any reference materials or solutions.

Thank you.
Attached Images
File Type: jpg fig1.jpg (199.6 KB, 24 views)
Hiroaki Sumikawa is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Error: topoSet – create patch from .stl – searchableSurfaceToFaceZone carl_r OpenFOAM Meshing & Mesh Conversion 1 November 18, 2022 17:06
[mesh manipulation] TopoSet and setSet is showing different result. sunagra27 OpenFOAM Meshing & Mesh Conversion 0 May 10, 2021 10:59
bug : topoSet STOP RESPONDING while trying to make cellzones near to a surface. sk11 OpenFOAM Bugs 0 March 1, 2021 11:49
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 11:51


All times are GMT -4. The time now is 00:43.