CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] cellSetDict shapeToCell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2011, 11:52
Default cellSetDict shapeToCell
  #1
New Member
 
T Somerville
Join Date: May 2009
Posts: 10
Rep Power: 16
wavytracy is on a distinguished road
Hi

I need to block out a wedge shaped area from my mesh. I had been using the cellSet utility to block out boxes using the following code in cellSetDict

boxToCell
{
box (19.77 0 0.46) (19.82 0.01 0.5);
}

but now I wish to block out a wedge shaped area rather than a box.

How do I find out the usage of shapeToCell? I have looked at shapeToCell.C which gives me the impression it should go something like this...

shapeToCell
{
wedge (19.00 0 -0.15) (19.18 0.01 0.5);
}

but I get the error message:

keyword type is undefined in dictionary "/home/tracy/OpenFOAM/tracy-1.5/run/interFoam/OWC/MorrisThomas/B/triL2A031/system/cellSetDict::topoSetSources"

file: /home/tracy/OpenFOAM/tracy-1.5/run/interFoam/OWC/MorrisThomas/B/triL2A031/system/cellSetDict::topoSetSources from line 51 to line 51.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

FOAM exiting

Help please?

Thank you.
wavytracy is offline   Reply With Quote

Reply

Tags
cellset, cellsetdict, mesh


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
shapetoCell in topoSet shengqiming OpenFOAM Pre-Processing 6 July 5, 2023 10:27
Nonuniform initial condition using cellSetDict rinao OpenFOAM Running, Solving & CFD 6 January 9, 2013 00:42
how to generate cylinder field in cellSetDict? Teemo OpenFOAM 6 July 17, 2012 10:17


All times are GMT -4. The time now is 11:19.