CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] How does fieldToCell work in TopoSet?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2021, 00:41
Default How does fieldToCell work in TopoSet?
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Dear All,

I am working on chtMultiRegionSimpleFoam heat transfer problem. First, I have two regions. Out of which one region named gland is a surface where external temperature parameters are implemented. The temperature consists of zeros and variables. Say our of 1000 faces, 600 are zero temp and 400 are variable temperature.

Now, I need to change the BC of this 600 zero temperature. I am trying to use fieldToCell in TopoSet to get faces of these 600 zero temperature and convert into patch using splitMesh.

But, I am confused in using fieldToCell. I applied like below.

name field1;
type cellSet;
action new;
source fieldToCell;
field T;
min 0;
max 0;

But when I run topoSet, it shows as:

Cannot read field T from time 0
cellSet field1 now size 0

My question is.

1. Where does the toposet collects this fieldData so that it can create the CellSet.
2. I have a temperature file externally which 0 temp and variable temp. How to use this here?

Any leads will be appreciated.

Sunag R A.
sunagra27 is offline   Reply With Quote


createpatch, field, patch, splitmesh, toposet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[mesh manipulation] TopoSet cellset is not deleting from stl cellZone sunagra27 OpenFOAM Meshing & Mesh Conversion 0 March 9, 2021 02:50
bug : topoSet STOP RESPONDING while trying to make cellzones near to a surface. sk11 OpenFOAM Bugs 0 March 1, 2021 12:49
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 05:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 11:53
Do all CFD analysts have to do some hands-on work except PhDs? e13drd Main CFD Forum 2 March 17, 2014 15:56

All times are GMT -4. The time now is 10:12.